(Illustration by Gaich Muramatsu)
Thanks for the reply, first of all. I'm using this version of gcc: # gcc --version gcc (GCC) 4.0.3 (Ubuntu 4.0.3-1ubuntu5) It's a ubuntu LTS dapper, and i'm building inside a chroot where the kernel headers are installed. We're using grsec patches for the kernel, if that matters. /usr/src/linux-2.6.19.7/ contains the kernel from I've built the binary that I will use on the box. This is a building box, and the procedure takes place in a chroot. I've tried to symlink the build to /usr/src/kernel-headers-2.6.19.7/ which was generated from the linux-2.6.19.7 by make-kpkg, but I still get the same error. What information should I gather from the system to make this work? On Fri, 22 Jun 2007 12:41:14 -0400 Jan Harkes <jaharkes_at_cs.cmu.edu> wrote: > On Fri, Jun 22, 2007 at 12:18:17PM -0400, Jan Harkes wrote: > > Which compiler are you using, what is the platform (i386/ia64?)? > > > > I'll try to build 2.6.19.7 here and see if I can reproduce the > > problem. > > You probably should check if your building against the right headers > or if your compiler is broken. I had no problems or warnings building > the kernel module for a v2.6.19.7 kernel. > > ~/git/linux-coda/linux2.6$ make > KSRC=/home/jaharkes/git/linux-2.6.19.y make CONFIG_CODA_FS=m > CPPFLAGS="-D__KERNEL__ -I/home/jaharkes/git/linux-coda/linux2.6 > -Iinclude -include linux/autoconf.h" INSTALL_MOD_DIR=kernel/fs/coda > -C /home/jaharkes/git/linux-2.6.19.y > M=/home/jaharkes/git/linux-coda/linux2.6 make[1]: Entering directory > `/home/jaharkes/git/linux-2.6.19.y' > LD /home/jaharkes/git/linux-coda/linux2.6/built-in.o CC > [M] /home/jaharkes/git/linux-coda/linux2.6/psdev.o CC > [M] /home/jaharkes/git/linux-coda/linux2.6/cache.o CC > [M] /home/jaharkes/git/linux-coda/linux2.6/cnode.o CC > [M] /home/jaharkes/git/linux-coda/linux2.6/inode.o CC > [M] /home/jaharkes/git/linux-coda/linux2.6/dir.o CC > [M] /home/jaharkes/git/linux-coda/linux2.6/file.o CC > [M] /home/jaharkes/git/linux-coda/linux2.6/upcall.o CC > [M] /home/jaharkes/git/linux-coda/linux2.6/coda_linux.o CC > [M] /home/jaharkes/git/linux-coda/linux2.6/symlink.o CC > [M] /home/jaharkes/git/linux-coda/linux2.6/pioctl.o CC > [M] /home/jaharkes/git/linux-coda/linux2.6/sysctl.o LD > [M] /home/jaharkes/git/linux-coda/linux2.6/coda.o Building modules, > stage 2. MODPOST 1 modules > CC /home/jaharkes/git/linux-coda/linux2.6/coda.mod.o LD > [M] /home/jaharkes/git/linux-coda/linux2.6/coda.ko make[1]: Leaving > directory `/home/jaharkes/git/linux-2.6.19.y' > > Jan > -- Üdvözlettel, Czuczy Gergely Publishing Factory Kft http://www.publishing.hu/ Tel: +36-20-9554512Received on 2007-06-25 08:46:46