PDA

View Full Version : Strange error



joseph
8th February 2008, 09:52
Hello guys,

i am getting the following error while i was compiling a "Simple Hello world" program in Kdevelop 3.5.5 - ( in Opensuse 10.2 )
errors :-



/usr/include/c++/4.1.2/i586-suse-linux/bits/c++config.h:43: error: expected constructor, destructor, or type conversion before ‘namespace’
/usr/include/c++/4.1.2/i586-suse-linux/bits/c++config.h:47: error: ‘__gnu_debug_def’ is not a namespace-name
/usr/include/c++/4.1.2/i586-suse-linux/bits/c++config.h:47: error: expected namespace-name before ‘;’ token
gmake[2]: *** [basemolecule.o] Error 1



please help me to resolve it
thanks in advance

wysota
8th February 2008, 10:42
Can we see the code?

joseph
8th February 2008, 13:20
These all are the errors am getting ( i cann;t give the entire solution as it is little bit heavy )


cd '/home/febyj/Desktop/Try_SynthesisTool_Linux/synthesis_tool/debug' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" gmake -k
gmake all-recursive
Making all in src
compiling basemolecule.cpp (g++)
/usr/include/c++/4.1.2/i586-suse-linux/bits/c++config.h:43: error: expected constructor, destructor, or type conversion before ‘namespace’
/usr/include/c++/4.1.2/i586-suse-linux/bits/c++config.h:47: error: ‘__gnu_debug_def’ is not a namespace-name
/usr/include/c++/4.1.2/i586-suse-linux/bits/c++config.h:47: error: expected namespace-name before ‘;’ token
gmake[2]: *** [basemolecule.o] Error 1
gmake[2]: Target `all' not remade because of errors.
gmake[2]: Nothing to be done for `all-am'.
gmake[1]: *** [all-recursive] Error 1
gmake: *** [all] Error 2
*** Exited with status: 2 ***




Is there any project setting i have to set .
Please help me ...:(

jpn
8th February 2008, 13:32
Perhaps a missing semi-colon (";") in one of header files included by basemolecule.cpp...