Syntax error on compilation

View: New views
2 Messages — Rating Filter:   Alert me  

Syntax error on compilation

by Antoine Amirault :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi!
I'm a beginner in building kernel and i try to build L4 for a PC for now.
I have followed the step of this manual
http://l4ka.org/projects/pistachio/ia32/gettingstarted.php
but when i run make i got error and apparently syntax error.
I searched over the internet and i foud in your mailing list archive someone with the same problem.
Your answers was to take the last version of asmsyms on the cvs tree and to co;pile with gcc-3.xx.
My gcc version is 3.3.6 and seems to be supported and asmsyms is identical to the cvs tree version.
I don't know what to do...

I work under ubuntu-feisty fawn on a biprocessor machine with two inter processor.
May this cause problems.

Here is the code obtained during the compilation :

antoine@liama-desktop:~/Desktop/pistachio-0.4/ia32-kernel-build$ make
make[1]: Entering directory `/home/antoine/Desktop/pistachio- 0.4/ia32-kernel-build'
===> src/glue/v4-ia32/asmsyms.cc
cd src/glue/v4-ia32/ &&  gcc -nostdinc -I/home/antoine/Desktop/pistachio-0.4/ia32-kernel-build/include -I/home/antoine/Desktop/pistachio-0.4/kernel/include -I/usr/lib/gcc-lib/i486-linux-gnu/3.3.6/include -Uia32 -Ui586 -Upc99 -Uv4 -D__ARCH__=ia32 -D__CPU__=i586 -D__PLATFORM__=pc99 -D__API__=v4 -imacros /home/antoine/Desktop/pistachio- 0.4/ia32-kernel-build/config/config.h -imacros /home/antoine/Desktop/pistachio-0.4/kernel/include/macros.h -include /home/antoine/Desktop/pistachio-0.4/kernel/include/config.h  -include /home/antoine/Desktop/pistachio-0.4 /kernel/include/types.h -fno-builtin  -fomit-frame-pointer -fno-exceptions -Wall -Wno-format -Wconversion -O2 -mpreferred-stack-boundary=2 -march=i586    -c /home/antoine/Desktop/pistachio-0.4/kernel/src/glue/v4-ia32/asmsyms.cc
===> Generating include/asmsyms.h
Can't modify reference constructor in scalar assignment at -e line 3, near ");"
syntax error at -e line 5, near "if"
syntax error at -e line 10, near "}"
Execution of -e aborted due to compilation errors.
===> src/api/v4/exregs.cc
cd src/api/v4/ &&  gcc -nostdinc -I/home/antoine/Desktop/pistachio-0.4/ia32-kernel-build/include -I/home/antoine/Desktop/pistachio- 0.4/kernel/include -I/usr/lib/gcc-lib/i486-linux-gnu/3.3.6/include -Uia32 -Ui586 -Upc99 -Uv4 -D__ARCH__=ia32 -D__CPU__=i586 -D__PLATFORM__=pc99 -D__API__=v4 -imacros /home/antoine/Desktop/pistachio-0.4/ia32-kernel-build/config/config.h -imacros /home/antoine/Desktop/pistachio- 0.4/kernel/include/macros.h -include /home/antoine/Desktop/pistachio-0.4/kernel/include/config.h  -include /home/antoine/Desktop/pistachio-0.4/kernel/include/types.h -fno-builtin  -fomit-frame-pointer -fno-exceptions -Wall -Wno-format -Wconversion -O2 -mpreferred-stack-boundary=2 -march=i586    -c /home/antoine/Desktop/pistachio- 0.4/kernel/src/api/v4/exregs.cc
/home/antoine/Desktop/pistachio-0.4/kernel/src/api/v4/exregs.cc:233:2: warning: #warning VU: do we have to preserve prios on ex-regs?
/home/antoine/Desktop/pistachio-0.4/kernel/src/api/v4/exregs.cc:248:2: warning: #warning eSk: Halting a thread with ongoing kernel operations is not supported
===> src/api/v4/ipc.cc
cd src/api/v4/ &&  gcc -nostdinc -I/home/antoine/Desktop/pistachio-0.4/ia32-kernel-build/include -I/home/antoine/Desktop/pistachio-0.4/kernel/include -I/usr/lib/gcc-lib/i486-linux-gnu/3.3.6/include -Uia32 -Ui586 -Upc99 -Uv4 -D__ARCH__=ia32 -D__CPU__=i586 -D__PLATFORM__=pc99 -D__API__=v4 -imacros /home/antoine/Desktop/pistachio- 0.4/ia32-kernel-build/config/config.h -imacros /home/antoine/Desktop/pistachio-0.4/kernel/include/macros.h -include /home/antoine/Desktop/pistachio-0.4/kernel/include/config.h  -include /home/antoine/Desktop/pistachio-0.4 /kernel/include/types.h -fno-builtin  -fomit-frame-pointer -fno-exceptions -Wall -Wno-format -Wconversion -O2 -mpreferred-stack-boundary=2 -march=i586    -c /home/antoine/Desktop/pistachio-0.4/kernel/src/api/v4/ipc.cc
/home/antoine/Desktop/pistachio-0.4/kernel/src/api/v4/ipc.cc:270:2: warning: #warning add local id handling
/home/antoine/Desktop/pistachio-0.4/kernel/src/api/v4/ipc.cc:521:2: warning: #warning wait_local incorrect
===> src/api/v4/ipcx.cc
cd src/api/v4/ &&  gcc -nostdinc -I/home/antoine/Desktop/pistachio-0.4/ia32-kernel-build/include -I/home/antoine/Desktop/pistachio-0.4/kernel/include -I/usr/lib/gcc-lib/i486-linux-gnu/3.3.6/include -Uia32 -Ui586 -Upc99 -Uv4 -D__ARCH__=ia32 -D__CPU__=i586 -D__PLATFORM__=pc99 -D__API__=v4 -imacros /home/antoine/Desktop/pistachio- 0.4/ia32-kernel-build/config/config.h -imacros /home/antoine/Desktop/pistachio-0.4/kernel/include/macros.h -include /home/antoine/Desktop/pistachio-0.4/kernel/include/config.h  -include /home/antoine/Desktop/pistachio-0.4 /kernel/include/types.h -fno-builtin  -fomit-frame-pointer -fno-exceptions -Wall -Wno-format -Wconversion -O2 -mpreferred-stack-boundary=2 -march=i586    -c /home/antoine/Desktop/pistachio-0.4/kernel/src/api/v4/ipcx.cc
===> include/version.h
===> src/api/v4/kernelinterface.cc
cd src/api/v4/ &&  gcc -nostdinc -I/home/antoine/Desktop/pistachio-0.4/ia32-kernel-build/include -I/home/antoine/Desktop/pistachio-0.4/kernel/include -I/usr/lib/gcc-lib/i486-linux-gnu/3.3.6/include -Uia32 -Ui586 -Upc99 -Uv4 -D__ARCH__=ia32 -D__CPU__=i586 -D__PLATFORM__=pc99 -D__API__=v4 -imacros /home/antoine/Desktop/pistachio- 0.4/ia32-kernel-build/config/config.h -imacros /home/antoine/Desktop/pistachio-0.4/kernel/include/macros.h -include /home/antoine/Desktop/pistachio-0.4/kernel/include/config.h  -include /home/antoine/Desktop/pistachio-0.4 /kernel/include/types.h -fno-builtin  -fomit-frame-pointer -fno-exceptions -Wall -Wno-format -Wconversion -O2 -mpreferred-stack-boundary=2 -march=i586    -c /home/antoine/Desktop/pistachio-0.4/kernel/src/api/v4/kernelinterface.cc
===> src/api/v4/thread.cc
cd src/api/v4/ &&  gcc -nostdinc -I/home/antoine/Desktop/pistachio-0.4/ia32-kernel-build/include -I/home/antoine/Desktop/pistachio-0.4/kernel/include -I/usr/lib/gcc-lib/i486-linux-gnu/3.3.6/include -Uia32 -Ui586 -Upc99 -Uv4 -D__ARCH__=ia32 -D__CPU__=i586 -D__PLATFORM__=pc99 -D__API__=v4 -imacros /home/antoine/Desktop/pistachio- 0.4/ia32-kernel-build/config/config.h -imacros /home/antoine/Desktop/pistachio-0.4/kernel/include/macros.h -include /home/antoine/Desktop/pistachio-0.4/kernel/include/config.h  -include /home/antoine/Desktop/pistachio-0.4 /kernel/include/types.h -fno-builtin  -fomit-frame-pointer -fno-exceptions -Wall -Wno-format -Wconversion -O2 -mpreferred-stack-boundary=2 -march=i586    -c /home/antoine/Desktop/pistachio-0.4/kernel/src/api/v4/thread.cc
/home/antoine/Desktop/pistachio-0.4/kernel/src/api/v4/thread.cc:98:2: warning: #warning VU: revise fake_wait_for_startup
/home/antoine/Desktop/pistachio-0.4/kernel/src/api/v4/thread.cc:120:2: warning: #warning fix locking for thread creation
/home/antoine/Desktop/pistachio-0.4/kernel/src/api/v4/thread.cc:978:2: warning: #warning preemption IPC with timeout never -- should be zero
===> src/api/v4/schedule.cc
cd src/api/v4/ &&  gcc -nostdinc -I/home/antoine/Desktop/pistachio- 0.4/ia32-kernel-build/include -I/home/antoine/Desktop/pistachio-0.4/kernel/include -I/usr/lib/gcc-lib/i486-linux-gnu/3.3.6/include -Uia32 -Ui586 -Upc99 -Uv4 -D__ARCH__=ia32 -D__CPU__=i586 -D__PLATFORM__=pc99 -D__API__=v4 -imacros /home/antoine/Desktop/pistachio- 0.4/ia32-kernel-build/config/config.h -imacros /home/antoine/Desktop/pistachio-0.4/kernel/include/macros.h -include /home/antoine/Desktop/pistachio-0.4/kernel/include/config.h  -include /home/antoine/Desktop/pistachio-0.4 /kernel/include/types.h -fno-builtin  -fomit-frame-pointer -fno-exceptions -Wall -Wno-format -Wconversion -O2 -mpreferred-stack-boundary=2 -march=i586    -c /home/antoine/Desktop/pistachio-0.4/kernel/src/api/v4/schedule.cc
/home/antoine/Desktop/pistachio-0.4/kernel/src/api/v4/schedule.cc:530:2: warning: #warning VU: limit upper bound of sensitive prio!
/home/antoine/Desktop/pistachio-0.4/kernel/src/api/v4/schedule.cc:585:2: warning: #warning FIXME: Check sys_schedule parameters
===> src/api/v4/space.cc
cd src/api/v4/ &&  gcc -nostdinc -I/home/antoine/Desktop/pistachio-0.4/ia32-kernel-build/include -I/home/antoine/Desktop/pistachio-0.4/kernel/include -I/usr/lib/gcc-lib/i486-linux-gnu/3.3.6/include -Uia32 -Ui586 -Upc99 -Uv4 -D__ARCH__=ia32 -D__CPU__=i586 -D__PLATFORM__=pc99 -D__API__=v4 -imacros /home/antoine/Desktop/pistachio- 0.4/ia32-kernel-build/config/config.h -imacros /home/antoine/Desktop/pistachio-0.4/kernel/include/macros.h -include /home/antoine/Desktop/pistachio-0.4/kernel/include/config.h  -include /home/antoine/Desktop/pistachio-0.4 /kernel/include/types.h -fno-builtin  -fomit-frame-pointer -fno-exceptions -Wall -Wno-format -Wconversion -O2 -mpreferred-stack-boundary=2 -march=i586    -c /home/antoine/Desktop/pistachio-0.4/kernel/src/api/v4/space.cc
/home/antoine/Desktop/pistachio-0.4/kernel/src/api/v4/space.cc:155:2: warning: #warning Handle priority inversion for xfer timeouts
/home/antoine/Desktop/pistachio-0.4/kernel/src/api/v4/space.cc:206:2: warning: #warning sigma0-check in default pagefault handler.
/home/antoine/Desktop/pistachio-0.4/kernel/src/api/v4/space.cc:400:2: warning: #warning VU: adapt to new msg_tag scheme
===> src/api/v4/interrupt.cc
cd src/api/v4/ &&  gcc -nostdinc -I/home/antoine/Desktop/pistachio- 0.4/ia32-kernel-build/include -I/home/antoine/Desktop/pistachio-0.4/kernel/include -I/usr/lib/gcc-lib/i486-linux-gnu/3.3.6/include -Uia32 -Ui586 -Upc99 -Uv4 -D__ARCH__=ia32 -D__CPU__=i586 -D__PLATFORM__=pc99 -D__API__=v4 -imacros /home/antoine/Desktop/pistachio- 0.4/ia32-kernel-build/config/config.h -imacros /home/antoine/Desktop/pistachio-0.4/kernel/include/macros.h -include /home/antoine/Desktop/pistachio-0.4/kernel/include/config.h  -include /home/antoine/Desktop/pistachio-0.4 /kernel/include/types.h -fno-builtin  -fomit-frame-pointer -fno-exceptions -Wall -Wno-format -Wconversion -O2 -mpreferred-stack-boundary=2 -march=i586    -c /home/antoine/Desktop/pistachio-0.4/kernel/src/api/v4/interrupt.cc
/home/antoine/Desktop/pistachio-0.4/kernel/src/api/v4/interrupt.cc:324:2: warning: #warning VU: check for handler tid to be valid!
===> src/glue/v4-ia32/init.cc
cd src/glue/v4-ia32/ &&  gcc -nostdinc -I/home/antoine/Desktop/pistachio- 0.4/ia32-kernel-build/include -I/home/antoine/Desktop/pistachio-0.4/kernel/include -I/usr/lib/gcc-lib/i486-linux-gnu/3.3.6/include -Uia32 -Ui586 -Upc99 -Uv4 -D__ARCH__=ia32 -D__CPU__=i586 -D__PLATFORM__=pc99 -D__API__=v4 -imacros /home/antoine/Desktop/pistachio- 0.4/ia32-kernel-build/config/config.h -imacros /home/antoine/Desktop/pistachio-0.4/kernel/include/macros.h -include /home/antoine/Desktop/pistachio-0.4/kernel/include/config.h  -include /home/antoine/Desktop/pistachio-0.4 /kernel/include/types.h -fno-builtin  -fomit-frame-pointer -fno-exceptions -Wall -Wno-format -Wconversion -O2 -mpreferred-stack-boundary=2 -march=i586    -c /home/antoine/Desktop/pistachio-0.4/kernel/src/glue/v4-ia32/init.cc
/home/antoine/Desktop/pistachio-0.4/kernel/src/glue/v4-ia32/init.cc:425:2: warning: #warning kernel memory hack
/home/antoine/Desktop/pistachio-0.4/kernel/src/glue/v4-ia32/init.cc:747:2: warning: #warning "use virt_to_phys for page mappings"
===> src/glue/v4-ia32/exception.cc
cd src/glue/v4-ia32/ &&  gcc -nostdinc -I/home/antoine/Desktop/pistachio-0.4/ia32-kernel-build/include -I/home/antoine/Desktop/pistachio-0.4/kernel/include -I/usr/lib/gcc-lib/i486-linux-gnu/3.3.6/include -Uia32 -Ui586 -Upc99 -Uv4 -D__ARCH__=ia32 -D__CPU__=i586 -D__PLATFORM__=pc99 -D__API__=v4 -imacros /home/antoine/Desktop/pistachio- 0.4/ia32-kernel-build/config/config.h -imacros /home/antoine/Desktop/pistachio-0.4/kernel/include/macros.h -include /home/antoine/Desktop/pistachio-0.4/kernel/include/config.h  -include /home/antoine/Desktop/pistachio-0.4 /kernel/include/types.h -fno-builtin  -fomit-frame-pointer -fno-exceptions -Wall -Wno-format -Wconversion -O2 -mpreferred-stack-boundary=2 -march=i586   -fomit-frame-pointer -c /home/antoine/Desktop/pistachio-0.4/kernel/src/glue/v4-ia32/exception.cc
/home/antoine/Desktop/pistachio-0.4/kernel/src/glue/v4-ia32/exception.cc: In
   function `void exc_catch_common_handler(ia32_exceptionframe_t*)':
