Compiling Nedit 5.1.1 with B20.1

Chris Faylor cgf@cygnus.com
Fri Jun 30 06:59:00 GMT 2000


You are not using a B20.1 DLL.  You are apparently using a later version.
The libXm.a file is intended for an older version of Cygwin.

I'd suggest upgrading your cygwin DLL package and either recompiling
your X libraries or retrieving ones that are intended to be used with
newer cygwin versions.

If this is not clear, search the email archives of both the cygwin-xfree
and cygwin mailing lists where this subject has been discussed ad nauseum.

cgf

On Thu, Jun 29, 2000 at 11:04:20PM -0700, Kenneth K. Lee wrote:
>Hi,
>
>I am trying to compile Nedit 5.1.1 with Cygwin B20.1 and
>have a question for the wonderful development group of cygwin.
>
>I am getting the following error and do not know how to solve the
>problem:
>
>gcc -O -I/usr/X11R6.4/include -DDONT_HAVE_GLOB -DCYGWIN -DUSE_DIRENT 
>-DUSE_LPR_P
>RINT_CMD nedit.o file.o menu.o window.o selection.o search.o undo.o shift.o 
>help
>.o preferences.o tags.o userCmds.o shell.o regularExp.o macro.o text.o 
>textSel.o
>textDisp.o textBuf.o textDrag.o server.o highlight.o highlightData.o 
>interpret.
>o parse.o smartIndent.o regexConvert.o ../util/libNUtil.a -L/usr/X11R6.4/lib 
>-lm
>-lXm -lXpm -lXext -lXt -lSM -lICE -lX11 -o nedit
>/usr/X11R6.4/lib/libXm.a(RepType.o)(.text+0x116):RepType.c: undefined 
>reference
>to `_ctype_'
>/usr/X11R6.4/lib/libXm.a(RepType.o)(.text+0x12b):RepType.c: undefined 
>reference
>to `_ctype_'
>/usr/X11R6.4/lib/libXm.a(RepType.o)(.text+0x648):RepType.c: undefined 
>reference
>to `_ctype_'
>/usr/X11R6.4/lib/libXm.a(ResConvert.o)(.text+0x145d):ResConvert.c: undefined 
>ref
>erence to `_ctype_'
>/usr/X11R6.4/lib/libXm.a(ResConvert.o)(.text+0x1478):ResConvert.c: undefined 
>ref
>erence to `_ctype_'
>/usr/X11R6.4/lib/libXm.a(ResConvert.o)(.text+0x1490):ResConvert.c: more 
>undefine
>d references to `_ctype_' follow
>collect2: ld returned 1 exit status
>make[1]: *** [nedit] Error 1
>rm parse.c
>make[1]: Leaving directory `/usr/local/nedit-5.1.1/source'
>make: *** [cygwin] Error 2
>
>Can you tell me why _ctype_ is missing? Do I have to use a special compiler 
>flag
>to link properly?
>
>Thanks in advance.
>
>Kenneth Lee

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list