automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ... linker problems


From: Ralf Wildenhues
Subject: Re: ... linker problems
Date: Mon, 24 Jan 2005 17:40:52 +0100
User-agent: Mutt/1.4.1i

* Antonio Coralles wrote on Sat, Jan 22, 2005 at 12:08:32AM CET:
> I'm completley no to automake. Allthough it seems to be a great tool 
> i've some problems switching a programm I'm writing on from hand-coded 
> makefiles to GNU-automake. This program is written in c++ and uses the 
> boost library, sqlite and gtkmm. What I want to know is if somebody can 
> tell me how I can get rid of
> 
> 
> /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5/../../../../i686-pc-linux-gnu/bin/ld:
>  
> `.gnu.linkonce.t._ZN5boost9date_time23gregorian_calendar_baseINS0_19year_month_day_baseINS_9gregorian9greg_yearENS3_10greg_monthENS3_8greg_dayEEEmE16end_of_month_dayES4_S5_'
>  
> referenced in section `.rodata' of testUtils/testutils.o: defined in 
> discarded section 
> `.gnu.linkonce.t._ZN5boost9date_time23gregorian_calendar_baseINS0_19year_month_day_baseINS_9gregorian9greg_yearENS3_10greg_monthENS3_8greg_dayEEEmE16end_of_month_dayES4_S5_'
>  
> of testUtils/testutils.o
> ...
> 
> This messages don't appear with my normal makefiles ...

Well.  You don't tell us what you did before and what link command line
Automake issues.  How are we to know the difference then?

Please don't start a new thread if you are still trying to solve the
same problem:

* Antonio Coralles wrote on Mon, Jan 24, 2005 at 05:12:30PM CET:
> May there be a differnece between ranlib and  i686-pc-linux-gnu-ranlib 
> and/or ar and i686-pc-linux-gnu-ar ?

That depends quite on what particular system you are on.  If that
matches i686-pc-linux-gnu, there should be little difference.
But you did not tell us that either.

> and if yes, how can i force 
> automake/autoconf to choose a particular - or better - in any case the 
> correct version ?

Use --host=i686-pc-linux-gnu.  But I don't think you need this.

Regards,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]