Operating System - HP-UX
1748159 Members
4089 Online
108758 Solutions
New Discussion

error linking using gcc 3.2.3 on HP 11.23

 
Alfred P. Bartholomai_1
Occasional Contributor

error linking using gcc 3.2.3 on HP 11.23

I am getting some unsatisfied symbols from
the linker. The code compiles/links
on HP 11.11 using gcc. But, not 11.23.

i get the following output:
gcc -Wl,+n -Wl,-B,immediate -Wl,-a,archive_shared -g -I/users/acs/src/LinuxRc/include -I/usr/include/SC -o
strclass strclass.C arobjs/CoreString.o arobjs/AString.o -L/disk2_a/opt/pa20_32/lib -L/usr/lib -L/usr/local/l
ib -L/usr/dt/lib -L/opt/gnome/lib -L/usr/lib -L/usr/local/lib -L/usr/dt/lib -L/opt/gnome/lib -Wl,-a,shared_ar
chive -lstdc++ -lglib -lMrm -lXm -lXt -lX11 -lcl -lndbm -lc -lm -lX11 -lndbm -lcurses -lMrm -lXm -lXt -lX11 -
lm -lgcc
+ 2>& 1
+ tee make.out

ld: Unsatisfied symbol "vtable for STRING" in file arobjs/AString.o
ld: Unsatisfied symbol "vtable for CORE_STRING" in file arobjs/AString.o
2 errors.
collect2: ld returned 1 exit status

any help or suggestions would be much appreciated.

Thank you,

Fred Bartholomai