Thanks Benjamin,
but I'm not really into linker things to be sure to follow your  
suggestion. The only thing I can say here is that while building  
libdvdread I've noticed this line:

> gcc -dynamiclib ${wl}-undefined ${wl}dynamic_lookup -o .libs/ 
> libdvdread.3.2.1.dylib  .libs/dvd_input.o .libs/dvd_re
> ader.o .libs/dvd_udf.o .libs/ifo_read.o .libs/ifo_print.o .libs/ 
> nav_read.o .libs/nav_print.o .libs/cmd_print.o .lib
> s/md5.o  -L/sw/lib  -install_name  /sw/lib/libdvdread.3.dylib -Wl,- 
> compatibility_version -Wl,6 -Wl,-current_version
> -Wl,6.1


and I don't understand the ${wl} string in front of -undefined  
dynamic_lookup. Could the problem I got be related to this? Could you  
be so kind (you or anyone else in the list) to point me in the right  
direction?

Cheers,
  Andrea

On 15 Feb, 2008, at 20:12, Benjamin Reed wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Andrea Riciputi wrote:
>
> | It seems that the linker can't find UDFFindFile, but if I try:
> |
> | $ nm -a /sw/lib/libdvdread.3.2.1.dylib |grep _UDFFindFile
> | 00004ef0 t _UDFFindFile
> | 00004ef0 - 01 0000   FUN _UDFFindFile
> |
> | so the symbol is actually there. Can anyone help me to understand
> | what's wrong with the above gcc command?
>
> lower-case t means that that symbol is hidden to the linker;  
> libdvdread
> might need to be fixed for this to work.  Maybe it's overdoing some of
> the -fvisibility=hidden stuff.
>
>
> - --
> Benjamin Reed a.k.a. Ranger Rick
> Fink, KDE, and Mac OS X development
> http://www.racoonfink.com/
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.8 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFHteQVUu+jZtP2Zf4RAjoeAJ42v4xuD9jA7dxFnnjsDn4KL3rJOwCePzsk
> Jx0VlUaLyJtDqkXpHNBorH4=
> =dWk3
> -----END PGP SIGNATURE-----


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to