winegcc

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
vivekkrv
Newbie
Newbie
Posts: 3
Joined: Thu May 28, 2009 8:16 am

winegcc

Post by vivekkrv »

<BEGINNER i am beginner>
i am using winegcc compiler to compile source code which use gdi(-lmwindows type)
and opengl library
and
i try to use winegcc all link, include, lib paths are ok
but i got linker error

Main-z6Kx8u.o : (.data.DW.ref.__gxx_personality_v0[DW.ref.__gxx_personality_v0]+0x0): undefined reference to `__gxx_personality_v0'

and i don't know to which library it belong
please help me
:cry:
Sylvain Pasche

how to compile

Post by Sylvain Pasche »

vivekkrv wrote:
<BEGINNER i am begginer>
i try to use winegcc all link, include, lib paths are ok
but i got linker error

Main-z6Kx8u.o : (.data.DW.ref.__gxx_personality_v0[DW.ref.__gxx_personality_v0]+0x0): undefined reference to `__gxx_personality_v0'

and i don't know to which library it belong
Looks like you are compiling C++ with winegcc. Try with wineg++ instead
(or link with libstdc++).


Sylvain
Locked