Latest CVS won't build


Subject: Latest CVS won't build
From: Pierre Abbat (phma@oltronics.net)
Date: Thu Aug 24 2000 - 17:54:00 CDT


I just cvsed the latest and typed make. I get the following pile of errors:

make ABI_ROOT=/home/phma/abi/abi -C unix build
make[4]: Entering directory `/home/phma/abi/abi/src/af/xap/unix'
Building with [LicensedTrademarks:Off Debug:Off Gnome:Off Gnome-XML:Off].
xap_UnixApp.cpp:
xap_UnixApp.cpp: In method `UT_Bool XAP_UnixApp::_loadFonts()':
xap_UnixApp.cpp:179: parse error before `<'
xap_UnixApp.cpp:196: parse error before `<'
xap_UnixApp.cpp:198: `i' undeclared (first use this function)
xap_UnixApp.cpp:198: (Each undeclared identifier is reported only once
xap_UnixApp.cpp:198: for each function it appears in.)
xap_UnixApp.cpp:198: parse error before `)'
xap_UnixApp.cpp:191: warning: unused variable `char * szTemp'
xap_UnixApp.cpp:201: warning: control reaches end of non-void function `XAP_UnixApp::_loadFonts()'
xap_UnixApp.cpp: At top level:
xap_UnixApp.cpp:202: warning: ANSI C++ forbids declaration `szPrefFontPath' with no type
xap_UnixApp.cpp:202: syntax error before `++' xap_UnixApp.cpp:206: `szTemp' was not declared in this scope
xap_UnixApp.cpp:206: `szPrefFontPath' was not declared in this scope
xap_UnixApp.cpp:206: warning: ANSI C++ forbids declaration `strcpy' with no type
xap_UnixApp.cpp:206: `int strcpy' redeclared as different kind of symbol
/usr/include/string.h:72: previous declaration of `char * strcpy(char *, const char *)'
xap_UnixApp.cpp:206: warning: initializer list being treated as compound expression
xap_UnixApp.cpp:207: `szTemp' was not declared in this scope
xap_UnixApp.cpp:207: `getAbiSuiteLibDir' was not declared in this scope
xap_UnixApp.cpp:207: `szPrefFontPath' was not declared in this scope
xap_UnixApp.cpp:207: warning: ANSI C++ forbids declaration `sprintf' with no type
xap_UnixApp.cpp:207: `int sprintf' redeclared as different kind of symbol
/usr/include/stdio.h:253: previous declaration of `int sprintf(char *, const char *, ...)'
xap_UnixApp.cpp:207: warning: initializer list being treated as compound expression
xap_UnixApp.cpp:208: parse error before `if'
xap_UnixApp.cpp:210: warning: ANSI C++ forbids declaration `szPrefFontPath' with no type
xap_UnixApp.cpp:210: `szTemp' was not declared in this scope
xap_UnixApp.cpp:211: syntax error before `++'
xap_UnixApp.cpp:213: parse error before `void'
xap_UnixApp.cpp:215: syntax error before `->'
xap_UnixApp.cpp:218: warning: ANSI C++ forbids declaration `szPrefFontPath' with no type
xap_UnixApp.cpp:218: syntax error before `++'
xap_UnixApp.cpp:228: `getAbiSuiteLibDir' was not declared in this scope
xap_UnixApp.cpp:234: parse error before `for'
xap_UnixApp.cpp:234: warning: ANSI C++ forbids declaration `szPrefFontPathPtr' with no type
xap_UnixApp.cpp:234: syntax error before `++'
xap_UnixApp.cpp:239: `szTemp' was not declared in this scope
xap_UnixApp.cpp:239: warning: ANSI C++ forbids declaration `strcpy' with no type
xap_UnixApp.cpp:239: redefinition of `int strcpy'
xap_UnixApp.cpp:206: `int strcpy' previously defined here
xap_UnixApp.cpp:239: warning: initializer list being treated as compound expression
xap_UnixApp.cpp:240: `szTemp' was not declared in this scope
xap_UnixApp.cpp:240: warning: ANSI C++ forbids declaration `sprintf' with no typ
xap_UnixApp.cpp:258: warning: ANSI C++ forbids declaration `szTemp' with no type
xap_UnixApp.cpp:258: parse error before `}'
xap_UnixApp.cpp: In method `void XAP_UnixApp::_setAbiSuiteLibDir()':
xap_UnixApp.cpp:297: `strcpy' cannot be used as a function
xap_UnixApp.cpp:310: `strcpy' cannot be used as a function
xap_UnixApp.cpp: In function `void __static_initialization_and_destruction_0(int, int)':
xap_UnixApp.cpp:229: Internal compiler error in `make_decl_rtl', at varasm.c:738
Please submit a full bug report. See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for instructions.
make[4]: *** [/home/phma/abi/abi/src/Linux_2.2.14-15mdk_i386_OBJ/obj/xap_UnixApp.o] Error 1
make[4]: Leaving directory `/home/phma/abi/abi/src/af/xap/unix'
make[3]: *** [build] Error 2
make[3]: Leaving directory `/home/phma/abi/abi/src/af/xap'
make[2]: *** [build] Error 2
make[2]: Leaving directory `/home/phma/abi/abi/src/af'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/home/phma/abi/abi/src'
make: *** [compile] Error 2

What went wrong???

phma



This archive was generated by hypermail 2b25 : Thu Aug 24 2000 - 18:06:18 CDT