testsuite problems on darwin was: [patch] HAVE_LC_MESSAGES for natSystem.cc
Andreas Tobler
toa@pop.agri.ch
Wed Jan 16 11:15:00 GMT 2002
Tom Tromey wrote:
>> >>>>> "Andreas" == Andreas Tobler <toa@pop.agri.ch> writes:
>> Andreas> I tried now with a verbose option.
> Andreas> Now one of the most errors is this one:
> Andreas> /usr/bin/ld: Undefined symbols:
> Andreas> _main <------------
> Andreas> ___gxx_personality_v0
>> This means that some C++ file isn't being compiled with the "java"
> pragma. You'll have to find out which file; just run nm on the .o's
> until you find one with ___gxx_personality_v0 undefined.
I'd like to if I'd have some o files....
What I had to change so far is the .so into .o, removed the -fPIC since
I don't build shared and the -shared flag.
I do this on the commandline:
[titanium:powerpc-apple-darwin5.2/libjava/testsuite] andreast%
/Volumes/xufs/gccsrc/objdir/gcc/xgcc -B/Volumes/xufs/gccsrc/objdir/gcc/
../../../../gcc/libjava/testsuite/libjava.jni/calls.c -I. -I..
-I../../../../gcc/libjava/testsuite/../include -lm -o libcalls.o
/usr/bin/ld: Undefined symbols:
_main
collect2: ld returned 1 exit status
This _main is the most failure I get. Also here:
FAIL: Array_1 compilation from source
ERROR: No `main' given in program Array_1
ERROR: No `main' given in program Array_1
ERROR: No `main' given in program Array_2
ERROR: No `main' given in program Array_2
ERROR: No `main' given in program Array_3
ERROR: No `main' given in program Array_3
So I suspect something basic must be blocking here.
Thanks,
Andreas
More information about the Java
mailing list