| Got further, but not there yet Hi Dapper Dan,
thsnkd for the very fast reply. Now the compilation got further, but not all the way it seems. It nows makes it past the include statement, but now finds errors in the code files themselves.
Should maybe mention that my config file looks like this:
LINUX_SRC=/usr/src/kernels/2.6.18-1.2849.fc6-i686
TARGET_MODDIR=/lib/modules/
and that I use
gcc version 4.1.1 20061011 (Red Hat 4.1.1-30)
Heres the new error message:
In file included from /usr/src/redhat/BUILD/kernel-2.6.18/linux/include/linux/rwsem.h:24,
from /usr/src/redhat/BUILD/kernel-2.6.18/linux/include/asm/semaphore.h:42,
from /usr/src/redhat/BUILD/kernel-2.6.18/linux/include/linux/sched.h:57,
from /usr/src/redhat/BUILD/kernel-2.6.18/linux/include/linux/module.h:9,
from rt_config.h:54,
from rtmp_main.c:38:
/usr/src/redhat/BUILD/kernel-2.6.18/linux/include/asm/rwsem.h: In function ‘__down_read’:
/usr/src/redhat/BUILD/kernel-2.6.18/linux/include/asm/rwsem.h:104: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/usr/src/redhat/BUILD/kernel-2.6.18/linux/include/asm/rwsem.h: In function ‘__down_write_nested’:
/usr/src/redhat/BUILD/kernel-2.6.18/linux/include/asm/rwsem.h:156: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
........
I'm terribly soory about this debugging I'm asking you guys to do - excuse my ignorence
sun101 |