Do you know which version of gcc was used ?

I had a similar trouble compiling some programs under solaris 8 with gcc
3.0. It complained about unreferenced symbols. However, compiling with gcc
2.95.2 it compiled cleanly, even without any warning messages.


----- Original Message -----
From: "Darren Reed" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, April 28, 2002 12:33 AM
Subject: SunOS 5.8 Generic compile fails IPFILTERS 3.4.26? (fwd)


>
> Does anyone know if this problem is solvable with code (combination of
> #ifdef's, etc) ?  It seems to keep popping up and isn't a problem if
> you are using the SUNWspro cc - or at least not that I've noticed :)
>
> > gcc -m32 -g -I../..  -DSOLARIS2=8  -DIPFILTER_LOG ./fils.o ./parse.o
> > ../kmem.o ./opt.o  ./inet_addr.o ./facpri.o ./common.o ./printstate.o -o
> > ipfstat -lsocket -lnsl -lelf -lcurses -lkvm
> > Undefined                       first referenced
> >  symbol                             in file
> > wattr_off                           ./fils.o
> > wattr_on                            ./fils.o
> > ld: fatal: Symbol referencing errors. No output written to ipfstat
> > collect2: ld returned 1 exit status
> > *** Error code 1
> > make: Fatal error: Command failed for target `ipfstat'
> > Current working directory /home/root/ip_fil3.4.26/SunOS5/sparc-5.8
> > *** Error code 1
> > make: Fatal error: Command failed for target `sunos5'
> > Current working directory /home/root/ip_fil3.4.26
> > make: *** [solaris] Error 1
> > (bash) root@coreos:~/ip_fil3.4.26 #
> >
>

Reply via email to