This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

fail to compile "hello,world" toy


Hi,

Recently my administrator updated g++ from 2.95.2 to 3.0.4 on hpux11. When I
try to compile the toy "hello, world" using "g++ hello.cc", g++ complains as
follows:

/usr/ccs/bin/ld: Unsatisfied symbols:
     __gxx_personality_sj0 (first referenced in /var/tmp/ccLgd8Cq.o) (code)
collect2: ld returned 1 exit status

When I try to use "g++ hello.cc -lsupc++", g++ works well. However, it costs
me lots of time to generate a.out. Is there any tricks on hpux11? Or
anything wrong with installment?

Thanks,
Xiudong


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]