harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Petrenko" <alexey.a.petre...@gmail.com>
Subject Re: [drlvm] unable to build on ubuntu
Date Fri, 23 Mar 2007 11:27:20 GMT
hm... I got the same failure on my Fedora box with gcc 4.1.1... :(

SY, Alexey

2007/3/23, Nathan Beyer <ndbeyer@apache.org>:
> I'm having trouble getting drlvm to build on ubuntu, can anyone offer
> a suggestion as to what might be causing this failure.
>
> build.native.init:
>     [echo] ## Building native of 'vm.hythr'
>
> build.native.c:
>       [cc] Starting dependency analysis for 17 files.
>       [cc] 17 files are up to date.
>       [cc] 0 files to be recompiled from dependency analysis.
>       [cc] 1 total files to be compiled.
>       [cc] /home/nathan/harmony/drlvm-trunk/vm/thread/src/linux/os_thread.c:27:
> error: expected declaration specifiers or '...' before 'gettid'
>       [cc] /home/nathan/harmony/drlvm-trunk/vm/thread/src/linux/os_thread.c:
> In function '_syscall0':
>       [cc] /home/nathan/harmony/drlvm-trunk/vm/thread/src/linux/os_thread.c:44:
> error: expected '=', ',', ';', 'asm' or '__attribute__' before '{'
> token
>       [cc] /home/nathan/harmony/drlvm-trunk/vm/thread/src/linux/os_thread.c:86:
> error: expected '=', ',', ';', 'asm' or '__attribute__' before '{'
> token
>       [cc] /home/nathan/harmony/drlvm-trunk/vm/thread/src/linux/os_thread.c:107:
> error: expected '=', ',', ';', 'asm' or '__attribute__' before '{'
> token
>       [cc] /home/nathan/harmony/drlvm-trunk/vm/thread/src/linux/os_thread.c:115:
> error: expected '=', ',', ';', 'asm' or '__attribute__' before '{'
> token
>       [cc] /home/nathan/harmony/drlvm-trunk/vm/thread/src/linux/os_thread.c:127:
> error: expected '=', ',', ';', 'asm' or '__attribute__' before '{'
> token
>       [cc] /home/nathan/harmony/drlvm-trunk/vm/thread/src/linux/os_thread.c:138:
> error: expected '=', ',', ';', 'asm' or '__attribute__' before '{'
> token
>       [cc] /home/nathan/harmony/drlvm-trunk/vm/thread/src/linux/os_thread.c:142:
> error: storage class specified for parameter 'yield_other_init_flag'
>       [cc] /home/nathan/harmony/drlvm-trunk/vm/thread/src/linux/os_thread.c:142:
> error: parameter 'yield_other_init_flag' is initialized
>       [cc] /home/nathan/harmony/drlvm-trunk/vm/thread/src/linux/os_thread.c:143:
> error: storage class specified for parameter 'yield_other_sem'
>       [cc] /home/nathan/harmony/drlvm-trunk/vm/thread/src/linux/os_thread.c:145:
> error: expected '=', ',', ';', 'asm' or '__attribute__' before '{'
> token
>       [cc] /home/nathan/harmony/drlvm-trunk/vm/thread/src/linux/os_thread.c:150:
> error: expected '=', ',', ';', 'asm' or '__attribute__' before '{'
> token
>       [cc] /home/nathan/harmony/drlvm-trunk/vm/thread/src/linux/os_thread.c:167:
> error: expected '=', ',', ';', 'asm' or '__attribute__' before '{'
> token
>       [cc] /home/nathan/harmony/drlvm-trunk/vm/thread/src/linux/os_thread.c:205:
> error: expected '=', ',', ';', 'asm' or '__attribute__' before '{'
> token
>       [cc] /home/nathan/harmony/drlvm-trunk/vm/thread/src/linux/os_thread.c:218:
> error: old-style parameter declarations in prototyped function
> definition
>       [cc] /home/nathan/harmony/drlvm-trunk/vm/thread/src/linux/os_thread.c:27:
> error: parameter name omitted
>       [cc] /home/nathan/harmony/drlvm-trunk/vm/thread/src/linux/os_thread.c:218:
> error: expected '{' at end of input
>
> BUILD FAILED
> /home/nathan/harmony/drlvm-trunk/build/make/build.xml:451: The
> following error occurred while executing this line:
> /home/nathan/harmony/drlvm-trunk/build/make/build.xml:458: The
> following error occurred while executing this line:
> /home/nathan/harmony/drlvm-trunk/build/make/build_component.xml:72:
> The following error occurred while executing this line:
> /home/nathan/harmony/drlvm-trunk/build/lnx_ia32_gcc_debug/semis/build/targets/build.native.xml:71:
> gcc failed with return code 1
>

Mime
View raw message