X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Date: Sun, 8 Jan 2012 10:34:03 -0800 From: Andrew Poelstra To: geda-user AT delorie DOT com Subject: Re: [geda-user] compiling gEDA on Fedora 16 Message-ID: <20120108183402.GC25351@malakian.lan> References: <918a474b458e11c700f9ae695b71c075 DOT squirrel AT ssl-webmail-vh DOT nl DOT clara DOT net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <918a474b458e11c700f9ae695b71c075.squirrel@ssl-webmail-vh.nl.clara.net> User-Agent: Mutt/1.5.20 (2009-12-10) Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sun, Jan 08, 2012 at 04:11:01PM +0100, myken AT iae DOT nl wrote: > Hello, > > While compiling gEDA 1.6.2 on Fedora 16 (Xfce) (./configure && make) I get > the following error message: > /usr/bin/ld: gschem-m_basic.o: undefined reference to symbol > 'pow@@GLIBC_2.2.5' > /usr/bin/ld: note: 'pow@@GLIBC_2.2.5' is defined in DSO /lib64/libm.so.6 > so try adding it to the linker command line > /lib64/libm.so.6: could not read symbols: Invalid operation > > Googling around I found that Fedora has changed the behaviour of "ld" > See here: > http://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking > and here: > http://fedoraproject.org/wiki/UnderstandingDSOLinkChange > > As I understand this I need to add the -llibm (?) to the LDFLAGS to remove > this error. > > My questions are: > 1. do I understand it correctly and > 2. where do I add the -llibm flag > 3. Is it libm the library I need to add. > The correct flag is -lm, but I can't imagine why autotools wouldn't already have added it. -- Andrew Poelstra Email: asp11 at sfu.ca OR apoelstra at wpsoftware.net Web: http://www.wpsoftware.net/andrew "I don't understand. Are you saying dualism is always good, or always bad?"