Fwd: Re: cannot find -lld-l4

ba_f ba_f at rbg.informatik.tu-darmstadt.de
Sun May 18 11:30:36 CEST 2014


Hello Hackers,

Am 2014-05-14 11:23, schrieb Matthias Lange:
>> /opt/gcc-linaro-arm-linux-gnueabihf-4.8-2014.03_linux/bin/arm-linux-gnueabihf-ld: cannot find -lld-l4
>> make[3]: *** [myProg] Fehler 1
> 
> Have you successfully build the 'ldso' package? libld-l4.so is provided 
> by
> this package.
> 
> Matthias.

Yes, the lib seems to be there:

obj/l4/arm-ca/lib/arm_armv7a/l4f/libld-l4.so
obj/l4/arm-ca/pkg/ldso/ldso/OBJ-arm_armv7a-l4f/libld-l4.so

obj/l4/arm-ca/config/have/ldso.h
obj/l4/arm-ca/pc/ldso.pc
obj/l4/arm-ca/pkg/ldso/ldso/OBJ-arm_armv7a-l4f/.ldso.s.o.d
objl4/arm-ca/pkg/ldso/ldso/OBJ-arm_armv7a-l4f/ldso.s.o

I also checked the 2> output from the snapshot build process, which 
shows a lot of Warnings, but no Error.


Am 2014-05-15 01:04, schrieb Adam Lackorzynski:
> Are you trying to build a program using shared libraries? Mind to share
> your Makefile?

Actually, i try to include libssl.a which Ivan Loskutov ported to L4re.
http://os.inf.tu-dresden.de/pipermail/l4-hackers/2012/005141.html


>> BTW before that missing lib error, i get a lot of "multiple definition
>> of...".
> 
> Could you show some examples of those errors please?
> 
> Adam

./tpm_integrity.o: In function `TPM_Extend':
/home/ba_f/vTPM/server/src/tpm_integrity.c:39: multiple definition of 
`tpm_log'
./tpm_cmd_handler.o:/home/ba_f/vTPM/server/src/tpm_marshalling.h:102: 
first defined here
./tpm_startup.o: In function `TPM_Startup':
/home/ba_f/vTPM/server/src/tpm_startup.c:43: multiple definition of 
`tpm_read_from_storage'
./tpm_cmd_handler.o:/home/ba_f/vTPM/server/src/tpm_marshalling.h:103: 
first defined here

But these warning/error must come from the build-process, because the 
code has already been compiled for ARM linux without any Warnings.



l4re-snapshot-2014022818

Greets,
ba_f




More information about the l4-hackers mailing list