* ld error linking ghostscript
@ 2001-08-11 21:05 Alec Clews
0 siblings, 0 replies; only message in thread
From: Alec Clews @ 2001-08-11 21:05 UTC (permalink / raw)
To: cygwin
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/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-08-11 21:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-11 21:05 ld error linking ghostscript Alec Clews
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).