referenced symbol not found.
pieter.kirkham@teradyne.com
pieter.kirkham@teradyne.com
Tue Oct 22 14:01:00 GMT 2002
Howdy,
Another question sort of related to, but not the same as the previous
one. Using g++ to compile and link a .so file I am getting the following
error when I go to load up my program:
symbol main: referenced symbol not found
I never had the same problem using CC. When I tryed switching to g++
however this messaged started popping up. I have a main, it just isn't
linked into the library directly. It should be able to resolve this link
without problems when the program loads. But it's not.
Anybody know what could be causing this, and how to fix it?
I am using g++ version 2.95.3 20010315 (release), on a sun4u sparc
SUNW, Ultra 60 running solaris 2.6 (sunos 5.6)
Thanks,
Pieter Kirkham
More information about the Gcc-help
mailing list