Subject: Re: problems compiling for virtual servers IRIX 6.4

From: Paul Baughman <[email-masked]>
Date: Thu, 06 May 1999 15:02:55 -0400

Gregory A Lundberg wrote:
> 
> I'd suggest you start here:
>   ftp://ftp.gnu.org/gnu/gcc/gcc-2.8.1.tar.gz
> 

Hi all,

I've installed the pre-built binary for gcc-2.8.1 from freeware.sgi.com,
and I'm still having the same problem.  

When I build normally with "./build CC=/usr/freeware/bin/gcc sgi" I get
only warnings:  "ld: WARNING 84: ../support/libsupport.a is not used for
resolving any symbol."

When I build it with the -DVIRTUAL flag as explained in
VIRTUAL.FTP.SUPPORT distributed with the source, I get fatal errors. 

NOTES:
error 1:  there *is* authuser.h in support
errors 2 & 3:  how can I tell *which* file or directory it is
complaining about?

./build CC=/usr/freeware/bin/gcc CFLAGS="-DVIRTUAL" sgi
(...good builds deleted...)

        /usr/freeware/bin/gcc -DVIRTUAL -c authenticate.c
authenticate.c:38: support/authuser.h: No such file or directory
*** Error code 1 (bu21)

Making ftpcount.
        /usr/freeware/bin/gcc -DVIRTUAL -o ftpcount ftpcount.c vers.o
-lsupport
ld: FATAL 9: I/O error (-lsupport): No such file or directory
*** Error code 1 (bu21)

Making ftpshut.
        /usr/freeware/bin/gcc -DVIRTUAL -o ftpshut ftpshut.c vers.o
-lsupport
ld: FATAL 9: I/O error (-lsupport): No such file or directory
*** Error code 1 (bu21)

Making ckconfig.
        /usr/freeware/bin/gcc -DVIRTUAL -o ckconfig ckconfig.c

Links to executables are in bin directory:
---------------

Any help would be appreciated.

Paul Baughman
SRT Enterprises