undefined reference problem

Falk Hueffner hueffner@informatik.uni-tuebingen.de
Tue Jul 20 20:01:00 GMT 2004


Andre Kirchner <supercroc1974@yahoo.com> writes:

> I made this simple C++ program, but when I try to
> compile it, gcc returns the followinf error message:
>
> gcc -c Connector.cpp
> gcc -c main.cpp
> gcc  ./*.o -o main.out
> ./main.o(.eh_frame+0x11): undefined reference to
> `__gxx_personality_v0'
> collect2: ld returned 1 exit status

Link with g++ instead of gcc.

-- 
	Falk



More information about the Gcc-help mailing list