[Voyage-linux] Voyage customization
C2SC/Proj/Tops
(spam-protected)
Tue Jun 5 21:00:44 HKT 2007
Hi everyone,
I've got Voyage 0.3.1 running on some Soekris 4826 platforms to perform
MANET testing.
But to get Voyage completely suited for my environment I need to do the
following: (my host system is Ubuntu 7.04)
- Rebuild the kernel with some extra options:
o I've downloaded linux-source-2.6.17-voyage_3.0-3_all.deb,
config-2.6.17.1-486-voyage_3.0-3 and
kernel-patch-2.6.17-voyage_3.0-3.patch.gz from the Voyage website as is
explained in the Voyage Wiki, but when I try to build the kernel, I get
the following error:
In file included from fs/nfs/inode.c:49:
fs/nfs/internal.h:24: warning: static declaration for `nfs_do_refmount'
follows non-static
fs/nfs/internal.h:65: warning: `struct nfs4_fs_locations' declared
inside parameter list
fs/nfs/internal.h:65: warning: its scope is only this definition or
declaration, which is probably not what you want
fs/nfs/internal.h: In function `nfs4_path':
fs/nfs/internal.h:97: error: structure has no member named `mnt_path'
fs/nfs/inode.c: In function `init_once':
fs/nfs/inode.c:1116: error: structure has no member named `open_states'
fs/nfs/inode.c:1116: error: structure has no member named `delegation'
fs/nfs/inode.c:1116: error: structure has no member named
`delegation_state'
fs/nfs/inode.c:1116: error: structure has no member named `rwsem'
make[3]: *** [fs/nfs/inode.o] Error 1
make[2]: *** [fs/nfs] Error 2
make[1]: *** [fs] Error 2
make[1]: Leaving directory `/usr/src/linux-source-2.6.17-voyage'
make: *** [debian/stamp-build-kernel] Error 2
o When I try to patch (patch -p1 <
kernel-patch-2.6.17-voyage_3.0-3) the kernel, I get the following:
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur /usr/src/linux-source-2.6.17/Makefile
/usr/src/linux-source-2.6.17-voyage/Makefile
|--- /usr/src/linux-source-2.6.17/Makefile 2006-11-28
17:35:27.000000000 +0000
|+++ /usr/src/linux-source-2.6.17-voyage/Makefile 2006-12-28
03:47:42.000000000 +0000
--------------------------
File to patch:
So, until now I didn't achieve to even build the kernel without enabling
extra kernel options.
- Install gcc to build some source code:
I haven't tried this yet.
Has anyone has ever encountered the same problems? Any tips and/or
tricks?
Best regards,
Benny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20070605/3b46d5c0/attachment-0001.html>
More information about the Voyage-linux
mailing list