User forums > Help

[solved] undefined reference to `lmA68k' on svn 6862..now, Ubuntu 10.10 x86

(1/2) > >>

blauzahn:
Hi,

I got this compile error on my 32-Bit machine only. The x86-64 still compiles fine. Both run Ubuntu 10.10, I also tried 10.04.

libtool: link: g++ -O2 -ffast-math -DCB_AUTOCONF -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions -o .libs/codeblocks app.o appglobals.o compilersettingsdlg.o crashhandler.o dlgabout.o dlgaboutplugin.o environmentsettingsdlg.o infopane.o main.o notebookstyles.o prefix.o printdlg.o scriptconsole.o scriptingsettingsdlg.o splashscreen.o startherepage.o switcherdlg.o -pthread -Wl,-Bsymbolic-functions  -L/home/mathias/tmp/codeblocks_svn/trunk/src/sdk /home/mathias/tmp/codeblocks_svn/trunk/src/sdk/.libs/libcodeblocks.so -lwx_gtk2u_richtext-2.8 -lwx_gtk2u_aui-2.8 -lwx_gtk2u_xrc-2.8 -lwx_gtk2u_qa-2.8 -lwx_gtk2u_html-2.8 -lwx_gtk2u_adv-2.8 -lwx_gtk2u_core-2.8 -lwx_baseu_xml-2.8 -lwx_baseu_net-2.8 -lwx_baseu-2.8 -lpthread -ldl -pthread

...trunk/src/sdk/.libs/libcodeblocks.so: undefined reference to `lmA68k'

after:

make distclean
svn update
 ./configure --prefix=/usr/local --with-contrib-plugins=all
make -j 2

What has changed? I I build it regularly from svn. Usually it compiles flawlessly and is quite reliable. Since about one week, it is broken for me.
I very much appreciate cb and the excellent work, done by the developers. I use it daily and want to stay up to date, so that there is no need to ask the developers for broken things on an (for them) outdated version.

I found no 68k related entry in config.log. Thought, I do not need this stuff either. I remember vaguely having read sth about a recent patch applied in that area but can't find that entry now.

Any suggestions? Thanks in advance

Biplab:
This could be due to a recent wxscintilla update. Please check whether newly added lexer (*68k) is being compiled & linked properly. I can only help you this much now.

MortenMacFly:

--- Quote from: blauzahn on December 16, 2010, 07:14:59 am ---make distclean
svn update
 ./configure --prefix=/usr/local --with-contrib-plugins=all
make -j 2

--- End quote ---
Please do:
make clean
make distclean
svn update
./configure --prefix=/usr/local --with-contrib-plugins=all
make -j 2

...it's too late for that now, so you should manually remove all object files, libraries and pre-compiled headers. The build system should be instrumented just right for Unix (included in the wxScintilla update).

blauzahn:

ReHi,

make clean does not help. Still the same error.

Thanks anyway for the quick response.

Jenna:
You should run ./bootstrap also, because the Makefile.am has changed (new lexer for 68k), otherwise the Makefile.in's (and therfore the Makefile's) can not be created properly.

Navigation

[0] Message Index

[#] Next page

Go to full version