User forums > Help
Can't compile revision 7265
(1/1)
Folco:
Hi guys,
I can't compile revision 7265, I get this error :
--- Code: ---libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../src/include -I/usr/lib/wx/include/gtk2-unicode-release-2.8
-I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread
-I../../src/include -I../../src/sdk/wxscintilla/include -I../../src/sdk/wxpropgrid/include -I../../src/include/tinyxml
-I../../src/include/scripting/include -I../../src/include/scripting/sqplus -I../../src/include/mozilla_chardet
-Ulinux -Uunix -O2 -ffast-math -DCB_AUTOCONF -g -O2 -DCB_PRECOMP -Winvalid-pch -fPIC -DPIC -fexceptions
-MT cbplugin.lo -MD -MP -MF .deps/cbplugin.Tpo -c cbplugin.cpp -fPIC -DPIC -o .libs/cbplugin.o
cbplugin.cpp: In member function ‘int cbDebuggerPlugin::RunNixConsole(wxString&)’:
cbplugin.cpp:820:31: error: ‘kill’ was not declared in this scope
make[3]: *** [cbplugin.lo] Error 1
--- End code ---
My build script :
--- Code: ---#!/bin/sh
# Retrieve sources
cd /home/folco
svn checkout svn://svn.berlios.de/codeblocks/branches/wxpropgrid_debugger CBsrc
#svn checkout svn://svn.berlios.de/codeblocks/trunk/ CBsrc
# Use the recentest 68k lexer
cd /home/folco/CBsrc
cp /mnt/Data/Programmation/PC/Programmes/patchCB/LexA68k.cxx ./src/sdk/wxscintilla/src/scintilla/lexers
cp /mnt/Data/Programmation/PC/Programmes/patchCB/lexer_A68k.* ./src/sdk/resources/lexers
# Compile
./bootstrap
./configure --with-contrib-plugins=all
make
sudo make install
--- End code ---
My system :
Kubuntu 11.04 64 bits, up to date.
gcc -v > gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4)
uname -r > 2.6.38-8-generic
I compiled successfully revision 7245.
Could you help me to fix that, please ? Thanks in advance. :)
Folco:
I forgot to say that I did a "make clean" before compiling. On error, I did a "rm ./CBsrc", compiling from fresh sources. Problem still occurs.
oBFusCATed:
Fixed in r7266...
It looks like the CB build system and the autotools build systems using PCHes do different things with the includes :(
Folco:
Wow, impressive, you're so quick :D Many thanks, I retry now. :)
Folco:
I confirm that your fix works : CB compiles and runs fine now. Great, thanks again for your reactivity !
Navigation
[0] Message Index
Go to full version