Re: Gtk-Perl on cygwin?



At 11:00 AM 19/11/01 +0100, Paolo Molaro wrote:
Ok, is seems it exported all the functions, but not the data.
Can you try adding --export-all-symbols to the dlltool call?

Ah, good to know that the functions are working and we're just dealing with
data now.  I tried --export-all-symbols.  Alas, no luck.  I also tried
adding the magic suggested in
http://www.is.lg.ua/~paul/devel/static2dll_howto.txt, i.e. changing all
"extern" declarations to "__delcspec(dllimport) extern".  No luck there
either.

Hmmm.... when doing a search on __delcspec(dllimport) just now, Google
suggested "__declspec" instead.  Could this be a typo?  Hang on...

...

Okay.  That seems to have done something.  I think I got things linking.
Now I'm only getting strange runtime errors :).  Gotta love that Google!

Ack.  I've got to go out now.  I'll figure this all out when I get back
later tonight.

Michael



-- 
Michael Graham
magog the-wire com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]