From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7138 invoked by alias); 19 May 2011 16:51:51 -0000 Received: (qmail 7126 invoked by uid 22791); 19 May 2011 16:51:48 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from mail-qw0-f43.google.com (HELO mail-qw0-f43.google.com) (209.85.216.43) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 19 May 2011 16:51:28 +0000 Received: by qwf6 with SMTP id 6so1908452qwf.2 for ; Thu, 19 May 2011 09:51:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.49.140 with SMTP id v12mr2604556qcf.80.1305823887863; Thu, 19 May 2011 09:51:27 -0700 (PDT) Received: by 10.229.183.17 with HTTP; Thu, 19 May 2011 09:51:27 -0700 (PDT) In-Reply-To: References: Date: Thu, 19 May 2011 16:51:00 -0000 Message-ID: Subject: Re: Building a vendor perl module with gcc under cygwin From: Reini Urban To: Philip@kime.org.uk, cygwin@cygwin.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-05/txt/msg00283.txt.bz2 "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. --=20 Reini Urban http://phpwiki.org/=A0 =A0 =A0 =A0 =A0=A0 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