[hobbit] New enable/disable tool ready for testing
If I start from scratch i.e. from hobbit-4.0.2.tar.gz. Which patches and in which order shall I apply.
Regards
Lars
Hobbithobbyist
"If you run UNIX and you don't have a UPS, you should see a psychiatrist...." --Byte Magazine (years ago)
On Sun, Apr 17, 2005 at 11:46:07AM +0200, lars ebeling wrote:
If I start from scratch i.e. from hobbit-4.0.2.tar.gz. Which patches and in which order shall I apply.
- hobbit-4.0.2-setup.patch
- hobbit-4.0.2-acknowledge.patch
- maintenance-feature-v2.patch
The first two are available at http://www.hswn.dk/hobbitsw/, the last one at http://www.hswn.dk/beta/
Regards, Henrik
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
On Tue, Apr 19, 2005 at 04:00:07PM -0500, Paul D. Backer wrote:
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)
There's a missing "$(NETLIBS)" in the bbdisplay/Makefile entry for bb-webpage.
Around line 67 or so of bbdisplay/Makefile you'll find this:
bb-webpage: $(WEBPAGEOBJS) ../lib/libbbgen.a $(CC) $(CFLAGS) -o $@ $(WEBPAGEOBJS) ../lib/libbbgen.a $(PCRELIBS)
Just add $(NETLIBS) after the $(PCRELIBS), like it is on the other lines around there.
Regards, Henrik
participants (3)
-
dhd733@yahoo.se
-
henrik@hswn.dk
-
pauldb1@cotepe.carenet.org