News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Can't compile revision 7265

Started by Folco, June 30, 2011, 11:02:26 PM

Previous topic - Next topic

Folco

Hi guys,

I can't compile revision 7265, I get this error :
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

My build script :
#!/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


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. :)
Kernel Extremist - PedroM power ©

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.
Kernel Extremist - PedroM power ©

oBFusCATed

Fixed in r7266...

It looks like the CB build system and the autotools build systems using PCHes do different things with the includes :(
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Folco

Wow, impressive, you're so quick :D Many thanks, I retry now. :)
Kernel Extremist - PedroM power ©

Folco

I confirm that your fix works : CB compiles and runs fine now. Great, thanks again for your reactivity !
Kernel Extremist - PedroM power ©