Open GoogleCodeExporter opened 9 years ago
Similarly, when trying to build the example userland with a temporary path
tweak and
some symlinks, this happens:
[tyson@nagasaki i9os]$
PATH=/opt/sun/sunstudioceres/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/lib/
ccache::/usr/local/win32/bin:/opt/perforce/bin:/opt/cxoffice/bin:/usr/local/bin:
/usr/bin:/bin:/usr/NX/bin:/opt/real/RealPlayer:/home/tyson/bin:/usr/NX/bin:/opt/
real/RealPlayer
make l4ul-build
/home/tyson/i9os/BuildL4UL
make[1]: Entering directory `/home/tyson/i9os/BuildL4UL'
make[2]: Entering directory `/home/tyson/i9os/BuildL4UL/lib'
make[3]: Entering directory `/home/tyson/i9os/BuildL4UL/lib/l4'
===> Making dependencies in lib/l4
gcc: Warning: Option -fno-stack-protector passed to ld, if ld is invoked,
ignored
otherwise
gcc: Warning: Option -nostdinc passed to ld, if ld is invoked, ignored
otherwise
gcc: Warning: Option -Wall passed to ld, if ld is invoked, ignored otherwise
gcc: Warning: Option -Wshadow passed to ld, if ld is invoked, ignored otherwise
gcc: Warning: Option -Wconversion passed to ld, if ld is invoked, ignored
otherwise
"../../../Microkernel/user/include/l4/ia32/types.h", line 40: Warning: attribute
__mode__ is unsupported and will be skipped..
"../../../Microkernel/user/include/l4/ia32/types.h", line 47: Warning: attribute
__mode__ is unsupported and will be skipped..
"../../../Microkernel/user/include/l4/ia32/specials.h", line 56: Warning: The
variable bitnum has not yet been assigned a value.
"../../../Microkernel/user/include/l4/types.h", line 376: Error: Unexpected
type name
"L4_Clock_t" encountered.
"../../../Microkernel/user/include/l4/types.h", line 376: Error: Use ";" to
terminate
statements.
"../../../Microkernel/user/include/l4/types.h", line 376: Error: Use ";" to
terminate
statements.
"../../../Microkernel/user/include/l4/types.h", line 381: Error: Unexpected
type name
"L4_Clock_t" encountered.
"../../../Microkernel/user/include/l4/types.h", line 381: Error: Use ";" to
terminate
statements.
"../../../Microkernel/user/include/l4/types.h", line 381: Error: Use ";" to
terminate
statements.
"../../../Microkernel/user/include/l4/types.h", line 386: Error: Unexpected
type name
"L4_Clock_t" encountered.
"../../../Microkernel/user/include/l4/types.h", line 386: Error: Use ";" to
terminate
statements.
"../../../Microkernel/user/include/l4/types.h", line 386: Error: Use ";" to
terminate
statements.
"../../../Microkernel/user/include/l4/types.h", line 391: Error: Unexpected
type name
"L4_Clock_t" encountered.
"../../../Microkernel/user/include/l4/types.h", line 391: Error: Use ";" to
terminate
statements.
"../../../Microkernel/user/include/l4/types.h", line 391: Error: Use ";" to
terminate
statements.
"../../../Microkernel/user/include/l4/types.h", line 396: Error: Unexpected
type name
"L4_Clock_t" encountered.
"../../../Microkernel/user/include/l4/types.h", line 396: Error: Use ";" to
terminate
statements.
"../../../Microkernel/user/include/l4/types.h", line 396: Error: Use ";" to
terminate
statements.
"../../../Microkernel/user/include/l4/types.h", line 401: Error: Unexpected
type name
"L4_Clock_t" encountered.
"../../../Microkernel/user/include/l4/types.h", line 401: Error: Use ";" to
terminate
statements.
"../../../Microkernel/user/include/l4/types.h", line 401: Error: Use ";" to
terminate
statements.
"../../../Microkernel/user/include/l4/types.h", line 407: Error: Unexpected
type name
"L4_Clock_t" encountered.
"../../../Microkernel/user/include/l4/types.h", line 407: Error: Use ";" to
terminate
statements.
"../../../Microkernel/user/include/l4/types.h", line 407: Error: Use ";" to
terminate
statements.
"../../../Microkernel/user/include/l4/types.h", line 412: Error: Unexpected
type name
"L4_Clock_t" encountered.
"../../../Microkernel/user/include/l4/types.h", line 412: Error: Use ";" to
terminate
statements.
"../../../Microkernel/user/include/l4/types.h", line 412: Error: Use ";" to
terminate
statements.
"../../../Microkernel/user/include/l4/types.h", line 504: Error: The function
"__builtin_constant_p" must have a prototype.
Compilation aborted, too many Error messages.
Assembler:
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 52 : Syntax
error
Near line: " .section .data.syscalls, "wax", "progbits""
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 56 :
'.previous' invoked before any other section
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 58 : Syntax
error
Near line: " .section .data.syscalls_copy, "wax", "progbits""
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 61 :
'.previous' invoked before any other section
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 63 : Syntax
error
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 63 :
'.previous' invoked before any other section
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 63 : Syntax
error
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 63 :
'.previous' invoked before any other section
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 64 : Syntax error
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 64 :
'.previous' invoked before any other section
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 64 : Syntax error
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 64 :
'.previous' invoked before any other section
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 65 : Syntax error
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 65 :
'.previous' invoked before any other section
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 65 : Syntax error
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 65 :
'.previous' invoked before any other section
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 66 : Syntax error
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 66 :
'.previous' invoked before any other section
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 66 : Syntax error
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 66 :
'.previous' invoked before any other section
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 67 : Syntax error
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 67 :
'.previous' invoked before any other section
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 67 : Syntax error
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 67 :
'.previous' invoked before any other section
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 68 : Syntax error
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 68 :
'.previous' invoked before any other section
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 68 : Syntax error
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 68 :
'.previous' invoked before any other section
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 69 : Syntax error
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 69 :
'.previous' invoked before any other section
"../../../Microkernel/user/lib/l4/ia32-syscall-stubs.S", line 69 : Syntax error
Too many errors - Goodbye
make[3]: *** No rule to make target `.depend', needed by `library-all'. Stop.
make[3]: Leaving directory `/home/tyson/i9os/BuildL4UL/lib/l4'
make[2]: *** [subdirs-all] Error 2
make[2]: Leaving directory `/home/tyson/i9os/BuildL4UL/lib'
make[1]: *** [subdirs-all] Error 2
make[1]: Leaving directory `/home/tyson/i9os/BuildL4UL'
make: *** [l4ul-build] Error 2
[tyson@nagasaki i9os]$
Original comment by tyson....@gmail.com
on 19 Apr 2009 at 12:32
... and when trying to build GenodeKit with SSE3/09:
[tyson@nagasaki build.pistachio_x86]$
PATH=/opt/sun/sunstudioceres/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/lib/
ccache::/usr/local/win32/bin:/opt/perforce/bin:/opt/cxoffice/bin:/usr/local/bin:
/usr/bin:/bin:/usr/NX/bin:/opt/real/RealPlayer:/home/tyson/bin:/usr/NX/bin:/opt/
real/RealPlayer
make
Processing ../base/src/test/rm_nested/target.mk
-----------------------------------------------
Skip program test-rmnested because it requires experimental
Processing ../base/src/test/rm_fault/target.mk
----------------------------------------------
Library slab
g++: Warning: Option -print-libgcc-file-name passed to ld, if ld is invoked,
ignored
otherwise
Usage: g++ [ options ] files. Use 'g++ -flags' for details
dirname: missing operand
Try `dirname --help' for more information.
COMPILE slab_slab.o
g++: Warning: Option -nostdinc passed to ld, if ld is invoked, ignored
otherwise
g++: Warning: Option -Wall passed to ld, if ld is invoked, ignored otherwise
g++: Invalid input file name slab.o slab.d, no output generated for this file.
"/home/tyson/i9os/Personalities/GenodeKit/base/include/base/slab.h", line 54:
Error:
In this declaration "_data" is of an incomplete type "char[]".
"/home/tyson/i9os/Personalities/GenodeKit/base/include/base/slab.h", line 65:
Error:
Pointer type needed instead of int.
"/home/tyson/i9os/Personalities/GenodeKit/base/include/base/slab.h", line 66:
Error:
Pointer type needed instead of int.
"/home/tyson/i9os/Personalities/GenodeKit/base/include/base/slab.h", line 127:
Error:
In this declaration "_data" is of an incomplete type "char[]".
"/home/tyson/i9os/Personalities/GenodeKit/base/include/base/slab.h", line 149:
Error:
Cannot return int from a function that should return void*.
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 49:
Error: Pointer type needed instead of int.
6 Error(s) detected.
make[8]: *** [slab_slab.o] Error 6
make[7]: ***
[/home/tyson/i9os/Personalities/GenodeKit/build.pistachio_x86/var/libcache/slab.
lib.a] Error
2
make[6]: *** [all] Error 2
make[5]: ***
[/home/tyson/i9os/Personalities/GenodeKit/build.pistachio_x86/var/libcache/alloc
ator_avl.lib.a]
Error 2
make[4]: *** [all] Error 2
make[3]: ***
[/home/tyson/i9os/Personalities/GenodeKit/build.pistachio_x86/var/libcache/cxx.l
ib.a]
Error 2
make[2]: *** [all_sequence] Error 2
make[1]: *** [single_target] Error 2
make: *** [.] Error 2
[tyson@nagasaki build.pistachio_x86]$ ls
bin etc Makefile progress.log test var
[tyson@nagasaki build.pistachio_x86]$ vim progress.log
[tyson@nagasaki build.pistachio_x86]$ vim etc/
build.conf pistachio.conf .svn/ tools.conf
[tyson@nagasaki build.pistachio_x86]$ vim etc/build.conf
[tyson@nagasaki build.pistachio_x86]$
PATH=/opt/sun/sunstudioceres/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/lib/
ccache::/usr/local/win32/bin:/opt/perforce/bin:/opt/cxoffice/bin:/usr/local/bin:
/usr/bin:/bin:/usr/NX/bin:/opt/real/RealPlayer:/home/tyson/bin:/usr/NX/bin:/opt/
real/RealPlayer
make
Processing ../base/src/test/rm_nested/target.mk
-----------------------------------------------
Skip program test-rmnested because it requires experimental
Processing ../base/src/test/rm_fault/target.mk
----------------------------------------------
Skip cxx library because of missing library description file cxx.mk
Skip ipc library because of missing library description file ipc.mk
Library slab
g++: Warning: Option -print-libgcc-file-name passed to ld, if ld is invoked,
ignored
otherwise
Usage: g++ [ options ] files. Use 'g++ -flags' for details
dirname: missing operand
Try `dirname --help' for more information.
COMPILE slab_slab.o
g++: Warning: Option -Wall passed to ld, if ld is invoked, ignored otherwise
g++: Invalid input file name slab.o slab.d, no output generated for this file.
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 15:
Error: Could not open include file<base/slab.h>.
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 16:
Error: Could not open include file<util/misc_math.h>.
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 18:
Error: Genode is not defined.
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 28:
Error: "inline" is not allowed here.
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 28:
Error: Multiple declaration for new.
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 28:
Error: size_t is not defined.
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 28:
Error: Badly formed expression.
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 31:
Error: Slab_block is not defined.
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 31:
Error: In this declaration "slab" is of an incomplete type "void".
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 31:
Error: Slab is not defined.
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 32:
Error: "," expected instead of "{".
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 34:
Error: _slab is not defined.
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 35:
Error: prev is not defined.
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 37:
Error: A declaration was expected instead of "for".
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 37:
Error: No direct declarator preceding "(".
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 37:
Error: Template i is not defined.
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 37:
Error: Multiple declaration for i.
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 37:
Error: "," expected instead of "++".
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 39:
Error: A declaration was expected instead of "}".
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 42:
Error: "," expected instead of "*".
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 51:
Error: A declaration was expected instead of "}".
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 54:
Error: Slab_block is not defined.
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 54:
Error: e is not defined.
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 54:
Error: "," expected instead of "{".
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 55:
Error: A declaration was expected instead of "}".
Compilation aborted, too many Error messages.
make[10]: *** [slab_slab.o] Error 1
make[9]: ***
[/home/tyson/i9os/Personalities/GenodeKit/build.pistachio_x86/var/libcache/slab.
lib.a] Error
2
make[8]: *** [all] Error 2
make[7]: ***
[/home/tyson/i9os/Personalities/GenodeKit/build.pistachio_x86/var/libcache/alloc
ator_avl.lib.a]
Error 2
make[6]: *** [all] Error 2
make[5]: ***
[/home/tyson/i9os/Personalities/GenodeKit/build.pistachio_x86/var/libcache/heap.
lib.a] Error
2
make[4]: *** [all] Error 2
make[3]: ***
[/home/tyson/i9os/Personalities/GenodeKit/build.pistachio_x86/var/libcache/env.l
ib.a]
Error 2
make[2]: *** [all_sequence] Error 2
make[1]: *** [single_target] Error 2
make: *** [.] Error 2
[tyson@nagasaki build.pistachio_x86]$ vim etc/build.conf
[tyson@nagasaki build.pistachio_x86]$
PATH=/opt/sun/sunstudioceres/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/lib/
ccache::/usr/local/win32/bin:/opt/perforce/bin:/opt/cxoffice/bin:/usr/local/bin:
/usr/bin:/bin:/usr/NX/bin:/opt/real/RealPlayer:/home/tyson/bin:/usr/NX/bin:/opt/
real/RealPlayer
make
Processing ../base/src/test/rm_nested/target.mk
-----------------------------------------------
Skip program test-rmnested because it requires experimental
Processing ../base/src/test/rm_fault/target.mk
----------------------------------------------
Library slab
g++: Warning: Option -print-libgcc-file-name passed to ld, if ld is invoked,
ignored
otherwise
Usage: g++ [ options ] files. Use 'g++ -flags' for details
dirname: missing operand
Try `dirname --help' for more information.
COMPILE slab_slab.o
g++: Warning: Option -nostdinc passed to ld, if ld is invoked, ignored otherwise
g++: Warning: Option -Wall passed to ld, if ld is invoked, ignored otherwise
g++: Invalid input file name slab.o slab.d, no output generated for this file.
"/home/tyson/i9os/Personalities/GenodeKit/base/include/base/slab.h", line 54:
Error:
In this declaration "_data" is of an incomplete type "char[]".
"/home/tyson/i9os/Personalities/GenodeKit/base/include/base/slab.h", line 65:
Error:
Pointer type needed instead of int.
"/home/tyson/i9os/Personalities/GenodeKit/base/include/base/slab.h", line 66:
Error:
Pointer type needed instead of int.
"/home/tyson/i9os/Personalities/GenodeKit/base/include/base/slab.h", line 127:
Error:
In this declaration "_data" is of an incomplete type "char[]".
"/home/tyson/i9os/Personalities/GenodeKit/base/include/base/slab.h", line 149:
Error:
Cannot return int from a function that should return void*.
"/home/tyson/i9os/Personalities/GenodeKit/base/src/base/allocator/slab.cc",
line 49:
Error: Pointer type needed instead of int.
6 Error(s) detected.
make[8]: *** [slab_slab.o] Error 6
make[7]: ***
[/home/tyson/i9os/Personalities/GenodeKit/build.pistachio_x86/var/libcache/slab.
lib.a] Error
2
make[6]: *** [all] Error 2
make[5]: ***
[/home/tyson/i9os/Personalities/GenodeKit/build.pistachio_x86/var/libcache/alloc
ator_avl.lib.a]
Error 2
make[4]: *** [all] Error 2
make[3]: ***
[/home/tyson/i9os/Personalities/GenodeKit/build.pistachio_x86/var/libcache/cxx.l
ib.a]
Error 2
make[2]: *** [all_sequence] Error 2
make[1]: *** [single_target] Error 2
make: *** [.] Error 2
Original comment by tyson....@gmail.com
on 19 Apr 2009 at 12:42
Original issue reported on code.google.com by
tyson....@gmail.com
on 19 Apr 2009 at 12:17