[OpenAFS-devel] Failed compile of openafs 1.5.31 for ARM linux 2.6.21 on Nokia N800
maemo OS2008
Jason Edgecombe
jason@rampaginggeek.com
Sun, 17 Feb 2008 17:24:46 -0500
Hi,
I get errors when trying to compile openafs for my Nokia N800 running
OS2008 (same as N810). I've tried compiling 1.5.31, the 1.5.x cvs
branch and the cvs head with the same error:
CC [M]
/home/maemo/afs/openafs-1.5.31/src/libafs/MODLOAD-2.6.21-omap1-SP/osi_syscall.o
/home/maemo/afs/openafs-1.5.31/src/libafs/MODLOAD-2.6.21-omap1-SP/osi_syscall.c:
In function `osi_syscall_init':
/home/maemo/afs/openafs-1.5.31/src/libafs/MODLOAD-2.6.21-omap1-SP/osi_syscall.c:513:
error: `__NR_afs_syscall' undeclared (first use in this function)
/home/maemo/afs/openafs-1.5.31/src/libafs/MODLOAD-2.6.21-omap1-SP/osi_syscall.c:513:
error: (Each undeclared identifier is reported only once
/home/maemo/afs/openafs-1.5.31/src/libafs/MODLOAD-2.6.21-omap1-SP/osi_syscall.c:513:
error: for each function it appears in.)
/home/maemo/afs/openafs-1.5.31/src/libafs/MODLOAD-2.6.21-omap1-SP/osi_syscall.c:
In function `osi_syscall_clean':
/home/maemo/afs/openafs-1.5.31/src/libafs/MODLOAD-2.6.21-omap1-SP/osi_syscall.c:598:
error: `__NR_afs_syscall' undeclared (first use in this function)
make[6]: ***
[/home/maemo/afs/openafs-1.5.31/src/libafs/MODLOAD-2.6.21-omap1-SP/osi_syscall.o]
Error 1
make[5]: ***
[_module_/home/maemo/afs/openafs-1.5.31/src/libafs/MODLOAD-2.6.21-omap1-SP]
Error 2
make[5]: Leaving directory `/home/maemo/src/kernel-source-rx-34-2.6.21.0'
make[4]: *** [libafs.ko] Error 2
make[4]: Leaving directory
`/home/maemo/afs/openafs-1.5.31/src/libafs/MODLOAD-2.6.21-omap1-SP'
make[3]: *** [linux_compdirs] Error 2
make[3]: Leaving directory `/home/maemo/afs/openafs-1.5.31/src/libafs'
make[2]: *** [libafs] Error 2
make[2]: Leaving directory `/home/maemo/afs/openafs-1.5.31'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/home/maemo/afs/openafs-1.5.31'
make: *** [all] Error 2
Any help is appreciated.
Sincerely,
Jason