/home/antoine/Desktop/pistachio-0.4/kernel/src/glue/v4-ia32/exception.cc:347: warning: unused
   variable `word_t irq'
===> src/glue/v4-ia32/space.cc
cd src/glue/v4-ia32/ &&  gcc -nostdinc -I/home/antoine/Desktop/pistachio-0.4/ia32-kernel-build/include -I/home/antoine/Desktop/pistachio-0.4 /kernel/include -I/usr/lib/gcc-lib/i486-linux-gnu/3.3.6/include -Uia32 -Ui586 -Upc99 -Uv4 -D__ARCH__=ia32 -D__CPU__=i586 -D__PLATFORM__=pc99 -D__API__=v4 -imacros /home/antoine/Desktop/pistachio-0.4/ia32-kernel-build/config/config.h -imacros /home/antoine/Desktop/pistachio- 0.4/kernel/include/macros.h -include /home/antoine/Desktop/pistachio-0.4/kernel/include/config.h  -include /home/antoine/Desktop/pistachio-0.4/kernel/include/types.h -fno-builtin  -fomit-frame-pointer -fno-exceptions -Wall -Wno-format -Wconversion -O2 -mpreferred-stack-boundary=2 -march=i586    -c /home/antoine/Desktop/pistachio- 0.4/kernel/src/glue/v4-ia32/space.cc
/home/antoine/Desktop/pistachio-0.4/kernel/src/glue/v4-ia32/space.cc:484:2: warning: #warning VU: space_t has to be restructured having an init and activate function
===> src/glue/v4-ia32/debug.cc
cd src/glue/v4-ia32/ &&  gcc -nostdinc -I/home/antoine/Desktop/pistachio-0.4/ia32-kernel-build/include -I/home/antoine/Desktop/pistachio-0.4/kernel/include -I/usr/lib/gcc-lib/i486-linux-gnu/3.3.6/include -Uia32 -Ui586 -Upc99 -Uv4 -D__ARCH__=ia32 -D__CPU__=i586 -D__PLATFORM__=pc99 -D__API__=v4 -imacros /home/antoine/Desktop/pistachio- 0.4/ia32-kernel-build/config/config.h -imacros /home/antoine/Desktop/pistachio-0.4/kernel/include/macros.h -include /home/antoine/Desktop/pistachio-0.4/kernel/include/config.h  -include /home/antoine/Desktop/pistachio-0.4 /kernel/include/types.h -fno-builtin  -fomit-frame-pointer -fno-exceptions -Wall -Wno-format -Wconversion -O2 -mpreferred-stack-boundary=2 -march=i586    -c /home/antoine/Desktop/pistachio-0.4/kernel/src/glue/v4-ia32/debug.cc
===> src/glue/v4-ia32/resources.cc
cd src/glue/v4-ia32/ &&  gcc -nostdinc -I/home/antoine/Desktop/pistachio-0.4/ia32-kernel-build/include -I/home/antoine/Desktop/pistachio-0.4/kernel/include -I/usr/lib/gcc-lib/i486-linux-gnu/3.3.6/include -Uia32 -Ui586 -Upc99 -Uv4 -D__ARCH__=ia32 -D__CPU__=i586 -D__PLATFORM__=pc99 -D__API__=v4 -imacros /home/antoine/Desktop/pistachio- 0.4/ia32-kernel-build/config/config.h -imacros /home/antoine/Desktop/pistachio-0.4/kernel/include/macros.h -include /home/antoine/Desktop/pistachio-0.4/kernel/include/config.h  -include /home/antoine/Desktop/pistachio-0.4 /kernel/include/types.h -fno-builtin  -fomit-frame-pointer -fno-exceptions -Wall -Wno-format -Wconversion -O2 -mpreferred-stack-boundary=2 -march=i586    -c /home/antoine/Desktop/pistachio-0.4/kernel/src/glue/v4-ia32/resources.cc
===> src/glue/v4-ia32/thread.cc
cd src/glue/v4-ia32/ &&  gcc -nostdinc -I/home/antoine/Desktop/pistachio-0.4/ia32-kernel-build/include -I/home/antoine/Desktop/pistachio-0.4/kernel/include -I/usr/lib/gcc-lib/i486-linux-gnu/3.3.6/include -Uia32 -Ui586 -Upc99 -Uv4 -D__ARCH__=ia32 -D__CPU__=i586 -D__PLATFORM__=pc99 -D__API__=v4 -imacros /home/antoine/Desktop/pistachio- 0.4/ia32-kernel-build/config/config.h -imacros /home/antoine/Desktop/pistachio-0.4/kernel/include/macros.h -include /home/antoine/Desktop/pistachio-0.4/kernel/include/config.h  -include /home/antoine/Desktop/pistachio-0.4 /kernel/include/types.h -fno-builtin  -fomit-frame-pointer -fno-exceptions -Wall -Wno-format -Wconversion -O2 -mpreferred-stack-boundary=2 -march=i586    -c /home/antoine/Desktop/pistachio-0.4/kernel/src/glue/v4-ia32/thread.cc
rm lds.tmp
make[1]: Leaving directory `/home/antoine/Desktop/pistachio-0.4/ia32-kernel-build'
make: *** [all] Error 2

