There is an error when compile the kernel

4 messages Options
Embed this post
Permalink
rio

There is an error when compile the kernel

Reply Threaded More More options
Print post
Permalink
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?

Josh Matthews

Re: There is an error when compile the kernel

Reply Threaded More More options
Print post
Permalink
Hi there,

Would you first be able to confirm the version of OKL4 that you are
building, along with the build line that you are using?

Best regards,

Josh

On Mon, April 13, 2009 9:51 am, rio wrote:

>
> 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?



_______________________________________________
Developer mailing list
[hidden email]
https://lists.okl4.org/mailman/listinfo/developer
rio

Re: There is an error when compile the kernel

Reply Threaded More More options
Print post
Permalink
Hi,
I downloaded the source code from this URL:
http://ertos.nicta.com.au/software/kenge/iguana-project/devel/
Its version is :iguana-project--devel--1.1--version-0
the compile error is in file ipcx.cc line 125,I have uploaed this file in the attachment,the compiler shows that this line is wrong:
    TRACEPOINT (IPC_MESSAGE_OVERFLOW,
                printf("IPC message overflow (%t->%t)\n",
                       src, dst));


But i do not find anything error ,it is very strange.
Best regards,
Rio
Josh Matthews wrote:
Hi there,

Would you first be able to confirm the version of OKL4 that you are
building, along with the build line that you are using?

Best regards,

Josh

On Mon, April 13, 2009 9:51 am, rio wrote:
>
> 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?



_______________________________________________
Developer mailing list
Developer@okl4.org
https://lists.okl4.org/mailman/listinfo/developer
ipcx.cc
Josh Matthews

Re: There is an error when compile the kernel

Reply Threaded More More options
Print post
Permalink
Hi Rio,

On Wed, April 15, 2009 11:46 am, rio wrote:

> I downloaded the source code from this URL:
> http://ertos.nicta.com.au/software/kenge/iguana-project/devel/
> Its version is :iguana-project--devel--1.1--version-0

Ah, I see. This is a _very_ old version of OKL4. The best place to get
started is OKL4 3.0, available from http://wiki.ok-labs.com. Would you be
able to download this latest version and let us know how you go?

Best regards,

Josh


_______________________________________________
Developer mailing list
[hidden email]
https://lists.okl4.org/mailman/listinfo/developer