On Tuesday 01 June 2010 11:14:02 Markus Kress wrote: > Hello > > compile of Bacula-FD fails on SLES8 (Kernel 2.4.21, gcc version 3.2): > > .. > Compiling plugins.c > Compiling priv.c > In file included from /usr/include/linux/fs.h:25, > from /usr/include/linux/capability.h:17, > from /usr/include/sys/capability.h:24, > from priv.c:35: > /usr/include/asm/bitops.h:30: parse error before `volatile' > /usr/include/asm/bitops.h:65: parse error before `volatile' > In file included from priv.c:35: > /usr/include/sys/capability.h:110: parse error before `}' token > make[1]: *** [priv.o] Error 1 > make[1]: Leaving directory > `/export/home/makr27632261/cvsworkspace/bacula_sles8fd/build/bacula-5.0.2 > /src/lib' > ====== Error in > /export/home/makr27632261/cvsworkspace/bacula_sles8fd/build/bacula-5.0.2 > /src/lib ====== > > > What can I do?
It looks to me like some of the headers in your OS do not support C++ or they are somehow broken in a backward way with current Linux headers, or perhaps you have modified the header files. You might be able to comment out all the header files and #if that start with the #if defined(HAVE_PRCTL) and end with the second #endif. Kern > > > Mit freundlichen Grüßen / Best regards > > Markus Kress > > > ___________________________________________________________________________ >________________________________________ > > GLS IT Services GmbH > Sitz: Neuenstein, Amtsgericht Bad Hersfeld HRB 388, Geschäftsführer: > Rüdiger Schmahl > ___________________________________________________________________________ >________________________________________ > > --------------------------------------------------------------------------- >--- > > _______________________________________________ > Bacula-devel mailing list > Bacula-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-devel ------------------------------------------------------------------------------ _______________________________________________ Bacula-devel mailing list Bacula-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-devel