Subject: [871] RE: [867] Problems compiling WU-FTPD 2.4 on a Sun

From: Michael Brennen <[email-masked]>
Date: Thu, 08 Dec 1994 11:29:21 -0800 (PST)

The linker is looking for the file /lib/libgcc.a, and you must not have it or 
it is under a different name.  Try /lib/libgnu.a or /lib/gnulib.a; if one of 
these is there make a link to it in /lib called 'libgcc.a'.

Home this helps...  if not, when asking for additional help send the contents 
of /lib (or wherever the linker looks for its link libraries).

>I am trying to compile WU-FTPD-2.4 on Sparc 10 with SunOS 4.1.3.  I am using 
GNU 2.5.8.
>I get the following errors when I try "build s41":
>build s41
>make args are : 
>make opts are : 
> 
>Linking Makefiles.
>ln: Makefile: File exists
>ln: config.h: File exists
>ln: Makefile: File exists
> 
>Making support library.
>rm -f libsupport.a
>ar cq libsupport.a fnmatch.o strcasestr.o strerror.o strsep.o authuser.o 
syslog.o
>ranlib libsupport.a
> 
>Making ftpd.
>gcc -g -DDEBUG -I.. -I../support -L../support -o ftpd ftpd.o ftpcmd.o glob.o 
logwtmp.o popen.o vers.o access.o extensions.o  realpath.o acl.o private.o 
authenticate.o conversions.o hostacc.o -lsupport
>ld: -lgcc: No such file or directory
>collect2: ld returned 4 exit status
>*** Error code 1
>make: Fatal error: Command failed for target `ftpd'
> 
>Making ftpcount.
>gcc -g -DDEBUG -I.. -I../support -L../support -o ftpcount ftpcount.c vers.o 
-lsupport
>ld: -lgcc: No such file or directory
>collect2: ld returned 4 exit status
>*** Error code 1
>make: Fatal error: Command failed for target `ftpcount'
> 
>Making ftpshut.
>gcc -g -DDEBUG -I.. -I../support -L../support -o ftpshut ftpshut.c vers.o 
-lsupport
>ld: -lgcc: No such file or directory
>collect2: ld returned 4 exit status
>*** Error code 1
>make: Fatal error: Command failed for target `ftpshut'
> 
>Making ckconfig.
>`ckconfig' is up to date.
>ln: ckconfig: File exists
> 
>Links to executables are in bin directory:
>size: bin/ftpd not found
>size: bin/ftpcount not found
>size: bin/ftpshut not found
>size: bin/ftpwho not found
>text    data    bss     dec     hex
>8192    8192    0       16384   4000    bin/ckconfig
>Done
>
>
>     Thank you 
>                                        
>     Italo Melotti                                                            
  
>     Consultant - Communications Services                                     
  
>     Bell Sygma                                                               
  
>     Room 127; 200 Bouchard; Dorval, Quibec; H9S 1A8                          
  
>     Phone: (514)391-7693     Fax: (514)391-2383
>     INTERNET: [email-masked]                     
>
>
>            TO BOLDLY GO, WHERE NO MAN HAS GONE BEFORE                        
  
>             __________________           __                                  
  
>             \_________________&)____.---'--`---.____                         
  
>                           &&    \----.________.----/                         
  
>                         __&&____/ /_    `--'                                 
  
>                        &___         \                                        
  
>                            `--------'                                        

---------------
Michael Brennen                    Intecom, Inc.
[email-masked]               5057 Keller Springs
(214) 447-8074                     Dallas,  TX  75248