Looking for help applying patch to NEdit
Tony Balinski
ajbj at free.fr
Wed Nov 21 02:23:42 CET 2007
Quoting "Paterline, David L." <paterldl at westinghouse.com>:
> 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'
Hmmm. I expect the __ctype_... stuff is the static data used by the <ctype.h>
"functions" (toupper, isascii etc). These can be implemented as macros, or
maybe as inline functions; I expect that's what's happening here, and that the
linker cannot find this data reference. I would have thought this should be in
the standard C library (libc.so). Pretty fundamental!
Did you make sure all object files and archives were removed from your nedit
tree (ie did you run "make clean")? Does the unpatched nedit source tree build
properly?
Tony
More information about the Discuss
mailing list