linking problems
Mark Bannister
m_bannister@yahoo.com.au
Wed Apr 26 20:35:00 GMT 2000
Hi
I am a GNU newbie, forgive me if this question is
stupid.
Recently i have been trying to use the FLTK toolkit,
which you might be aware of. I have been trying to
compile a simple Hello World type app to get started.
I have been compiling and linking as a seperate
process, due to the errors. Everytime i go to the
linker i get the following errors.
cartman# gcc -o Hello HelloWorld.o -L/usr/X11R6/lib
-lfltk -lX11 -lXext -lMesaGL -lm
/usr/lib/compat/libstdc++.so.2; undefined reference to
`__unwind_function'
/usr/lib/compat/libstdc++.so.2; undefined reference to
`__find_first_exception_table_match'
/usr/lib/compat/libstdc++.so.2; undefined reference to
`__register_exceptions'
I have tried using g++ & CC. Exactly the same thing
happens. I have also tried the -nostartfiles etc.
The gcc version i am using is 2.95.2, on a FreeBSD 4.0
platform.
I can only assume these errors are related to gcc/g++,
i am really stuck with this problem and would
appreciate any help.
cheers
Mark
_____________________________________________________________________________
http://movies.yahoo.com.au - Yahoo! Australia & NZ Movies
- Find out what's on at the local cinema with Yahoo! Movies
More information about the Gcc-bugs
mailing list