------- Comment #5 from cnstar9988 at gmail dot com 2007-07-23 06:08 ------- I found the problem. But I don't know how to resolved.
$ gcc -Wl,+noallowunsats -m64 -fPIC -static-libgcc -Wl,-chpexport.sym -shared -o libtrsbean.sl MafBean.o Function.o api/lib/trsapi.a -lc -lpthread ld: Unsatisfied symbol "_Jv_RegisterClasses" in file /home/gcc-4.2.1/lp64/bin/../lib/gcc/hppa64-hp-hpux11.11/4.2.1/crtbeginS.o ld: Unsatisfied symbol "_end" in file /lib/pa20_64/libc.sl ld: Unsatisfied symbol "__cxa_finalize" in file /home/gcc-4.2.1/lp64/bin/../lib/gcc/hppa64-hp-hpux11.11/4.2.1/crtbeginS.o ld: Unsatisfied symbol "main" in file /lib/pa20_64/libc.sl 4 errors. collect2: ld returned 1 exit status -- cnstar9988 at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |critical http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32830