[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Linking Error
From: |
Colin S. Miller |
Subject: |
Re: Linking Error |
Date: |
Sun, 09 Oct 2005 23:28:50 +0100 |
User-agent: |
Debian Thunderbird 1.0.2 (X11/20050817) |
archna.mittal@gmail.com wrote:
Hi,
Any pointers are highly appreciated.
This isn't a makefile problem, but a gcc-link problem.
Most Unix compilers are one-pass, unlike most MS-Windows
compilers which are two-pass.
This means that object file 'a' must be listed after any other
objects that provide symbols that object file 'a' requries.
Reverse the object file order and it should work.
Thanks in Advance,
Regards,
-Archna
HTH,
Colin S. Miller
--
Replace the obvious in my email address with the first three letters of the
hostname to reply.