Author Topic: svn build error on linux gentoo  (Read 3097 times)

hoollie

  • Guest
svn build error on linux gentoo
« on: November 07, 2006, 06:35:23 pm »
Hello,

I'm getting the following error when I try to build C::B on my Linux PC:

g++ -O2 -ffast-math -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -o cb_share_config app.o mainframe.o -pthread  -L/home/hoollie/codeblocks/20061107/trunk_3180/src/sdk/tinyxml /home/hoollie/codeblocks/20061107/trunk_3180/src/sdk/tinyxml/.libs/libtinyxml.a -L/usr/X11R6/lib -lwx_gtk2u_xrc-2.6 -lwx_gtk2u_html-2.6 -lwx_gtk2u_adv-2.6 -lwx_gtk2u_core-2.6 -lwx_baseu_xml-2.6 -lwx_baseu_net-2.6 -lwx_baseu-2.6 -lpthread -ldl
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: warning: libstdc++.so.5, needed by /usr/lib/libSDL-1.2.so.0, may conflict with libstdc++.so.6
app.o: In function `MyApp':
/home/hoollie/codeblocks/20061107/trunk_3180/src/tools/cb_share_config/app.h:15: undefined reference to `vtable for MyApp'
collect2: ld returned 1 exit status
make[3]: *** [cb_share_config] Error 1
make[3]: Leaving directory `/home/hoollie/codeblocks/20061107/trunk_3180/src/tools/cb_share_config'



I've also tried revisions 3183 & 3186 and I also get the same error. I'm using gcc 4.1.1, wxWidgets 2.6.2, gtk+ 2.10.6

I attached the ./configure --enable-contrib output of rev 3180.

Is this a bug or is there something wrong with my environment?

Thanx!


[attachment deleted by admin]

Chocoboko

  • Guest
Re: svn build error on linux gentoo
« Reply #1 on: November 08, 2006, 01:07:01 am »
I'm running Gentoo, and it built fine for me.  The difference I notice between your environment and mine is that you are using wxWidgets 2.6.2 and I am using wxWidgets 2.6.3.  I think wxWidgets only goes up to 2.6.2 in the Portage repository, so you will need to grab the sources from www.wxwidgets.org and build 2.6.3 yourself.  That might make a difference.

I hope Code::Blocks is included in the Portage software repository someday.