Re: [XenAccess-devel] error compiling latest svn version and version 0.2 of xenaccess
Status: Beta
Brought to you by:
bdpayne
From: Bryan D. P. <br...@th...> - 2006-12-04 14:44:52
|
Stephan, I've made some changes to the build system over the past couple of days, so I wouldn't be surprised if there are bugs. However, I'm not sure what the problem is on your system based on the output you provided. Your compiler is pretty bleeding edge, but mine isn't too far behind and I don't have this problem. For what it's worth, here's the versions on my devel machine: gcc version 4.1.1 20061011 automake version 1.9.6 autoconf version 2.59 make version 3.81 Here's something to try as a sanity check: (1) make distclean (2) ./reconf.sh (3) ./configure (4) make I expect that you will get the same results. If not, then there's something wrong with what I have checked into SVN. Either way, I'll look into it deeper at this end so that hopefully we can get to the root of the problem. Thanks, bryan PS... Did you get similar errors with the 0.2 version? On Dec 4, 2006, at 7:32 AM, Stephan Creutz wrote: > 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=CC --mode=compile 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 '=', > ',', ';', 'asm' or '__attribute__ ' before '__BEGIN_NAMESPACE_STD' > /usr/include/stdlib.h:140: error: expected '=', ',', ';', 'asm' or > '__attribute_ _' before 'extern' > /usr/include/stdlib.h:145: error: expected '=', ',', ';', '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 '=', ',', ';', '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 '=', ',', ';', '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 '=', ',', ';', 'asm' or > '__attribute_ _' before '__THROW' > /usr/include/stdlib.h:285: error: expected '=', ',', ';', 'asm' or > '__attribute_ _' before '__THROW' > /usr/include/stdlib.h:290: error: expected '=', ',', ';', 'asm' or > '__attribute_ _' before '__THROW' > /usr/include/stdlib.h:297: error: expected '=', ',', ';', '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 '=', ',', ';', '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=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr > --enable-shared --with-system-zlib --libexecdir=/usr/lib > --without-included-gettext --enable-threads=posix --enable-nls > --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu > --enable-libstdcxx-debug --enable-mpfr --with-tune=i686 > --enable-checking=release i486-linux-gnu Thread model: posix > gcc version 4.1.2 20061028 (prerelease) (Debian 4.1.1-19) > > Regards, > Stephan Creutz > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV________________________________ > _______________ > XenAccess-devel mailing list > Xen...@li... > https://lists.sourceforge.net/lists/listinfo/xenaccess-devel - Bryan D. Payne Graduate Student, Computer Science Georgia Tech Information Security Center http://www.bryanpayne.org |