[XenAccess-devel] error compiling latest svn version and version 0.2 of xenaccess
Status: Beta
Brought to you by:
bdpayne
From: Stephan C. <ste...@in...> - 2006-12-04 12:32:31
|
Hi, when I try to compile any version (I tried 0.2 and the latest svn version) of xenaccess I get the following errors: make all-recursive make[1]: Entering directory `/home/stephan/xenaccess/libxa' Making all in xenaccess make[2]: Entering directory `/home/stephan/xenaccess/libxa/xenaccess' make[3]: Entering directory `/home/stephan/xenaccess/libxa/xenaccess' if /bin/sh ../libtool --tag=3DCC --mode=3Dcompile gcc -DHAVE_CONFIG_H -I. -I. -I.. - I.. -I/usr/local/include/xen -g -O2 -MT linux_domain_info.lo -MD -MP -MF ".dep s/linux_domain_info.Tpo" -c -o linux_domain_info.lo linux_domain_info.c; \ then mv -f ".deps/linux_domain_info.Tpo" ".deps/linux_domain_info.Plo"; else rm -f ".deps/linux_domain_info.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include/xen -g -O2 -MT linux _domain_info.lo -MD -MP -MF .deps/linux_domain_info.Tpo -c linux_domain_info.c -fPIC -DPIC -o .libs/linux_domain_info.o In file included from linux_domain_info.c:34: /usr/include/stdlib.h:96: error: expected '=3D', ',', ';', 'asm' or '__attribute__ ' before '__BEGIN_NAMESPACE_STD' /usr/include/stdlib.h:140: error: expected '=3D', ',', ';', 'asm' or '__attribute_ _' before 'extern' /usr/include/stdlib.h:145: error: expected '=3D', ',', ';', 'asm' or '__attribute_ _' before 'extern' /usr/include/stdlib.h: In function 'atoi': /usr/include/stdlib.h:149: error: expected declaration specifiers before '__THRO W' /usr/include/stdlib.h:152: error: expected '=3D', ',', ';', 'asm' or '__attribute_ _' before '__THROW' /usr/include/stdlib.h:153: error: expected declaration specifiers before '__END_ NAMESPACE_STD' /usr/include/stdlib.h:167: error: expected declaration specifiers before '__END_ NAMESPACE_STD' /usr/include/stdlib.h:189: error: expected '=3D', ',', ';', 'asm' or '__attribute_ _' before '__THROW' /usr/include/stdlib.h:190: error: expected declaration specifiers before '__END_ NAMESPACE_C99' /usr/include/stdlib.h:282: error: expected '=3D', ',', ';', 'asm' or '__attribute_ _' before '__THROW' /usr/include/stdlib.h:285: error: expected '=3D', ',', ';', 'asm' or '__attribute_ _' before '__THROW' /usr/include/stdlib.h:290: error: expected '=3D', ',', ';', 'asm' or '__attribute_ _' before '__THROW' /usr/include/stdlib.h:297: error: expected '=3D', ',', ';', 'asm' or '__attribute_ _' before '__THROW' /usr/include/stdlib.h:302: error: expected declaration specifiers before '__exte nsion__' /usr/include/stdlib.h:310: error: expected declaration specifiers before '__exte nsion__' /usr/include/stdlib.h:491: error: expected declaration specifiers before '__BEGI N_NAMESPACE_STD' /usr/include/stdlib.h:495: error: expected '=3D', ',', ';', 'asm' or '__attribute_ _' before '__THROW' /usr/include/stdlib.h:496: error: expected declaration specifiers before '__END_ NAMESPACE_STD' [...] I use Debian Testing with the following compiler: # gcc -v Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=3Dc,c++,fortran,objc,obj-c++,treelang --prefix=3D/usr --enable-shared --with-system-zlib --libexecdir=3D/usr/lib --without-included-gettext --enable-threads=3Dposix --enable-nls --program-suffix=3D-4.1 --enable-__cxa_atexit --enable-clocale=3Dgnu --enable-libstdcxx-debug --enable-mpfr --with-tune=3Di686 --enable-checking=3Drelease i486-linux-gnu Thread model: posix gcc version 4.1.2 20061028 (prerelease) (Debian 4.1.1-19) Regards, Stephan Creutz |