This is the mail archive of the 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]

ld error linking ghostscript


I am have installed the XFree for Cygwin and I'm trying to compile
Ghostview. All goes well (if you follow the instructions at
)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?


Alec Clews, <>, Consultant       Merant, Australia
Voice +61-(3)9522-4441                  
Fax   +61-(3)8621-6920    
Private: <>

_____________________________________________________________________________ - Father's Day Shopping
- Find the perfect gift for your Dad for Father's Day

Unsubscribe info:
Bug reporting:

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