This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/32830] shared library create by hppa64-hp11.11 can't run.
- From: "cnstar9988 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Jul 2007 06:08:59 -0000
- Subject: [Bug target/32830] shared library create by hppa64-hp11.11 can't run.
- References: <bug-32830-14862@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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