[OpenAFS-devel] 1.5.30a has compile errors on linux

Jason Edgecombe jason@rampaginggeek.com
Fri, 18 Jul 2008 21:46:56 -0400


I wanted to see if I would have any better luck compiling 1.5.x for maemo.

Cross-compiling for armel in scratchbox if that matters.

The compile failed. Here is the last few lines of the compile:

In file included from ../../../src/tubik/../ubik/ubik.c:29:
/home/maemo/afs/dpkg/1.5.50/openafs-1.5.50a/build/include/afs/cellconfig.h:135: 
warning: "struct ktc_encryptionKey" declared inside parameter list
/home/maemo/afs/dpkg/1.5.50/openafs-1.5.50a/build/include/afs/cellconfig.h:135: 
warning: its scope is only this definition or declaration, which is 
probably not what you want
/home/maemo/afs/dpkg/1.5.50/openafs-1.5.50a/build/include/afs/cellconfig.h:137: 
warning: "struct ktc_encryptionKey" declared inside parameter list
../../../src/tubik/../ubik/ubik.c: In function `ubik_ServerInitCommon':
../../../src/tubik/../ubik/ubik.c:200: error: `PROCESS' undeclared 
(first use in this function)
../../../src/tubik/../ubik/ubik.c:200: error: (Each undeclared 
identifier is reported only once
../../../src/tubik/../ubik/ubik.c:200: error: for each function it 
appears in.)
../../../src/tubik/../ubik/ubik.c:200: error: syntax error before "junk"
../../../src/tubik/../ubik/ubik.c:223: warning: assignment from 
incompatible pointer type
../../../src/tubik/../ubik/ubik.c:301: error: `LWP_NORMAL_PRIORITY' 
undeclared (first use in this function)
../../../src/tubik/../ubik/ubik.c:302: error: `junk' undeclared (first 
use in this function)
../../../src/tubik/../ubik/ubik.c:331: error: `LWP_MAX_PRIORITY' 
undeclared (first use in this function)
make[4]: *** [ubik.o] Error 1
make[4]: Leaving directory 
`/home/maemo/afs/dpkg/1.5.50/openafs-1.5.50a/build/src/tubik'
make[3]: *** [tubik] Error 2
make[3]: Leaving directory 
`/home/maemo/afs/dpkg/1.5.50/openafs-1.5.50a/build'
make[2]: *** [build] Error 2
make[2]: Leaving directory 
`/home/maemo/afs/dpkg/1.5.50/openafs-1.5.50a/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory 
`/home/maemo/afs/dpkg/1.5.50/openafs-1.5.50a/build'
make: *** [build-stamp] Error 2