Gentoo Logo
Gentoo Spaceship

Installation:
Gentoo Handbook
Installation Docs

Documentation:
Home
Listing
About Gentoo
Philosophy
Social Contract

Resources:
Bug Tracker
Developer List
Discussion Forums
Gentoo BitTorrents
Gentoo Linux Enhancement Proposals
IRC Channels
Mailing Lists
Mirrors
Name and Logo Guidelines
Online Package Database
Security Announcements
Staffing Needs
Supporting Vendors
View our CVS

Graphics:
Logos and themes
Icons
ScreenShots

Miscellaneous Resources:
Gentoo Linux Store
Gentoo-hosted projects
IBM dW/Intel article archive




List Archive: gentoo-devhelp
Navigation:
Lists: gentoo-devhelp: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: Thomas Kahle <tom111@...>
From: Peter Volkov <pva@g.o>
Subject: Re: autotools and as-needed
Date: Sun, 16 Aug 2009 23:02:55 +0400
В Срд, 12/08/2009 в 00:03 +0200, Thomas Kahle пишет:
> the following check in configure.ac fails with --as-needed but works
> without it. Any hints what is wrong ? Thanks / Thomas

Common reason for failure with --as-needed is the order of libraries. In
you previous mail you wrote that with 

sed "s/\"-lntl\"/\"-lntl\" \"-lgf2x -lntl\"/" -i "${S}/configure.ac"

it works but here: 

> for lib in "" "-lntl" "-lntl -lgf2x"

I see different order. Try to change order of -lgf2x and -lntl inside
ebuild. Also 

sed 's/"-lntl"/"-lntl" "-lgf2x -lntl"/' -i "${S}/configure.ac"

is shorter and easier to read.

-- 
Peter.



Replies:
Re: autotools and as-needed
-- Thomas Kahle
References:
autotools and as-needed
-- Thomas Kahle
Navigation:
Lists: gentoo-devhelp: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: autotools and as-needed
Next by thread:
Re: autotools and as-needed
Previous by date:
Re: new app - cafe text editor
Next by date:
Re: autotools and as-needed


Updated Nov 16, 2009

Donate to support our development efforts.

Gentoo Centric Hosting: vr.org

VR Hosted

Tek Alchemy

Tek Alchemy

SevenL.net

SevenL.net

php|architect

php|architect

Copyright 2001-2007 Gentoo Foundation, Inc. Questions, Comments? Email www@gentoo.org.