jetthink

debian squeeze compile error

Discussion created by jetthink on Jun 4, 2010
Latest reply on Apr 13, 2011 by santosh.zanjurne

../../be/be/dra_file_util.cxx:94: error: ‘char* basename(char*)’ was declared ‘extern’ and later ‘static’
/usr/include/string.h:599: error: previous declaration of ‘char* basename(char*)’
../../be/be/dra_file_util.cxx: In function ‘char* basename(char*)’:
../../be/be/dra_file_util.cxx:338: error: declaration of ‘char* basename(char*)’ throws different exceptions
../../be/be/dra_file_util.cxx:94: error: from previous declaration ‘char* basename(char*) throw ()’
make[3]: *** [dra_file_util.o] Error 1
make[3]: Leaving directory `/root/x86_open64-4.2.3/osprey/targia32_x8664/be'
make[2]: *** [default] Error 2
make[2]: Leaving directory `/root/x86_open64-4.2.3/osprey/targia32_x8664/be'
make[1]: *** [be.so] Error 2
make[1]: Leaving directory `/root/x86_open64-4.2.3'
make: *** [build] Error 2

../../be/be/dra_file_util.cxx:94: error: ‘char* basename(char*)’ was declared ‘extern’ and later ‘static’ /usr/include/string.h:599: error: previous declaration of ‘char* basename(char*)’ ../../be/be/dra_file_util.cxx: In function ‘char* basename(char*)’: ../../be/be/dra_file_util.cxx:338: error: declaration of ‘char* basename(char*)’ throws different exceptions ../../be/be/dra_file_util.cxx:94: error: from previous declaration ‘char* basename(char*) throw ()’ make[3]: *** [dra_file_util.o] Error 1 make[3]: Leaving directory `/root/x86_open64-4.2.3/osprey/targia32_x8664/be' make[2]: *** [default] Error 2 make[2]: Leaving directory `/root/x86_open64-4.2.3/osprey/targia32_x8664/be' make[1]: *** [be.so] Error 2 make[1]: Leaving directory `/root/x86_open64-4.2.3' make: *** [build] Error 2

Outcomes