<< | Thread Index | >> ]    [ << | Date Index | >> ]

Subject: compiling problems
From: Johannes Formann <johannes,AT,formann,DOT,de>
Date: Tue, 28 Jan 2003 19:43:31 +0100

Hi,

I'll try to compile cipe inside an UML <> but I got errors, the wrong 
includes are choosen, what ist my fault?

How can i tell the configureskript to choose /usr/src/linux/include/asm-um/?

thanks in advance

make -C lib all
make[1]: Entering directory `/usr/src/cipe-1.5.4/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/cipe-1.5.4/lib'
make -C 2.4.19-48um-i386-cb all
make[1]: Entering directory `/usr/src/cipe-1.5.4/2.4.19-48um-i386-cb'
gcc -MD -DKCC_BUILD -I. -include ./config.h  -D__KERNEL__ 
-I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 
-fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe 
-mpreferred-stack-boundary=2 -DMODULE -o bf.o -c ../cipe/bf.c
In file included from /usr/src/linux/include/linux/ptrace.h:24,
                  from /usr/src/linux/include/asm/arch/user.h:5,
                  from /usr/src/linux/include/asm/user.h:4,
                  from /usr/src/linux/include/asm/archparam.h:11,
                  from /usr/src/linux/include/asm/string.h:5,
                  from /usr/src/linux/include/linux/string.h:25,
                  from ../cipe/bf.c:14:
/usr/src/linux/include/asm/ptrace.h:9: sysdep/ptrace.h: No such file 
or directory
In file included from /usr/src/linux/include/asm/ptrace.h:10,
                  from /usr/src/linux/include/linux/ptrace.h:24,
                  from /usr/src/linux/include/asm/arch/user.h:5,
                  from /usr/src/linux/include/asm/user.h:4,
                  from /usr/src/linux/include/asm/archparam.h:11,
                  from /usr/src/linux/include/asm/string.h:5,
                  from /usr/src/linux/include/linux/string.h:25,
                  from ../cipe/bf.c:14:
/usr/src/linux/include/asm/ptrace-generic.h:25: sysdep/ptrace.h: No 
such file or directory
/usr/src/linux/include/asm/ptrace-generic.h:26: skas_ptrace.h: No 
such file or directory
In file included from /usr/src/linux/include/asm/ptrace.h:10,
                  from /usr/src/linux/include/linux/ptrace.h:24,
                  from /usr/src/linux/include/asm/arch/user.h:5,
                  from /usr/src/linux/include/asm/user.h:4,
                  from /usr/src/linux/include/asm/archparam.h:11,
                  from /usr/src/linux/include/asm/string.h:5,
                  from /usr/src/linux/include/linux/string.h:25,
                  from ../cipe/bf.c:14:
/usr/src/linux/include/asm/ptrace-generic.h:29: field `regs' has 
incomplete type
make[1]: *** [bf.o] Error 1
make[1]: Leaving directory `/usr/src/cipe-1.5.4/2.4.19-48um-i386-cb'
make: *** [all] Error 2
vdserver:/usr/src/cipe-1.5.4# make
make -C lib all
make[1]: Entering directory `/usr/src/cipe-1.5.4/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/cipe-1.5.4/lib'
make -C 2.4.19-48um-i386-cb all
make[1]: Entering directory `/usr/src/cipe-1.5.4/2.4.19-48um-i386-cb'
gcc -MD -DKCC_BUILD -I. -include ./config.h  -D__KERNEL__ 
-I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 
-fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe 
-mpreferred-stack-boundary=2 -DMODULE -o bf.o -c ../cipe/bf.c
In file included from /usr/src/linux/include/linux/ptrace.h:24,
                  from /usr/src/linux/include/asm/arch/user.h:5,
                  from /usr/src/linux/include/asm/user.h:4,
                  from /usr/src/linux/include/asm/archparam.h:11,
                  from /usr/src/linux/include/asm/string.h:5,
                  from /usr/src/linux/include/linux/string.h:25,
                  from ../cipe/bf.c:14:
/usr/src/linux/include/asm/ptrace.h:9: sysdep/ptrace.h: No such file 
or directory
In file included from /usr/src/linux/include/asm/ptrace.h:10,
                  from /usr/src/linux/include/linux/ptrace.h:24,
                  from /usr/src/linux/include/asm/arch/user.h:5,
                  from /usr/src/linux/include/asm/user.h:4,
                  from /usr/src/linux/include/asm/archparam.h:11,
                  from /usr/src/linux/include/asm/string.h:5,
                  from /usr/src/linux/include/linux/string.h:25,
                  from ../cipe/bf.c:14:
/usr/src/linux/include/asm/ptrace-generic.h:25: sysdep/ptrace.h: No 
such file or directory
/usr/src/linux/include/asm/ptrace-generic.h:26: skas_ptrace.h: No 
such file or directory
In file included from /usr/src/linux/include/asm/ptrace.h:10,
                  from /usr/src/linux/include/linux/ptrace.h:24,
                  from /usr/src/linux/include/asm/arch/user.h:5,
                  from /usr/src/linux/include/asm/user.h:4,
                  from /usr/src/linux/include/asm/archparam.h:11,
                  from /usr/src/linux/include/asm/string.h:5,
                  from /usr/src/linux/include/linux/string.h:25,
                  from ../cipe/bf.c:14:
/usr/src/linux/include/asm/ptrace-generic.h:29: field `regs' has 
incomplete type
make[1]: *** [bf.o] Error 1
make[1]: Leaving directory `/usr/src/cipe-1.5.4/2.4.19-48um-i386-cb'
make: *** [all] Error 2





<< | Thread Index | >> ]    [ << | Date Index | >> ]