Author Topic: Problem compiling on Suse 10.0  (Read 3397 times)

neitv

  • Guest
Problem compiling on Suse 10.0
« on: August 29, 2006, 01:41:52 pm »
Problem compiling on Suse 10.0

autoconf (GNU Autoconf) 2.59
automake (GNU automake) 1.9.6
ltmain.sh (GNU libtool) 1.5.18 (1.1220.2.245 2005/05/16 08:55:27)
g++ (GCC) 4.0.2 20050901 (prerelease) (SUSE Linux)

// svn checkout

// convert

find ./ -type f -exec dos2unix -k {} \;

// make executable

chmod a=rwx bootstrap
find ./ -type f -iname '*.sh' -exec chmod a=rwx {} \;
find ./ -type f -iname '*.bash' -exec chmod a=rwx {} \;

./bootstrap

./configure --enable-contrib

make

Making all in wxscintilla
In file included from src/ScintillaWX.cpp:17:
src/ScintillaWX.h:30:17: error: XPM.h: No such file or directory
./src/scintilla/src/LineMarker.h:18: error: ISO C++ forbids declaration of 'XPM' with no type
./src/scintilla/src/LineMarker.h:18: error: expected ';' before '*' token
./src/scintilla/src/LineMarker.h: In constructor 'LineMarker::LineMarker()':
./src/scintilla/src/LineMarker.h:23: error: 'pxpm' was not declared in this scope
./src/scintilla/src/LineMarker.h: In copy constructor 'LineMarker::LineMarker(const LineMarker&)':
./src/scintilla/src/LineMarker.h:30: error: 'pxpm' was not declared in this scope
./src/scintilla/src/LineMarker.h: In destructor 'LineMarker::~LineMarker()':
./src/scintilla/src/LineMarker.h:33: error: 'pxpm' was not declared in this scope
./src/scintilla/src/LineMarker.h: In member function 'LineMarker& LineMarker::operator=(const LineMarker&)':
./src/scintilla/src/LineMarker.h:40: error: 'pxpm' was not declared in this scope
« Last Edit: August 29, 2006, 01:44:20 pm by neitv »

catalogoanatom

  • Guest
Re: Problem compiling on Suse 10.0
« Reply #1 on: August 30, 2006, 06:58:17 am »
rename xpm.cxx to XPM.cxx and xpm.h to XPM.h

neitv

  • Guest
Re: Problem compiling on Suse 10.0
« Reply #2 on: August 30, 2006, 09:59:40 pm »
Thanks.