On Sun Jul 22, 2007 at 23:24:10 +0800, kashin Lin wrote:
2007/7/22, Adam Lackorzynski adam@os.inf.tu-dresden.de:
On Sat Jul 21, 2007 at 17:15:39 +0800, kashin Lin wrote:
last problem was fixed, but there is another error message now:
/home/kashin08/L4Linux/L4_ARM/build/include/l4/log/log_printf.h:16:20: error: st darg.h: No such file or directory
but it seems there is a such file in my computer, why it says it can't
find
that?
This stdarg.h must be provided by your cross-compiler. Which type of cross-compiler are you using? (arm-linux-gcc -v)
arm-linux-gcc -v :
Using built-in specs. Target: arm-unknown-linux-gnu Configured with: /home/pgauth/tmp/crosstool-0.38 /build/arm-unknown-linux-gnu/gcc-4.0.2-glibc-2.3.3/gcc-4.0.2/configure --target=arm-unknown-linux-gnu --host=i686-host_pc-linux-gnu --prefix=/usr/local/arm/gcc-4.0.2-glibc-2.3.3/arm-unknown-linux-gnu --with-headers=/usr/local/arm/gcc-4.0.2-glibc-2.3.3/arm-unknown-linux-gnu/arm-unknown-linux-gnu/include --with-local-prefix=/usr/local/arm/gcc-4.0.2-glibc-2.3.3/arm-unknown-linux-gnu/arm-unknown-linux-gnu --disable-nls --enable-threads=posix --enable-symvers=gnu --enable-__cxa_atexit --enable-languages=c,c++ --enable-shared --enable-c99 --enable-long-long Thread model: posix gcc version 4.0.2
this cross compiler is provided by the manufacturer of my target board (xscale).
Ok, but lets hope 4.0 will do.
i use " locate stdarg.h " in command line. there is a such header file-stdarg.h in cross compiler's directory.
You should check the following. In your l4env build directory, there's a file Makeconf.bid.local, which should contain a line GCCDIR=/path/to/gcc/things
Now, please check if /path/to/gcc/things/include/stdarg.h exists, or at least the include directory in there if stdarg.h should not happen to be there. It should.
There should also be a -I/path/to/gcc/things/include line on every arm-linux-gcc call when building.
2007/7/19, Adam Lackorzynski adam@os.inf.tu-dresden.de:
On Thu Jul 19, 2007 at 10:59:17 +0800, kashin Lin wrote:
it works without that problem now. but it shows another error message "RAM_BASE not given". following is part of the messages:
make[4]: Entering directory `/home/kashin08/L4Linux/L4_ARM/build/pkg/dm_generic/idl/OBJ-arm-l4v2' /home/kashin08/L4Linux/L4_ARM/l4/mk/Makeconf:314: *** RAM_BASE not
given,
needed for ARM architecture builds.. Stop. make[4]: Leaving directory `/home/kashin08/L4Linux/L4_ARM/build/pkg/dm_generic/idl/OBJ-arm-l4v2' make[3]: *** [/home/kashin08/L4Linux/L4_ARM/build/pkg/dm_generic/idl/OBJ-arm-l4v2]
Error
2 make[3]: Leaving directory `/home/kashin08/L4Linux/L4_ARM/l4/pkg/dm_generic/idl' make[2]: *** [idl] Error 2 make[2]: Leaving directory
`/home/kashin08/L4Linux/L4_ARM/l4/pkg/dm_generic'
make[1]: *** [dm_generic.headers] Error 2 make[1]: Leaving directory `/home/kashin08/L4Linux/L4_ARM/l4/pkg' make: *** [pkg] Error 2
Put a Makeconf.local in your l4 directory and specify the RAM base of your platform, like: RAM_BASE = 0x0
2007/7/19, Adam Lackorzynski adam@os.inf.tu-dresden.de:
On Wed Jul 18, 2007 at 14:25:50 +0800, kashin Lin wrote: > Hi~ > > When i cross-compile fiasco for xScale, it says 'kernel.image': No
such
> file. > i checked the files in kernel/fiasco/build. > no file named "kernel.image" but there is a file named "
fiasco.image
".
> i am not sure what's the relationship between them.
fiasco.image for arm is the same thing as kernel.image for x86.
> how to fix it?
Please disable the "Do additional checks at build time" option in
the
Fiasco configuration menu.
> following is part of the output message: > > make[3]: Entering directory > `/home/kashin08/L4Linux/L4_ARM/kernel/fiasco/build' > Checking compiler config... unchanged. > make[3]: Leaving directory > `/home/kashin08/L4Linux/L4_ARM/kernel/fiasco/build' > make srcdir=/home/kashin08/L4Linux/L4_ARM/kernel/fiasco/src > objbase=/home/kashin08/L4Linux/L4_ARM/kernel/fiasco/build -f > /home/kashin08/L4Linux/L4_ARM/kernel/fiasco/src/Makefile.sub2 all > make[3]: Entering directory > `/home/kashin08/L4Linux/L4_ARM/kernel/fiasco/build' > -e ... Generating version information > Checking initcalls > arm-linux-nm: 'kernel.image': No such file > start (_initcall_start) or end (_initcall_end) symbol not found!
at
>
/home/kashin08/L4Linux/L4_ARM/kernel/fiasco/src/../tool/checkinitcalls
line > 67. > make[3]: *** [Checkinitcalls] Error 1 > make[3]: Leaving directory > `/home/kashin08/L4Linux/L4_ARM/kernel/fiasco/build' > make[2]: *** [all] Error 2 > make[2]: Leaving directory > `/home/kashin08/L4Linux/L4_ARM/kernel/fiasco/build' > make[1]: *** [build] Error 2 > make[1]: Leaving directory
`/home/kashin08/L4Linux/L4_ARM/kernel/fiasco'
> make: *** [../kernel/fiasco] Error 2
Adam
Adam adam@os.inf.tu-dresden.de Lackorzynski http://os.inf.tu-dresden.de/~adam/
l4-hackers mailing list l4-hackers@os.inf.tu-dresden.de http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
l4-hackers mailing list l4-hackers@os.inf.tu-dresden.de http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
Adam
Adam adam@os.inf.tu-dresden.de Lackorzynski http://os.inf.tu-dresden.de/~adam/
l4-hackers mailing list l4-hackers@os.inf.tu-dresden.de http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
l4-hackers mailing list l4-hackers@os.inf.tu-dresden.de http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
Adam
Adam adam@os.inf.tu-dresden.de Lackorzynski http://os.inf.tu-dresden.de/~adam/
l4-hackers mailing list l4-hackers@os.inf.tu-dresden.de http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
l4-hackers mailing list l4-hackers@os.inf.tu-dresden.de http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
Adam