Hi there,
I'm trying to compile javawn on a Debian-Linux Box.
After editing the Makefile I run "make":
g++ -Wall -fno-gnu-linker -c CSynset.cpp -I
/usr/java/include -I /usr/java/include/linux -I
/opt/WordNet-1.7.1/include
g++ -Wall -fno-gnu-linker -c CIndex.cpp -I
/usr/java/include -I /usr/java/include/linux -I
/opt/WordNet-1.7.1/include
g++ -Wall -fno-gnu-linker -c CSenseIndex.cpp -I
/usr/java/include -I /usr/java/include/linux -I
/opt/WordNet-1.7.1/include
g++ CSynset.o CIndex.o CSenseIndex.o -fnu-gnu-linker
-L//opt/WordNet-1.7.1/src/lib -Wall -lwn -o libwnjni.so
/usr/lib/crt1.o(.text+0x18): In function `_start':
: undefined reference to `main'
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make: *** [libwnjni.so] Error 1
well, I've already changed the "-G" option to
"-fno-gnu-linker". That seems to be the equivalent to
the Solaris g++ option.
Unfortunately, that doesn't seem to work either. Any
idea on this eror would help.
thanks,
udo.