This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
ld error linking ghostscript
- To: cygwin at cygwin dot com
- Subject: ld error linking ghostscript
- From: Alec Clews <alecclews at yahoo dot com>
- Date: Sun, 12 Aug 2001 14:05:33 +1000 (EST)
- Reply-To: alecclews at yahoo dot com
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, <alec.clews@merant.com>, Consultant Merant, Australia
Voice +61-(3)9522-4441 http://www.merant.com/
Fax +61-(3)8621-6920
Private: <alecclews@yahoo.com> 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/