I'm having difficulty getting modules to work with the app that I'm
porting to OS X using fink.  I've read the porting guide and am using
the "-fno-commmon" and "-bundle" flags in my build as recommended. The
modules appear to build OK, but when the app tries to access a module
function I get this sort of thing (in all cases):

dlcompat:
unable to find symbol "norm_lookup" in "/sw/lib/gretl/stats_tables.so"

Here's the module or "bundle" in question:

~$ file /sw/lib/gretl/stats_tables.so
/sw/lib/gretl/stats_tables.so: Mach-O bundle ppc

and here's the symbol:

~$ nm /sw/lib/gretl/stats_tables.so | grep norm
000007a4 T _norm_lookup

But I see it's prefaced by an underscore.  In the source code, the
function name is "norm_lookup", and with the same source code
on linux I see:

~$ nm stats_tables.so | grep norm
00000b40 T norm_lookup

(and the module is accessed OK).

Help!

Allin Cottrell



-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to