Hi
I built a shared module (compiled with gcc -shared).
Thanks to Yaakov (Cygwin/X), I solved my undefined references.
Solution 2) Build the main program first with these additional LDFLAGS:
'-Wl,--export-all-symbols,--out-implib,libfoo.a'. Then build the
plugins, adding to their LDFLAGS: '-Wl,/path/to/libfoo.a'.
But when the main program loads the module with lt_dlopen() function, I
get the lt_dlerror message : can't open the module.
I don't know which is the reason :
- is the module bad built ?
- I give a full CYGWIN path to lt_dlopen function , is it correct ?
- other reasons ?
I dont know where to find the man page of the CYGWIN lt_dlopen()
function to have an idea of the errors.
Thanks for your help
Best regards
Martine
--
Martine Carannante
System Software Development R&D
Bull, Architect of an Open World TM
Tél : (+33) 1 30 80 71 87
http://www.bull.com
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple