Compile problems
Paul D. Backer
pauldb1 at cotepe.carenet.org
Tue Apr 19 23:00:07 CEST 2005
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile
Type: text/x-makefile
Size: 1613 bytes
Desc: not available
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20050419/ea793477/attachment.bin>
More information about the Xymon
mailing list