delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2012/01/08/11:01:42

X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f
X-Recipient: geda-user AT delorie DOT com
Message-ID: <918a474b458e11c700f9ae695b71c075.squirrel@ssl-webmail-vh.nl.clara.net>
Date: Sun, 8 Jan 2012 16:11:01 +0100
Subject: [geda-user] compiling gEDA on Fedora 16
From: myken AT iae DOT nl
To: geda-user AT delorie DOT com
User-Agent: SquirrelMail/1.4.21
MIME-Version: 1.0
X-Priority: 3 (Normal)
Importance: Normal
Reply-To: geda-user AT delorie DOT com

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.

Thanks.
Robert.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019