Xymon Mailing List Archive search

Compile problems

list Paul D. Backer
Tue, 19 Apr 2005 16:00:07 -0500
Message-Id: <1113944405.13574.17.camel@laie>

I have hobbit 4.0.2 compiled and running on Solaris 10 with the following patches:

hobbit-4.0.2-setup.patch
hobbit-4.0.2-acknowledge.patch

If I try and apply this patch:

hobbit-4.0.2-maintenance-feature-v2.patch

I then get the follow compile error:

gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DSunOS -DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I. -I/opt/hobbit/hobbit-4.0.2/include -DHOBBITD=1 -c -o bb-webpage.o bb-webpage.c
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DSunOS -DMAXMSG=32768 -DBBDPORTNUMBER=1984 -I. -I/opt/hobbit/hobbit-4.0.2/include -DHOBBITD=1 -o bb-webpage bb-webpage.o ../lib/libbbgen.a -L/opt/sfw/lib -lpcre
Undefined                       first referenced
 symbol                             in file
recv                                ../lib/libbbgen.a(sendmsg.o)
getservbyname                       ../lib/libbbgen.a(sendmsg.o)
gethostbyname                       ../lib/libbbgen.a(sendmsg.o)
socket                              ../lib/libbbgen.a(sendmsg.o)
getsockopt                          ../lib/libbbgen.a(sendmsg.o)
connect                             ../lib/libbbgen.a(sendmsg.o)
inet_aton                           ../lib/libbbgen.a(sendmsg.o)
inet_ntoa                           ../lib/libbbgen.a(sendmsg.o)
shutdown                            ../lib/libbbgen.a(sendmsg.o)
ld: fatal: Symbol referencing errors. No output written to bb-webpage
collect2: ld returned 1 exit status
gmake[1]: *** [bb-webpage] Error 1
gmake[1]: Leaving directory `/opt/hobbit/hobbit-4.0.2/bbdisplay'
gmake: *** [bbdisplay-build] Error 2


I use /opt/sfw/bin/patch to apply patches with no error.  I use /opt/sfw/bin/gmake and /opt/sfw/bin/gcc for the compile.

I had maintenance-feature.patch installed and compiled at on time but started from scratch to install the maintenance-feature-v2.patch.


Thanks,

Paul