Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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/