Thank you for your help
Bye
Antoine

Re: Syntax error on compilation

by Bernhard Pöss :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Did you try the current CVS version?
The complete new version, not only the asmsyms stuff ?
If not I would do that.

-Bernhard

On 6/24/07, Antoine Amirault <antoineamirault@...> wrote:

> Hi!
> I'm a beginner in building kernel and i try to build L4 for a PC for now.
> I have followed the step of this manual
> http://l4ka.org/projects/pistachio/ia32/gettingstarted.php
> but when i run make i got error and apparently syntax error.
> I searched over the internet and i foud in your mailing list archive someone
> with the same problem.
> Your answers was to take the last version of asmsyms on the cvs tree and to
> co;pile with gcc-3.xx.
> My gcc version is 3.3.6 and seems to be supported and asmsyms is identical
> to the cvs tree version.
> I don't know what to do...
>
> I work under ubuntu-feisty fawn on a biprocessor machine with two inter
> processor.
> May this cause problems.
>
> Here is the code obtained during the compilation :
>
> antoine@liama-desktop:~/Desktop/pistachio-0.4/ia32-kernel-build$ make
> make[1]: Entering directory
> `/home/antoine/Desktop/pistachio- 0.4/ia32-kernel-build'
> ===> src/glue/v4-ia32/asmsyms.cc
> cd src/glue/v4-ia32/ &&  gcc -nostdinc
> -I/home/antoine/Desktop/pistachio-0.4/ia32-kernel-build/include
> -I/home/antoine/Desktop/pistachio-0.4/kernel/include
> -I/usr/lib/gcc-lib/i486-linux-gnu/3.3.6/include -Uia32
> -Ui586 -Upc99 -Uv4 -D__ARCH__=ia32 -D__CPU__=i586 -D__PLATFORM__=pc99
> -D__API__=v4 -imacros /home/antoine/Desktop/pistachio-
> 0.4/ia32-kernel-build/config/config.h -imacros
> /home/antoine/Desktop/pistachio-0.4/kernel/include/macros.h
> -include
> /home/antoine/Desktop/pistachio-0.4/kernel/include/config.h
>  -include /home/antoine/Desktop/pistachio-0.4
> /kernel/include/types.h -fno-builtin  -fomit-frame-pointer -fno-exceptions
> -Wall -Wno-format -Wconversion -O2 -mpreferred-stack-boundary=2 -march=i586
>   -c
> /home/antoine/Desktop/pistachio-0.4/kernel/src/glue/v4-ia32/asmsyms.cc
> ===> Generating include/asmsyms.h
> Can't modify reference constructor in scalar assignment at -e line 3, near
> ");"
> syntax error at -e line 5, near "if"
> syntax error at -e line 10, near "}"
> Execution of -e aborted due to compilation errors.
> ===> src/api/v4/exregs.cc
> cd src/api/v4/ &&  gcc -nostdinc
> -I/home/antoine/Desktop/pistachio-0.4/ia32-kernel-build/include
> -I/home/antoine/Desktop/pistachio- 0.4/kernel/include
> -I/usr/lib/gcc-lib/i486-linux-gnu/3.3.6/include -Uia32
> -Ui586 -Upc99 -Uv4 -D__ARCH__=ia32 -D__CPU__=i586 -D__PLATFORM__=pc99
> -D__API__=v4 -imacros
> /home/antoine/Desktop/pistachio-0.4/ia32-kernel-build/config/config.h
> -imacros /home/antoine/Desktop/pistachio-
> 0.4/kernel/include/macros.h -include
> /home/antoine/Desktop/pistachio-0.4/kernel/include/config.h
>  -include
> /home/antoine/Desktop/pistachio-0.4/kernel/include/types.h
> -fno-builtin  -fomit-frame-pointer -fno-exceptions -Wall -Wno-format
> -Wconversion -O2 -mpreferred-stack-boundary=2 -march=i586    -c
> /home/antoine/Desktop/pistachio-
> 0.4/kernel/src/api/v4/exregs.cc
> /home/antoine/Desktop/pistachio-0.4/kernel/src/api/v4/exregs.cc:233:2:
> warning: #warning VU: do we have to preserve prios on ex-regs?
> /home/antoine/Desktop/pistachio-0.4/kernel/src/api/v4/exregs.cc:248:2:
> warning: #warning eSk: Halting a thread with ongoing kernel operations is
> not supported
> ===> src/api/v4/ipc.cc
> cd src/api/v4/ &&  gcc -nostdinc
> -I/home/antoine/Desktop/pistachio-0.4/ia32-kernel-build/include
> -I/home/antoine/Desktop/pistachio-0.4/kernel/include
> -I/usr/lib/gcc-lib/i486-linux-gnu/3.3.6/include -Uia32
> -Ui586 -Upc99 -Uv4 -D__ARCH__=ia32 -D__CPU__=i586 -D__PLATFORM__=pc99
> -D__API__=v4 -imacros /home/antoine/Desktop/pistachio-
> 0.4/ia32-kernel-build/config/config.h -imacros
> /home/antoine/Desktop/pistachio-0.4/kernel/include/macros.h
> -include
> /home/antoine/Desktop/pistachio-0.4/kernel/include/config.h
>  -include /home/antoine/Desktop/pistachio-0.4
> /kernel/include/types.h -fno-builtin  -fomit-frame-pointer -fno-exceptions
> -Wall -Wno-format -Wconversion -O2 -mpreferred-stack-boundary=2 -march=i586
>   -c
> /home/antoine/Desktop/pistachio-0.4/kernel/src/api/v4/ipc.cc
> /home/antoine/Desktop/pistachio-0.4/kernel/src/api/v4/ipc.cc:270:2:
> warning: #warning add local id handling
> /home/antoine/Desktop/pistachio-0.4/kernel/src/api/v4/ipc.cc:521:2:
> warning: #warning wait_local incorrect
>  ===> src/api/v4/ipcx.cc
> cd src/api/v4/ &&  gcc -nostdinc
> -I/home/antoine/Desktop/pistachio-0.4/ia32-kernel-build/include
> -I/home/antoine/Desktop/pistachio-0.4/kernel/include
> -I/usr/lib/gcc-lib/i486-linux-gnu/3.3.6/include -Uia32
> -Ui586 -Upc99 -Uv4 -D__ARCH__=ia32 -D__CPU__=i586 -D__PLATFORM__=pc99
> -D__API__=v4 -imacros /home/antoine/Desktop/pistachio-
> 0.4/ia32-kernel-build/config/config.h -imacros
> /home/antoine/Desktop/pistachio-0.4/kernel/include/macros.h
> -include
> /home/antoine/Desktop/pistachio-0.4/kernel/include/config.h
>  -include /home/antoine/Desktop/pistachio-0.4
> /kernel/include/types.h -fno-builtin  -fomit-frame-pointer -fno-exceptions
> -Wall -Wno-format -Wconversion -O2 -mpreferred-stack-boundary=2 -march=i586
>   -c
> /home/antoine/Desktop/pistachio-0.4/kernel/src/api/v4/ipcx.cc
>  ===> include/version.h
> ===> src/api/v4/kernelinterface.cc
> cd src/api/v4/ &&  gcc -nostdinc
> -I/home/antoine/Desktop/pistachio-0.4/ia32-kernel-build/include
> -I/home/antoine/Desktop/pistachio-0.4/kernel/include
> -I/usr/lib/gcc-lib/i486-linux-gnu/3.3.6/include -Uia32
> -Ui586 -Upc99 -Uv4 -D__ARCH__=ia32 -D__CPU__=i586 -D__PLATFORM__=pc99
> -D__API__=v4 -imacros /home/antoine/Desktop/pistachio-
> 0.4/ia32-kernel-build/config/config.h -imacros
> /home/antoine/Desktop/pistachio-0.4/kernel/include/macros.h
> -include
> /home/antoine/Desktop/pistachio-0.4/kernel/include/config.h
>  -include /home/antoine/Desktop/pistachio-0.4
> /kernel/include/types.h -fno-builtin  -fomit-frame-pointer -fno-exceptions
> -Wall -Wno-format -Wconversion -O2 -mpreferred-stack-boundary=2 -march=i586
>   -c
> /home/antoine/Desktop/pistachio-0.4/kernel/src/api/v4/kernelinterface.cc
> ===> src/api/v4/thread.cc
> cd src/api/v4/ &&  gcc -nostdinc
> -I/home/antoine/Desktop/pistachio-0.4/ia32-kernel-build/include
> -I/home/antoine/Desktop/pistachio-0.4/kernel/include
> -I/usr/lib/gcc-lib/i486-linux-gnu/3.3.6/include -Uia32
> -Ui586 -Upc99 -Uv4 -D__ARCH__=ia32 -D__CPU__=i586 -D__PLATFORM__=pc99
> -D__API__=v4 -imacros /home/antoine/Desktop/pistachio-
> 0.4/ia32-kernel-build/config/config.h -imacros
> /home/antoine/Desktop/pistachio-0.4/kernel/include/macros.h
> -include
> /home/antoine/Desktop/pistachio-0.4/kernel/include/config.h
>  -include /home/antoine/Desktop/pistachio-0.4
> /kernel/include/types.h -fno-builtin  -fomit-frame-pointer -fno-exceptions
> -Wall -Wno-format -Wconversion -O2 -mpreferred-stack-boundary=2 -march=i586
>   -c
> /home/antoine/Desktop/pistachio-0.4/kernel/src/api/v4/thread.cc
> /home/antoine/Desktop/pistachio-0.4/kernel/src/api/v4/thread.cc:98:2:
> warning: #warning VU: revise fake_wait_for_startup
> /home/antoine/Desktop/pistachio-0.4/kernel/src/api/v4/thread.cc:120:2:
> warning: #warning fix locking for thread creation
> /home/antoine/Desktop/pistachio-0.4/kernel/src/api/v4/thread.cc:978:2:
> warning: #warning preemption IPC with timeout never -- should be zero
> ===> src/api/v4/schedule.cc
> cd src/api/v4/ &&  gcc -nostdinc
> -I/home/antoine/Desktop/pistachio-
> 0.4/ia32-kernel-build/include
> -I/home/antoine/Desktop/pistachio-0.4/kernel/include
> -I/usr/lib/gcc-lib/i486-linux-gnu/3.3.6/include -Uia32
> -Ui586 -Upc99 -Uv4 -D__ARCH__=ia32 -D__CPU__=i586 -D__PLATFORM__=pc99
> -D__API__=v4 -imacros /home/antoine/Desktop/pistachio-
> 0.4/ia32-kernel-build/config/config.h -imacros
> /home/antoine/Desktop/pistachio-0.4/kernel/include/macros.h
> -include
> /home/antoine/Desktop/pistachio-0.4/kernel/include/config.h
>  -include /home/antoine/Desktop/pistachio-0.4
> /kernel/include/types.h -fno-builtin  -fomit-frame-pointer -fno-exceptions
> -Wall -Wno-format -Wconversion -O2 -mpreferred-stack-boundary=2 -march=i586
>   -c
> /home/antoine/Desktop/pistachio-0.4/kernel/src/api/v4/schedule.cc
> /home/antoine/Desktop/pistachio-0.4/kernel/src/api/v4/schedule.cc:530:2:
> warning: #warning VU: limit upper bound of sensitive prio!
> /home/antoine/Desktop/pistachio-0.4/kernel/src/api/v4/schedule.cc:585:2:
> warning: #warning FIXME: Check sys_schedule parameters
> ===> src/api/v4/space.cc
> cd src/api/v4/ &&  gcc -nostdinc
> -I/home/antoine/Desktop/pistachio-0.4/ia32-kernel-build/include
> -I/home/antoine/Desktop/pistachio-0.4/kernel/include
> -I/usr/lib/gcc-lib/i486-linux-gnu/3.3.6/include -Uia32
> -Ui586 -Upc99 -Uv4 -D__ARCH__=ia32 -D__CPU__=i586 -D__PLATFORM__=pc99
> -D__API__=v4 -imacros /home/antoine/Desktop/pistachio-
> 0.4/ia32-kernel-build/config/config.h -imacros
> /home/antoine/Desktop/pistachio-0.4/kernel/include/macros.h
> -include
> /home/antoine/Desktop/pistachio-0.4/kernel/include/config.h
>  -include /home/antoine/Desktop/pistachio-0.4
> /kernel/include/types.h -fno-builtin  -fomit-frame-pointer -fno-exceptions
> -Wall -Wno-format -Wconversion -O2 -mpreferred-stack-boundary=2 -march=i586
>   -c
> /home/antoine/Desktop/pistachio-0.4/kernel/src/api/v4/space.cc
> /home/antoine/Desktop/pistachio-0.4/kernel/src/api/v4/space.cc:155:2:
> warning: #warning Handle priority inversion for xfer timeouts
> /home/antoine/Desktop/pistachio-0.4/kernel/src/api/v4/space.cc:206:2:
> warning: #warning sigma0-check in default pagefault handler.
> /home/antoine/Desktop/pistachio-0.4/kernel/src/api/v4/space.cc:400:2:
> warning: #warning VU: adapt to new msg_tag scheme
> ===> src/api/v4/interrupt.cc
> cd src/api/v4/ &&  gcc -nostdinc
> -I/home/antoine/Desktop/pistachio-
> 0.4/ia32-kernel-build/include
> -I/home/antoine/Desktop/pistachio-0.4/kernel/include
> -I/usr/lib/gcc-lib/i486-linux-gnu/3.3.6/include -Uia32
> -Ui586 -Upc99 -Uv4 -D__ARCH__=ia32 -D__CPU__=i586 -D__PLATFORM__=pc99
> -D__API__=v4 -imacros /home/antoine/Desktop/pistachio-
> 0.4/ia32-kernel-build/config/config.h -imacros
> /home/antoine/Desktop/pistachio-0.4/kernel/include/macros.h
> -include
> /home/antoine/Desktop/pistachio-0.4/kernel/include/config.h
>  -include /home/antoine/Desktop/pistachio-0.4
> /kernel/include/types.h -fno-builtin  -fomit-frame-pointer -fno-exceptions
> -Wall -Wno-format -Wconversion -O2 -mpreferred-stack-boundary=2 -march=i586
>   -c
> /home/antoine/Desktop/pistachio-0.4/kernel/src/api/v4/interrupt.cc
> /home/antoine/Desktop/pistachio-0.4/kernel/src/api/v4/interrupt.cc:324:2:
> warning: #warning VU: check for handler tid to be valid!
> ===> src/glue/v4-ia32/init.cc
> cd src/glue/v4-ia32/ &&  gcc -nostdinc
> -I/home/antoine/Desktop/pistachio-
> 0.4/ia32-kernel-build/include
> -I/home/antoine/Desktop/pistachio-0.4/kernel/include
> -I/usr/lib/gcc-lib/i486-linux-gnu/3.3.6/include -Uia32
> -Ui586 -Upc99 -Uv4 -D__ARCH__=ia32 -D__CPU__=i586 -D__PLATFORM__=pc99
> -D__API__=v4 -imacros /home/antoine/Desktop/pistachio-
> 0.4/ia32-kernel-build/config/config.h -imacros
> /home/antoine/Desktop/pistachio-0.4/kernel/include/macros.h
> -include
> /home/antoine/Desktop/pistachio-0.4/kernel/include/config.h
>  -include /home/antoine/Desktop/pistachio-0.4
> /kernel/include/types.h -fno-builtin  -fomit-frame-pointer -fno-exceptions
> -Wall -Wno-format -Wconversion -O2 -mpreferred-stack-boundary=2 -march=i586
>   -c
> /home/antoine/Desktop/pistachio-0.4/kernel/src/glue/v4-ia32/init.cc
> /home/antoine/Desktop/pistachio-0.4/kernel/src/glue/v4-ia32/init.cc:425:2:
> warning: #warning kernel memory hack
> /home/antoine/Desktop/pistachio-0.4/kernel/src/glue/v4-ia32/init.cc:747:2:
> warning: #warning "use virt_to_phys for page mappings"
> ===> src/glue/v4-ia32/exception.cc
> cd src/glue/v4-ia32/ &&  gcc -nostdinc
> -I/home/antoine/Desktop/pistachio-0.4/ia32-kernel-build/include
> -I/home/antoine/Desktop/pistachio-0.4/kernel/include
> -I/usr/lib/gcc-lib/i486-linux-gnu/3.3.6/include -Uia32
> -Ui586 -Upc99 -Uv4 -D__ARCH__=ia32 -D__CPU__=i586 -D__PLATFORM__=pc99
> -D__API__=v4 -imacros /home/antoine/Desktop/pistachio-
> 0.4/ia32-kernel-build/config/config.h -imacros
> /home/antoine/Desktop/pistachio-0.4/kernel/include/macros.h
> -include
> /home/antoine/Desktop/pistachio-0.4/kernel/include/config.h
>  -include /home/antoine/Desktop/pistachio-0.4
> /kernel/include/types.h -fno-builtin  -fomit-frame-pointer -fno-exceptions
> -Wall -Wno-format -Wconversion -O2 -mpreferred-stack-boundary=2 -march=i586
>  -fomit-frame-pointer -c
> /home/antoine/Desktop/pistachio-0.4/kernel/src/glue/v4-ia32/exception.cc
> /home/antoine/Desktop/pistachio-0.4/kernel/src/glue/v4-ia32/exception.cc:
> In
>    function `void
> exc_catch_common_handler(ia32_exceptionframe_t*)':
> /home/antoine/Desktop/pistachio-0.4/kernel/src/glue/v4-ia32/exception.cc:347:
> warning: unused
>    variable `word_t irq'
> ===> src/glue/v4-ia32/space.cc
> cd src/glue/v4-ia32/ &&  gcc -nostdinc
> -I/home/antoine/Desktop/pistachio-0.4/ia32-kernel-build/include
> -I/home/antoine/Desktop/pistachio-0.4 /kernel/include
> -I/usr/lib/gcc-lib/i486-linux-gnu/3.3.6/include -Uia32
> -Ui586 -Upc99 -Uv4 -D__ARCH__=ia32 -D__CPU__=i586 -D__PLATFORM__=pc99
> -D__API__=v4 -imacros
> /home/antoine/Desktop/pistachio-0.4/ia32-kernel-build/config/config.h
> -imacros /home/antoine/Desktop/pistachio-
> 0.4/kernel/include/macros.h -include
> /home/antoine/Desktop/pistachio-0.4/kernel/include/config.h
>  -include
> /home/antoine/Desktop/pistachio-0.4/kernel/include/types.h
> -fno-builtin  -fomit-frame-pointer -fno-exceptions -Wall -Wno-format
> -Wconversion -O2 -mpreferred-stack-boundary=2 -march=i586    -c
> /home/antoine/Desktop/pistachio-
> 0.4/kernel/src/glue/v4-ia32/space.cc
> /home/antoine/Desktop/pistachio-0.4/kernel/src/glue/v4-ia32/space.cc:484:2:
> warning: #warning VU: space_t has to be restructured having an init and
> activate function
> ===> src/glue/v4-ia32/debug.cc
> cd src/glue/v4-ia32/ &&  gcc -nostdinc
> -I/home/antoine/Desktop/pistachio-0.4/ia32-kernel-build/include
> -I/home/antoine/Desktop/pistachio-0.4/kernel/include
> -I/usr/lib/gcc-lib/i486-linux-gnu/3.3.6/include -Uia32
> -Ui586 -Upc99 -Uv4 -D__ARCH__=ia32 -D__CPU__=i586 -D__PLATFORM__=pc99
> -D__API__=v4 -imacros /home/antoine/Desktop/pistachio-
> 0.4/ia32-kernel-build/config/config.h -imacros
> /home/antoine/Desktop/pistachio-0.4/kernel/include/macros.h
> -include
> /home/antoine/Desktop/pistachio-0.4/kernel/include/config.h
>  -include /home/antoine/Desktop/pistachio-0.4
> /kernel/include/types.h -fno-builtin  -fomit-frame-pointer -fno-exceptions
> -Wall -Wno-format -Wconversion -O2 -mpreferred-stack-boundary=2 -march=i586
>   -c
> /home/antoine/Desktop/pistachio-0.4/kernel/src/glue/v4-ia32/debug.cc
> ===> src/glue/v4-ia32/resources.cc
> cd src/glue/v4-ia32/ &&  gcc -nostdinc
> -I/home/antoine/Desktop/pistachio-0.4/ia32-kernel-build/include
> -I/home/antoine/Desktop/pistachio-0.4/kernel/include
> -I/usr/lib/gcc-lib/i486-linux-gnu/3.3.6/include -Uia32
> -Ui586 -Upc99 -Uv4 -D__ARCH__=ia32 -D__CPU__=i586 -D__PLATFORM__=pc99
> -D__API__=v4 -imacros /home/antoine/Desktop/pistachio-
> 0.4/ia32-kernel-build/config/config.h -imacros
> /home/antoine/Desktop/pistachio-0.4/kernel/include/macros.h
> -include
> /home/antoine/Desktop/pistachio-0.4/kernel/include/config.h
>  -include /home/antoine/Desktop/pistachio-0.4
> /kernel/include/types.h -fno-builtin  -fomit-frame-pointer -fno-exceptions
> -Wall -Wno-format -Wconversion -O2 -mpreferred-stack-boundary=2 -march=i586
>   -c
> /home/antoine/Desktop/pistachio-0.4/kernel/src/glue/v4-ia32/resources.cc
> ===> src/glue/v4-ia32/thread.cc
> cd src/glue/v4-ia32/ &&  gcc -nostdinc
> -I/home/antoine/Desktop/pistachio-0.4/ia32-kernel-build/include
> -I/home/antoine/Desktop/pistachio-0.4/kernel/include
> -I/usr/lib/gcc-lib/i486-linux-gnu/3.3.6/include -Uia32
> -Ui586 -Upc99 -Uv4 -D__ARCH__=ia32 -D__CPU__=i586 -D__PLATFORM__=pc99
> -D__API__=v4 -imacros /home/antoine/Desktop/pistachio-
> 0.4/ia32-kernel-build/config/config.h -imacros
> /home/antoine/Desktop/pistachio-0.4/kernel/include/macros.h
> -include
> /home/antoine/Desktop/pistachio-0.4/kernel/include/config.h
>  -include /home/antoine/Desktop/pistachio-0.4
> /kernel/include/types.h -fno-builtin  -fomit-frame-pointer -fno-exceptions
> -Wall -Wno-format -Wconversion -O2 -mpreferred-stack-boundary=2 -march=i586
>   -c
> /home/antoine/Desktop/pistachio-0.4/kernel/src/glue/v4-ia32/thread.cc
> rm lds.tmp
> make[1]: Leaving directory
> `/home/antoine/Desktop/pistachio-0.4/ia32-kernel-build'
> make: *** [all] Error 2
>
> Thank you for your help
> Bye
> Antoine
>