This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: Undefined reference error


"Abhijit H. Bhosale" wrote:
> 
> Hi,
> We are using a static library which is build using gcc 2.95.3.
> But to build our sources we are using gcc 3.0.4.
> At the time of linking it's saying undefined reference
> to some functions in the same library.
> 
> What can be the reason?
What language? What platform?
If it is C++,  the two compilers are not ABI compatible.

nathan

-- 
Dr Nathan Sidwell   ::   http://www.codesourcery.com   ::   CodeSourcery LLC
         'But that's a lie.' - 'Yes it is. What's your point?'
nathan@codesourcery.com : http://www.cs.bris.ac.uk/~nathan/ : nathan@acm.org


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