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