This is the mail archive of the cygwin@sourceware.cygnus.com 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]

Compiling Nedit 5.1.1 with B20.1


You are using X11R6 which is incompatible with B20.1.
Consider using Cygwin 1.1.x (latest) and the latest
X11R6 development tools from http://sourceware.cygnus.com/cygwin/xfree

Suhaib


------------------
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


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