Hi

I try to port on CYGWIN an open source which runs correctly  on Linux.
In this open source, a shared module (linked with option -shared) is created and after it's loaded by the main program with lt_dlopen() function.

On CYGWIN, I have a problem when I create the module (gcc option -shared). I have always some undefined references to functions which belongs to the main program. On Linux it's not a problem, there are no errors. I try to add the option -Wl,-allow-shlib-undefined. I have always the problem.

I don't know what to do. Are there other options to add to the gcc command ?I tried several..or do I have to modify the source code of the module?
I'm not very familiar with shared modules.

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

Reply via email to