This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem with main() defined in shared object


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]