Looking for help applying patch to NEdit

Paterline, David L. paterldl at westinghouse.com
Tue Nov 20 20:48:55 CET 2007


Hello all -

I was successful recently rebuilding NEdit 5.5 with the T. K. Soh
toolbar patch on HP-UX. However, I am now having a problem trying to
rebuild it on Linux (SLES90). I don't think these problems have anything
to do with the patch per se, but here are the link errors I am getting.
I hope someone can provide me some help in addressing the errors. Thanks
in advance.

/usr/X11R6/lib/libXm.a(ResConvert.o)(.text+0x5c6): In function
`XmeNamesAreEqual':
: undefined reference to `__ctype_b'
/usr/X11R6/lib/libXm.a(ResConvert.o)(.text+0x5cc): In function
`XmeNamesAreEqual':
: undefined reference to `__ctype_tolower'
/usr/X11R6/lib/libXm.a(ResConvert.o)(.text+0xdc0): In function
`GetFontName':
: undefined reference to `__ctype_b'
/usr/X11R6/lib/libXm.a(ResConvert.o)(.text+0xde5): In function
`GetFontName':
: undefined reference to `__ctype_b'
/usr/X11R6/lib/libXm.a(ResConvert.o)(.text+0xec7): In function
`GetFontTag':
: undefined reference to `__ctype_b'
/usr/X11R6/lib/libXm.a(ResConvert.o)(.text+0xee9): In function
`GetFontTag':
: undefined reference to `__ctype_b'
/usr/X11R6/lib/libXm.a(ResConvert.o)(.text+0xf7d): In function
`GetFontTag':
: undefined reference to `__ctype_b'
/usr/X11R6/lib/libXm.a(ResConvert.o)(.text+0xf9b): more undefined
references to `__ctype_b' follow
/usr/X11R6/lib/libXm.a(RepType.o)(.text+0x11a): In function
`CopyStringArray':
: undefined reference to `__ctype_toupper'
/usr/X11R6/lib/libXm.a(RepType.o)(.text+0xb33): In function
`_XmConvertActionParamToRepTypeId':
: undefined reference to `__ctype_b'
/usr/X11R6/lib/libXm.a(RepType.o)(.text+0xb54): In function
`_XmConvertActionParamToRepTypeId':
: undefined reference to `__ctype_b'
/usr/X11R6/lib/libXm.a(XmRenderT.o)(.text+0x3618): In function
`ReadToken':
: undefined reference to `__ctype_b'
/usr/X11R6/lib/libXm.a(Xpmdata.o)(.text+0x496): In function
`_XmxpmNextWord':
: undefined reference to `__ctype_b'
/usr/X11R6/lib/libXm.a(Xpmdata.o)(.text+0x4cf): In function
`_XmxpmNextWord':
: undefined reference to `__ctype_b'
/usr/X11R6/lib/libXm.a(Xpmdata.o)(.text+0x514): more undefined
references to `__ctype_b' follow
collect2: ld returned 1 exit status

-
David L. Paterline
Principal Engineer       
Westinghouse Electric Company
Nuclear Fuel Engineering
Engineering Computing
paterldl at westinghouse.com   
PH: 412-374-2286
FX: 412-374-2284


-----Original Message-----
From: discuss-bounces at nedit.org [mailto:discuss-bounces at nedit.org] On
Behalf Of Tony Balinski
Sent: Wednesday, August 01, 2007 8:26 PM
To: General NEdit discussion list
Subject: Re: Looking for help applying patch to NEdit

Quoting Bert Wesarg <wesarg at informatik.uni-halle.de>:

> Hello
> > Hello -
> >
> > I'm trying to apply the T. K. Soh toolbar patch to Nedit 5.5 source
code,
> > and am having a problem understanding how to do this. This is the
first
> > time
> > I've tried to apply a patch, so please excuse my ignorance.
> >
> > I've downloaded the Nedit source code nedit-5.5-src.tar.Z and
> > uncompressed/untarred it into a directory called "nedit-5.5" and
compiled
> > and built the downloaded version on an HP-UX 11.11 workstation.
> >
> > Then, I downloaded the patch file nedit-toolbar-patch-v1.0b.txt.gz
from
> > sourceforge, and unzipped the file. When I tried to apply the patch,
all
> I
> > got was what I guess is an error message:
> >
> >     [14:58 ./nedit-5.5 ] patch -p1 < nedit-toolbar-patch-v1.0b.txt
> >     Hmm...  I can't seem to find a patch in there anywhere.
> Looks like the HP-UX patch(1) don't understand the unified diff
format.
> you can try to install a patch programm that understand this format.
>
> Bert Wesarg

You can actually do the patching by hand. The format of the unified diff
(an improved version of context diff) is easy to follow, and the patch
isn't that big; but you'll have to create the files toolbar.[ch].

Tony
-- 
NEdit Discuss mailing list - Discuss at nedit.org
http://www.nedit.org/mailman/listinfo/discuss


More information about the Discuss mailing list