L4Env compilation error

Jayesh Salvi jayesh.salvi at veritas.com
Thu Feb 17 16:25:24 CET 2005


I had my L4Env compiled last weekend, but after that I had to upgrade my
linux to Fedora Core 3, which changed my compiler version. So I started
compiling form scratch and I stumbled on this error. I have appended the
compiler version at the end.

 

make[3]: Entering directory `/home/jayesh/oskit/examples'

gcc -c -MD -DHAVE_CONFIG_H  -DOSKIT -D__KERNEL__ -I. -I../examples/x86
-I- -I.. -I.. -I../flux/c -I../libfdev_linux/include -nostdinc -g -O2
-march=i586 -Wall  ../examples/x86/multiboot.c

ld -Ttext 100000  -L../lib \

        -o multiboot ../lib/multiboot.o multiboot.o             \

        -lkern -lmc -llmm ../lib/crtn.o
/usr/lib/gcc/i386-redhat-linux/3.4.2/libgcc.a

gcc -c -MD -DHAVE_CONFIG_H  -DOSKIT -D__KERNEL__ -I. -I../examples/x86
-I- -I.. -I.. -I../flux/c -I../libfdev_linux/include -nostdinc -g -O2
-march=i586 -Wall  ../examples/x86/multiboot-gdb.c

ld -Ttext 100000  -L../lib \

        -o multiboot-gdb ../lib/multiboot.o multiboot-gdb.o
\

        -lkern -lmc -llmm ../lib/crtn.o
/usr/lib/gcc/i386-redhat-linux/3.4.2/libgcc.a

gcc -c -MD -DHAVE_CONFIG_H  -DOSKIT -D__KERNEL__ -I. -I../examples/x86
-I- -I.. -I.. -I../flux/c -I../libfdev_linux/include -nostdinc -g -O2
-march=i586 -Wall  ../examples/x86/multiboot-smp.c

ld -Ttext 100000  -L../lib \

        -o multiboot-smp ../lib/multiboot.o multiboot-smp.o
\

        -lsmp -lkern -lmc -llmm ../lib/crtn.o
/usr/lib/gcc/i386-redhat-linux/3.4.2/libgcc.a

../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 `/home/jayesh/oskit/examples'

make[2]: *** [examples/all.MAKE] Error 2

make[2]: Leaving directory `/home/jayesh/oskit'

make[1]: *** [all] Error 2

make[1]: Leaving directory `/home/jayesh/oskit'

make: *** [../oskit] Error 2

 

 

[jayesh at orion l4]$ gcc -v

Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.2/specs

Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-java-awt=gtk
--host=i386-redhat-linux

Thread model: posix

gcc version 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)

 

 

Any guess.

 

Jayesh

jsalvi at veritas

67349

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://os.inf.tu-dresden.de/pipermail/l4-hackers/attachments/20050217/736fe273/attachment.html>


More information about the l4-hackers mailing list