BB Unix Network Monitor - Message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: {bb} Issues compiling Big Brother on solaris 7 machine...



On Thu, 2006-10-12 at 21:40, Todd Seidenberg wrote:
> Hi, 
>  
> I'm not getting this problem on ANY OTHER solaris 7 machine that I have,
> so I'm a little puzzled. 
>  
> I get the following output, when doing a 'make' : 
>  
>  
> #################################
> # 
> make         
> Making solaris makefile
> BBOS="solaris" CC="gcc" CFLAGS=" -Dsolaris -O -DBZERO -DGETTIMEOFDAY
> -DREGEXEC" LIBS="-ll -lnsl -lsocket -lkstat" make -e bball
> gcc  -Dsolaris -O -DBZERO -DGETTIMEOFDAY -DREGEXEC
> `./minimake/genbbdefs` -g -o bb.o -c bb.c
> gcc  -Dsolaris -O -DBZERO -DGETTIMEOFDAY -DREGEXEC
> `./minimake/genbbdefs` -g -o bbsend.o -c bbsend.c
> gcc  -Dsolaris -O -DBZERO -DGETTIMEOFDAY -DREGEXEC
> `./minimake/genbbdefs` -g -o utils.o -c utils.c
> gcc  -Dsolaris -O -DBZERO -DGETTIMEOFDAY -DREGEXEC
> `./minimake/genbbdefs` -g -o ../bin.`./minimake/bbmachine OS`/bb bb.o
> bbsend.o utils.o -ll -lnsl -lsocket -lkstat
> Undefined                       first referenced
>  symbol                             in file
> __inet_addr                         bbsend.o
> ld: fatal: Symbol referencing errors. No output written to
> ../bin.solaris5.7/bb
> collect2: ld returned 1 exit status
> *** Error code 1
> make: Fatal error: Command failed for target `bb'
> Current working directory /opt/bbc1.9i-btf/src
> *** Error code 1
> make: Fatal error: Command failed for target `all'
> Current working directory /opt/bbc1.9i-btf/src
> *** Error code 1
> make: Fatal error: Command failed for target `all'
> # 
> #####################################
> 
> Any thoughts on this? Again, I am not having this issue on any other
> solaris 7 machine. 

Odd.

Normally, this is caused by forgetting the bbconfig step in the
install, but not in this case. Maybe this machine has some library
confusion or even a corrupt one. Is it doing anything else weird?

Anyway, the quick solution is not to bother installing at all. As
long as you have other Solaris 7 machines (similarly patched and
on the same hardware), just install and compile on one. You can
then tar the client up and copy it to the others. My guess is that
this machine might still complain, but it will be a different error
which would probably be helpful.

Cheers, Phil.



-- 
To invent, you need a good imagination and a pile of junk.
(Thomas Edison)

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.


Home | Main Index | Thread Index