[okl4-developer] There is an error when compile the kernel

rio riotea at gmail.com
Mon Apr 13 23:51:55 EST 2009


When i compile  the kernel ,an error occures the details is as follows:
scons: Reading SConscript files ...

scons: warning: The env.TargetSignatures() method is deprecated;
	convert your build to use the env.Decider() method instead.
File "tools/build.py", line 322, in <module>
CXX arm-linux-g++
CC arm-linux-gcc

scons: warning: The env.Copy() method is deprecated; use the env.Clone() method instead.
File "tools/build.py", line 777, in Copy
arch arm
(<SCons.Node.FS.Entry instance at 0xa0044cc>,)
(<SCons.Node.FS.Entry instance at 0xa0044cc>,)
CXX arm-linux-g++
CC arm-linux-gcc
scons: done reading SConscript files.
scons: Building targets ...
(<SCons.Node.FS.File instance at 0xa75b40c>,)
(<SCons.Node.FS.File instance at 0xa75b40c>,)
=> Compiling pistachio/kernel/src/api/v4/ipcx.cc
pistachio/kernel/src/api/v4/ipcx.cc: In function `msg_tag_t extended_transfer(tcb_t*, tcb_t*, msg_tag_t)':
pistachio/kernel/src/api/v4/ipcx.cc:79: warning: format argument is not a pointer (arg 2)
pistachio/kernel/src/api/v4/ipcx.cc:79: warning: unsigned int format, acceptor_t arg (arg 5)
pistachio/kernel/src/api/v4/ipcx.cc:97: warning: format argument is not a pointer (arg 3)
pistachio/kernel/src/api/v4/ipcx.cc:97: warning: format argument is not a pointer (arg 4)
pistachio/kernel/src/api/v4/ipcx.cc:125: warning: unknown conversion type character `-' in format
pistachio/kernel/src/api/v4/ipcx.cc:125: warning: unknown conversion type character `)' in format
pistachio/kernel/src/api/v4/ipcx.cc:125: warning: too many arguments for format
scons: *** [build/pistachio/pistachio/kernel/src/api/v4/ipcx.o] Error 1
scons: building terminated because of errors.

I use the toolchain from nicta for arm, the version information is as follows:
$ arm-linux-gcc -v
Reading specs from /opt/nicta/tools/gcc-3.4.4-glibc-2.3.5/arm-linux/bin/../lib/gcc/arm-linux/3.4.4/specs
Configured with: /home/tsewell/crosstool-0.38/build/arm-linux/gcc-3.4.4-glibc-2.3.5/gcc-3.4.4/configure --target=arm-linux --host=i686-host_pc-linux-gnu --prefix=/opt/crosstool/gcc-3.4.4-glibc-2.3.5/arm-linux --with-float=soft --with-headers=/opt/crosstool/gcc-3.4.4-glibc-2.3.5/arm-linux/arm-linux/include --with-local-prefix=/opt/crosstool/gcc-3.4.4-glibc-2.3.5/arm-linux/arm-linux --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 3.4.4

Does anyboy meet the same problem?


-- 
View this message in context: http://n2.nabble.com/There-is-an-error-when-compile-the-kernel-tp2627846p2627846.html
Sent from the OKL4 Community Forum mailing list archive at Nabble.com.




More information about the Developer mailing list