This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: ... linker problems
- From: Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>
- To: Antonio Coralles <noche dot suapie at reflex dot at>
- Cc: automake at gnu dot org
- Date: Mon, 24 Jan 2005 17:40:52 +0100
- Subject: Re: ... linker problems
- Organization: Department of Numerical Simulation, University of Bonn
- References: <41F51E6E.7070409@reflex.at> <41F18B70.4080103@reflex.at>
* 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