
Trouble compiling 5.004_04
I'm having trouble compiling perl 5.004_04. Well to be exact the Configure
script gives up. Here's the problem:
Checking your choice of C compiler, libs, and flags for coherency...
I've tried to compile and run a simple program with:
cc -O2 -Dbool=char -DHAS_BOOL -I/usr/local/include -L/usr/local/lib -o try try.c -ln
et -lnsl -lgdbm -ldb -ldl -lm -lc -lposix -lcrypt
./try
and I got the following output:
/usr/lib/libnet.so: undefined reference to `threadedAccept'
/usr/lib/libnet.so: undefined reference to `makeJavaString'
/usr/lib/libnet.so: undefined reference to `threadedWrite'
/usr/lib/libnet.so: undefined reference to `AllocArray'
/usr/lib/libnet.so: undefined reference to `threadedConnect'
/usr/lib/libnet.so: undefined reference to `threadedRecvfrom'
/usr/lib/libnet.so: undefined reference to `AllocObjectArray'
/usr/lib/libnet.so: undefined reference to `javaString2CString'
/usr/lib/libnet.so: undefined reference to `SignalError'
/usr/lib/libnet.so: undefined reference to `threadedSocket'
/usr/lib/libnet.so: undefined reference to `AllocObject'
/usr/lib/libnet.so: undefined reference to `threadedRead'
I can't compile the test program.
(The supplied flags might be incorrect with this C compiler.)
You have a BIG problem. Shall I abort Configure (and explain the problem)
[y]
Ok. Stopping Configure.
So what are the right flags? (This was generated with Configure -d) If I remove
-lnet will this solve my problem? Will perl be adversly affected if I take out -lnet?
What's the best way to fix this? Thanks in advance.
Brian
--
Brian Springstead | ...My words but a whisper - your deafness a SHOUT. I may
Tull fan | make you feel but I can't make you think. Your {*filter*}'s in