On Wed, Feb 23, 2005 at 09:24:30PM, Asif Iqbal wrote:
On Thu, Feb 24, 2005 at 12:19:09AM, Henrik Stoerner wrote:
is available at http://www.hswn.dk/beta/post-RC3.patch
[...]
To install the patch, do:
cd hobbit-4.0-RC3
patch -p0 </tmp/post-RC3.patch
rm Makefile
./configure
make
su -c "make install"
May be another silly error :-) . This is what I get while trying to
compile
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DMAXMSG=32768
-DBBDPORTNUMBER=1984 -I. -I/usr/share/src/hobbit-4.0-RC3/include -o
hobbit-mailack hobbit-mailack.o ../lib/libbbgen.a -L/usr/local/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
hobbit-mailack
collect2: ld returned 1 exit status
make[1]: *** [hobbit-mailack] Error 1
make[1]: Leaving directory `/usr/share/src/hobbit-4.0-RC3/hobbitd'
make: *** [hobbitd-build] Error 2
I did a 'man getservbyname' and found out I needed to use -lsocket
-lnsl. I added next to -lpcre in the Makefile and my error message
shrinked to this
gcc -g -O2 -Wall -Wno-unused -D_REENTRANT -DHAVE_RPCENT -DMAXMSG=32768
-DBBDPORTNUMBER=1984 -I. -I/usr/share/src/hobbit-4.0-RC3/include -o
hobbit-mailack hobbit-mailack.o ../lib/libbbgen.a -L/usr/local/lib
-lpcre -lsocket -lnsl
Undefined first referenced
symbol in file
inet_aton ../lib/libbbgen.a(sendmsg.o)
ld: fatal: Symbol referencing errors. No output written to
hobbit-mailack
collect2: ld returned 1 exit status
make[1]: *** [hobbit-mailack] Error 1
make[1]: Leaving directory `/usr/share/src/hobbit-4.0-RC3/hobbitd'
make: *** [hobbitd-build] Error 2
Now I did a 'man inet' which also recommeds the socket and nsl library
but no go yet.
Let me know if I can go any further.
Thanks
--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
"It is not the strongest of the species that survives, not the most intelligent, but
the one most responsive to change." - Charles Darwin