On 10/19/07, Arno Schuring <[EMAIL PROTECTED]> wrote: > > > Hello list, > > trying to compile 1.5.25 on my linux box (P4, 2.6.21, gcc-4.2.1), I hit > the following error (I configured with ./configure > --with-afs-sysname=i386_linux26): > > gcc -pipe -O2 -I/home/golem/buildfs/openafs-1.5.25/src/config -I. -I. > -I/home/golem/buildfs/openafs-1.5.25/include > -I/home/golem/buildfs/openafs-1.5.25/include/afs > -I/home/golem/buildfs/openafs-1.5.25/include/rx > -I/home/golem/buildfs/openafs-1.5.25 > -I/home/golem/buildfs/openafs-1.5.25/src > -I/home/golem/buildfs/openafs-1.5.25/src -D_LARGEFILE64_SOURCE -c > rxstat.c > rxstat.c:47: error: expected declaration specifiers or '...' before > 'rpcStats' > rxstat.c: In function 'MRXSTATS_RetrieveProcessRPCStats': > rxstat.c:54: error: 'stats' undeclared (first use in this function) > rxstat.c:54: error: (Each undeclared identifier is reported only once > rxstat.c:54: error: for each function it appears in.) > rxstat.c: At top level: > rxstat.c:67: error: expected declaration specifiers or '...' before > 'rpcStats' > rxstat.c: In function 'MRXSTATS_RetrievePeerRPCStats': > rxstat.c:74: error: 'stats' undeclared (first use in this function) > > > grepping the source, I cannot find any declaration of rpcStats (save for > a typedef afs_uint32 in rxstat.xg). Is this supposed to be generated > from somewhere, or am I missing a package that provides this?
it's supposed to be provided by rxgen running on that file. Included is a patch I used to remove the hardcoded paths to /lib/cpp. It > can be autodetected from autoconf, so there is no need to hardcode these > paths. (it is probably not necessary to include AC_PROG_CPP in > configure.in, I think). ok; you should submit it to [EMAIL PROTECTED] I'm currently working on a patch to move the /vicep* partitions to the > more FHS-friendly /srv/vice. Does a change like this have any change of > being merged upstream or should I keep it to myself? regardless, you should submit it.
