This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building a vendor perl module with gcc under cygwin


"Exec format error" is the returned error string from dlopen, which
tried to load your dll.
So it looks like either your cflags or ldflags are wrong, or the lib
you are linking against cannot be loaded by cygwin's perl.

Easiest would be to link both dll's statically, your MOD.dll and the
??? lib you are linking against. Maybe both libc versions are not
compatible. e.g. msvcrt and cygwin.
Or the PE header of the 3rd dll is not matching, 64bit maybe.
-- 
Reini Urban
http://phpwiki.org/? ? ? ? ?? http://murbreak.at/

--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]