Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: Chris Faylor Date: Fri, 30 Jun 2000 09:59:35 -0400 To: cygwin AT sourceware DOT cygnus DOT com Subject: Re: Compiling Nedit 5.1.1 with B20.1 Message-ID: <20000630095934.A1947@cygnus.com> Reply-To: cygwin AT sourceware DOT cygnus DOT com Mail-Followup-To: cygwin AT sourceware DOT cygnus DOT com References: <20000630060420 DOT 96034 DOT qmail AT hotmail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000630060420.96034.qmail@hotmail.com>; from kenl328@hotmail.com on Thu, Jun 29, 2000 at 11:04:20PM -0700 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 AT sourceware DOT cygnus DOT com