L4Env Compilation Error at "Multiboot-SMP" on Gentoo

Kenji Miyamoto kenji.miyamoto.bsd at gmail.com
Wed Jul 13 05:07:15 CEST 2005

Hello all,

I am getting an error when compiling L4Env on my computer:

Gentoo 2005.0 i386 (Pentium 4)

I have download the newest CVS sources as of today (July 12th, 2005).

I have had my drive in both the CVS directory
(/usr/src/cvs/l4linux-2.6/l4) and a secondary mounted hard drive
(/l4-linux/usr/src/l4linux-2.6/l4) with no different in results.  How
would I get it to build?

My configuration options are as follows, from DROPS:
Target Architectures  --->
    [*] x86
        CPU types: "686"
    [*] L4 V2
[*] Build shared libloaders.s.so
Paths and Directories  --->
    DROPS_STDDIR: "/l4-linux"
        L4LINUX22_DIR: "$(L4DIR)/../linux22"
        [*] Linux 2.6 kernel sources available
        Path to Linux 2.6 sources: "$(L4DIR)/../l4linux-2.6"
        DDE include path (DDE_INCDIR):
        DDE-2.6 include path (DDE26_INCDIR):
$(L4DIR)/include/l4/dde_linux26 $(DROPS_STDDIR)
        SDL include path (SDL_INCDIR): "$(L4DIR)/include/l4/sdl
Verboseness and Messages  --->
    [*] Verbose dependency building
    [*] Verbose compilation and building
    [*] Short messages for compilation
    [*] Colored build-steps
Compilers and Tools  --->
    [*] System has ld.so (highly recommended if so)
    [*] Automatically determine internal gcc preprocessor names
    [*] Automatically determine internal ld names
    [*] Strip binaries on install
    [*] Generate stabs-compatible debug Infos with gcc-3+
    [*] GCC: Omit Frame-pointers
    [*] Generate Map-files for binaries

This is where the error starts:
make[3]: Entering directory `/l4-linux/usr/src/l4linux-2.6/oskit/examples'
ld -Ttext 100000  -L../lib \
        -o multiboot-smp ../lib/multiboot.o multiboot-smp.o             \
        -lsmp -lkern -lmc -llmm ../lib/crtn.o
../lib/libsmp.a(boot.o)(.text+0x29): In function `_SMP_TRAMP_START_':
: relocation truncated to fit: R_386_16 _SMP_TRAMP_32_ENTRY_
make[3]: *** [multiboot-smp] Error 1
make[3]: Leaving directory `/l4-linux/usr/src/l4linux-2.6/oskit/examples'
make[2]: *** [examples/all.MAKE] Error 2
make[2]: Leaving directory `/l4-linux/usr/src/l4linux-2.6/oskit'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/l4-linux/usr/src/l4linux-2.6/oskit'
make: *** [../oskit] Error 2

Any help would be greatly appreciated.

- Neil

More information about the l4-hackers mailing list