Problem with main() defined in shared object

Daniel Jacobowitz drow@false.org
Wed Mar 24 19:43:00 GMT 2004


On Wed, Mar 24, 2004 at 09:50:44AM -0700, marcus hall wrote:
> When I build xx, I do get an undefined reference to main (ultimately
> from glibc/csu/arm/elf/start.S), as I believe I should

No, you shouldn't.  If shared.so is being used by ld, then it'll
resolve main to there.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Libc-alpha mailing list