compile error

Alexander Boettcher boettcher at os.inf.tu-dresden.de
Mon Apr 14 12:35:31 CEST 2008


Hi,

ok, the problem is a missing dependency of the loader lib to the 
uclibc_support lib. Please find attached a fix. Apply the patch and 
build l4env again. This fix will be available by svn in the next days.

Best,

Alex B.

Alexander Boettcher wrote:
> Hello,
> 
> 
> 盛淑蕙 wrote:
>> Hi,
>> I have downloaded the fiasco,l4linux and l4env as following
>>
>> ./repomgr co fiasco
>> ./repomgr co hello
>> ./repomgr co l4linux2.6-env
> 
> you need at least also l4env to checkout by
> 
> ./repomgr co l4env
> 
> Best,
> 
> Alex B.
> 
>> svn co http://svn.tudos.org/repos/l4linux/trunk l4linux-2.6
>>
>> It is failed to compile during building the loader package.
>>
>> === Building lib of "loader" ===
>> PWD=/usr/l4/pkg/loader make -C loader lib -o include -o idl
>> make[2]: Entering directory `/usr/l4/l4/pkg/loader'
>> test -f lib/broken -o -f lib/obsolete ||                \
>>             if [ -f lib/Makefile ] ; then PWD=/usr/l4/pkg/loader/lib
>> make -C lib  ; fi
>> make[3]: Entering directory `/usr/l4/l4/pkg/loader/lib'
>> test -f clientlib/broken -o -f clientlib/obsolete ||            \
>>             if [ -f clientlib/Makefile ] ; then
>> PWD=/usr/l4/pkg/loader/lib/clientlib make -C clientlib  ; fi
>> make[4]: Entering directory `/usr/l4/l4/pkg/loader/lib/clientlib'
>> PWD=/usr/l4/build/l4env/pkg/loader/lib/clientlib/OBJ-x86_586-l4v2 make
>>  -C /usr/l4/build/l4env/pkg/loader/lib/clientlib/OBJ-x86_586-l4v2 -f
>> Makefile
>> make[5]: Entering directory
>> `/usr/l4/build/l4env/pkg/loader/lib/clientlib/OBJ-x86_586-l4v2'
>> make[5]: Leaving directory
>> `/usr/l4/build/l4env/pkg/loader/lib/clientlib/OBJ-x86_586-l4v2'
>> make[4]: Leaving directory `/usr/l4/l4/pkg/loader/lib/clientlib'
>> test -f runtime/broken -o -f runtime/obsolete ||                \
>>             if [ -f runtime/Makefile ] ; then
>> PWD=/usr/l4/pkg/loader/lib/runtime make -C runtime  ; fi
>> make[4]: Entering directory `/usr/l4/l4/pkg/loader/lib/runtime'
>> PWD=/usr/l4/build/l4env/pkg/loader/lib/runtime/OBJ-x86_586-l4v2 make
>> -C /usr/l4/build/l4env/pkg/loader/lib/runtime/OBJ-x86_586-l4v2 -f
>> Makefile
>> make[5]: Entering directory
>> `/usr/l4/build/l4env/pkg/loader/lib/runtime/OBJ-x86_586-l4v2'
>>   ==> Linking to shared libloader.s.so
>> LD_PRELOAD=/usr/l4/build/l4env/tool/gendep/libgendep.so
>> GENDEP_TARGET=libloader.s.so GENDEP_BINARY=ld   ld -m elf_i386 \
>>            -o libloader.s.so -shared
>> -T/usr/l4/build/l4env/lib/x86_586/main_rel.ld
>> /usr/l4/build/l4env/lib/x86_586/crt0.s.o helper_dyn.s.o
>> --hash-style=sysv  -L/usr/l4/build/l4env/lib/x86_586/l4v2
>> -L/usr/l4/build/l4env/lib/x86_586 -L/usr/l4/build/l4env/lib
>> -L/usr/l4/drops/lib/x86_586/l4v2 -L/usr/l4/drops/lib/x86_586
>> -L/usr/l4/drops/lib  --whole-archive -lsemaphore.p -lthread.p
>> -ldm_generic.p -ldm_mem.p -lslab.p -ll4env_err.p -ll4rm.p -ll4env.p
>> -llogserver.p -lnames.p -lroot.p -lc_be_l4env_start_stop.p
>> -lc_be_minimal_log_io.p -lc_be_simple_mem.p -lc_be_mmap.p
>> -lc_be_mmap_util.p -luclibc_support.p -lgeneric_ts.p
>> -lgeneric_fprov.p -lloaderif.p -ll4util_root.p -lsigma0.p
>> --no-whole-archive -ll4sys.p -ll4util.p -ul4util_reboot -ugetopt_long
>> /usr/lib/gcc/i486-linux-gnu/4.1.3/libgcc.a
>> ld: cannot find -luclibc_support.p
>> make[5]: *** [libloader.s.so] Error 1
>> make[5]: Leaving directory
>> `/usr/l4/build/l4env/pkg/loader/lib/runtime/OBJ-x86_586-l4v2'
>> make[4]: *** [/usr/l4/build/l4env/pkg/loader/lib/runtime/OBJ-x86_586-l4v2]
>> Error 2
>> make[4]: Leaving directory `/usr/l4/l4/pkg/loader/lib/runtime'
>> make[3]: *** [runtime] Error 2
>> make[3]: Leaving directory `/usr/l4/l4/pkg/loader/lib'
>> make[2]: *** [lib] Error 2
>> make[2]: Leaving directory `/usr/l4/l4/pkg/loader'
>> make[1]: *** [loader.lib] Error 2
>> make[1]: Leaving directory `/usr/l4/l4/pkg'
>> make: *** [pkg] Error 2
>> make: Leaving directory `/usr/l4/l4'
>>
>>
>> my gcc version is 4.1.3 and using xubuntu.
>> Any other packages needed to be installed ?
>>
>> thank you
>>
>> _______________________________________________
>> l4-hackers mailing list
>> l4-hackers at os.inf.tu-dresden.de
>> http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
> 
> 


-- 
boettcher at os.inf.tu-dresden.de
key finger print: 5E79 31F6 F571 5FBA CF75  33FB AA34 4AF4 A633 25B3

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Makefile.diff
URL: <http://os.inf.tu-dresden.de/pipermail/l4-hackers/attachments/20080414/61e05b9d/attachment.ksh>


More information about the l4-hackers mailing list