> Georg Weissenbacher wrote:
> p[
> > gcc -bundle -bundle_loader /Users/georg/fm/mosml/camlrunm -o
> libmregex.so
> > regex-0.12/regex.o mregex.o
> > ld: Undefined symbols:
> > _alloc
> []
> > though the functions alloc, alloc_final, alloc_tuple are in alloc.c
> which is
> > compiled to alloc.o and linked (with some other object files) to
> camlrunm.
> > When I omit the -bundle_loader option and use -flat_namespace -undefined
> > suppress I get a similar error message when the libary is actually
> loaded:
> 
> You could try:
> 1. -undefined dynamic_lookup
> 2. contact the maintainer

I've tried using -undefined dynamic_lookup together with setting 
MACOSX_DEPLOYMENT_TARGET=10.3. Again, there are undefined symbols when
I try to load the library at runtime (this time, the error message only
mentions _alloc, probably because it's the first undefined reference).
I've also tried to contact the maintainer about a week ago, no answer yet.
Is there something that I have take care of when I compile the executable
that actually loads the libary? Any special flags for gcc (at the moment
I'm using -fno-common, and I tried to add -dynamic?

I appreciate your help,
Georg

-- 
NEU +++ DSL Komplett von GMX +++ http://www.gmx.net/de/go/dsl
GMX DSL-Netzanschluss + Tarif zum superg�nstigen Komplett-Preis!



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to