This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Compiling Nedit 5.1.1 with B20.1

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.


On Thu, Jun 29, 2000 at 11:04:20PM -0700, Kenneth K. Lee wrote:
>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
>gcc -O -I/usr/X11R6.4/include -DDONT_HAVE_GLOB -DCYGWIN -DUSE_DIRENT 
>RINT_CMD nedit.o file.o menu.o window.o selection.o search.o undo.o shift.o 
>.o preferences.o tags.o userCmds.o shell.o regularExp.o macro.o text.o 
>textDisp.o textBuf.o textDrag.o server.o highlight.o highlightData.o 
>o parse.o smartIndent.o regexConvert.o ../util/libNUtil.a -L/usr/X11R6.4/lib 
>-lXm -lXpm -lXext -lXt -lSM -lICE -lX11 -o nedit
>/usr/X11R6.4/lib/libXm.a(RepType.o)(.text+0x116):RepType.c: undefined 
>to `_ctype_'
>/usr/X11R6.4/lib/libXm.a(RepType.o)(.text+0x12b):RepType.c: undefined 
>to `_ctype_'
>/usr/X11R6.4/lib/libXm.a(RepType.o)(.text+0x648):RepType.c: undefined 
>to `_ctype_'
>/usr/X11R6.4/lib/libXm.a(ResConvert.o)(.text+0x145d):ResConvert.c: undefined 
>erence to `_ctype_'
>/usr/X11R6.4/lib/libXm.a(ResConvert.o)(.text+0x1478):ResConvert.c: undefined 
>erence to `_ctype_'
>/usr/X11R6.4/lib/libXm.a(ResConvert.o)(.text+0x1490):ResConvert.c: more 
>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 
>to link properly?
>Thanks in advance.
>Kenneth Lee

Want to unsubscribe from this list?
Send a message to

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]