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 sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <20010812040533.68195.qmail@web13802.mail.yahoo.com> Date: Sun, 12 Aug 2001 14:05:33 +1000 (EST) From: =?iso-8859-1?q?Alec=20Clews?= Reply-To: alecclews AT yahoo DOT com Subject: ld error linking ghostscript To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit G'Day, I am have installed the XFree for Cygwin and I'm trying to compile Ghostview. All goes well (if you follow the instructions at http://www.hirmke.de/software/develop/gnuwin32/cygwin/porters/various/ghostview-1.5.README )until the link stage when I get the following error gcc -o ghostview.exe -O2 -fno-strength-reduce -L/usr/X11R6/lib main.o misc. o callbacks.o actions.o dialogs.o Ghostview.o ps.o getenv.o se tenv.o strcasecmp.o SelFile.o Dir.o Path.o Draw.o -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -lm misc.o(.text+0x19cc):misc.c: undefined reference to `sys_errlist' misc.o(.text+0x1a48):misc.c: undefined reference to `sys_nerr' misc.o(.text+0x1ca1):misc.c: undefined reference to `sys_errlist' misc.o(.text+0x1d1d):misc.c: undefined reference to `sys_nerr' SelFile.o(.text+0x112c):SelFile.c: undefined reference to `sys_nerr' SelFile.o(.text+0x1180):SelFile.c: undefined reference to `sys_errlist' collect2: ld returned 1 exit status make: *** [ghostview.exe] Error 1 Now libm and libc should satisfy this I think, I have also tried to link with libcygwin, bit it makes no difference. Anyone know what the right libraries are please? Thanks ===== --- Alec Clews, , Consultant Merant, Australia Voice +61-(3)9522-4441 http://www.merant.com/ Fax +61-(3)8621-6920 Private: http://www.geocities.com/alecclews/ _____________________________________________________________________________ http://shopping.yahoo.com.au - Father's Day Shopping - Find the perfect gift for your Dad for Father's Day -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/