On Sun, 2005-04-17 at 15:06 -0600, Wesley J. Landaker wrote:
> On Sunday 17 April 2005 08:29, Herbert Valerio Riedel wrote:
> > (seems as if libdl.so isn't linked in...)
> 
> On your system, what is in your grt.lst? Try running the following command:
> 
>    find /usr/lib/ghdl/lib -name "grt.lst" -exec cat {} \;
> 

well... the -static linker argument looks a bit suspicious too.... (and
triggers ugly warnings when linking against libdl :-)

$ cat /usr/lib/ghdl/lib/gcc/powerpc-linux/3.4.4/vhdl/lib/grt.lst
@/libgrt.a
-lpthread
-L./
-L/usr/lib/gcc/powerpc-linux/3.4.4/adalib/
-static
-lgnat



> (On i386, the output is:)
> 
> @/libgrt.a
> -ldl
> -L./
> -L/usr/lib/gcc/i486-linux/3.4.4/adalib/
> -lgnat-3.4
> 
> If -ldl is missing, that would explain the error you reported. The quick 
> fix, in that case, may be just to add it there manually. I'd have to work a 
> bit on a real fix, however, since this list is autogenerated by the GHDL 
> build system, which is slightly black magic to me.

removing -static and adding -ldl did the trick...

thx for the hint :-)

regards,
hvr




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to