delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/08/12/00:06:23

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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?= <alecclews AT yahoo DOT com>
Reply-To: alecclews AT yahoo DOT com
Subject: ld error linking ghostscript
To: cygwin AT cygwin DOT com
MIME-Version: 1.0

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 DOT clews AT merant DOT com>, Consultant       Merant, Australia
Voice +61-(3)9522-4441                            http://www.merant.com/
Fax   +61-(3)8621-6920    
Private: <alecclews AT yahoo DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019