User forums > Help
Doesn't build since rev 3050 (at least for MacOSX?)
bnilsson:
Dual 2.3GHz PowrPC G5
Mac OSX 10.4.8
wxWidgets 2.6.3
Hi!
The latest successful rev I have is 3050.
Lately I have got the following build problem:
....
/usr/bin/ld: Undefined symbols:
wxFlatNotebook::SetSelection(unsigned long)
wxFlatNotebook::SetGradientColorTo(wxColour const&)
wxFlatNotebook::SetGradientColorFrom(wxColour const&)
wxFlatNotebook::SetGradientColorBorder(wxColour const&)
wxFlatNotebook::GetSelection() const
collect2: ld returned 1 exit status
make[3]: *** [codeblocks] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
and it does not seem to go away by waiting and doing occasional "svn update"
Any suggestions?
MortenMacFly:
Did you try a full rebuild? (Or removed manually any *.o; *.a and *.gch files...?)
With regards, Morten.
bnilsson:
I actually removed all and did a new svn checkout.
I patched from the wiki OSX install page
patch -p0 -i codeblocks-rev2970_pkgconfig.patch
patch -p0 -i codeblocks-rev2994_pluginslib.patch
patch -p0 -i codeblocks-appselfpath.patch
patch -p0 -i codeblocks-wxauigtk.patch
(two of the wiki patches I have found obsolete, so I did not apply these)
I did bootstrap and
./configure --enable-contrib --prefix=$HOME CXXFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib
and make.
I also tried without the patches above, but got the same result.
afb:
I'm attempting a build of rev 3090, will update the Wiki when complete.
afb:
--- Quote from: bnilsson on October 15, 2006, 01:11:44 pm ---I actually removed all and did a new svn checkout.
--- End quote ---
Did you also uninstall / remove all libraries, before doing the build ?
(i.e. "make uninstall clean make", or doing something similar to that)
There is a bug with the current build scripts that makes it prefer
linking to /usr/local/lib or $PREFIX/lib over the local libraries... :-(
http://forums.codeblocks.org/index.php?topic=4088.0
Navigation
[0] Message Index
[#] Next page
Go to full version