delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-Injected-Via-Gmane: | http://gmane.org/ |
To: | cygwin AT cygwin DOT com |
From: | "Wil Hunt" <wilh AT gladstone DOT uoregon DOT edu> |
Subject: | DLL calling a DLL: undefined reference when linking. |
Date: | Sat, 22 Feb 2003 17:28:13 -0500 |
Lines: | 35 |
Message-ID: | <b397t8$k0m$1@main.gmane.org> |
X-Complaints-To: | usenet AT main DOT gmane DOT org |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 6.00.2800.1106 |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1106 |
Hello again, I think I'm making marvelous progress. Unfortunately, I'm getting an error that doesn't make sense: $g++ -shared -mno-cygwin -o dllhello.dll dllhello.o other.dll -Wl,--out-implib,libdllhello.a -Wl,--enable-stdcall-fixup Creating library file: libdllhello.a dllhello.o(.text+0x164):dllhello.C: undefined reference to `InitAPI AT 4' In my source code, the offending call is: extern "C" PASCAL void InitAPI( int handle ); -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |