undefined symbols in dlls?

vikramshrowty@yahoo.com vikramshrowty@yahoo.com
Fri Jan 23 07:02:00 GMT 2004


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/



More information about the Cygwin mailing list