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-Authentication-Warning: | localhost.localdomain: vikram owned process doing -bs |
Date: | Thu, 22 Jan 2004 22:21:32 -0800 (PST) |
From: | vikramshrowty AT yahoo DOT com |
X-X-Sender: | vikram AT localhost DOT localdomain |
Reply-To: | vikramshrowty AT fastmail DOT fm |
To: | cygwin AT cygwin DOT com |
Subject: | undefined symbols in dlls? |
Message-ID: | <Pine.LNX.4.44.0401222216070.26257-100000@localhost.localdomain> |
MIME-Version: | 1.0 |
Hi, Aren't dlls alowed to have undefined symbols? -------------- foo.c: int bar(); int foo() { return bar(); } -------------- When I try to compile foo.c like this... gcc -shared -o foo.dll foo.c I get an error message complaning that '_bar' is undefined. Thanks, --Vikram -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |