LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-19-2012, 11:03 AM   #1
Shininggg
LQ Newbie
 
Registered: May 2010
Location: St-Chrysostome
Distribution: Slackware, Arch, AvLinux
Posts: 3

Rep: Reputation: 0
aubio compiling fails : /lib/libm.so.6...


Hi i'm trying to compile latest aubio to test Ardour 3 on my new Slackware current machine

i get this

gcc -DAUBIO_PREFIX=\"/usr/local\" -I../src -I../ext -Wall -Wextra -I/usr/local/include -fPIC -o .libs/aubioonset aubioonset.o utils.o -L/usr/local/src/aubio-0.3.2/src -L/usr/local/src/aubio-0.3.2/ext /usr/local/src/aubio-0.3.2/ext/.libs/libaubioext.so /usr/local/src/aubio-0.3.2/src/.libs/libaubio.so -L/usr/lib/ /usr/lib/libjack.so -lrt -lpthread
/usr/lib/gcc/i486-slackware-linux/4.7.0/../../../../i486-slackware-linux/bin/ld: utils.o: undefined reference to symbol 'floor@@GLIBC_2.0'
/usr/lib/gcc/i486-slackware-linux/4.7.0/../../../../i486-slackware-linux/bin/ld: note: 'floor@@GLIBC_2.0' is defined in DSO /lib/libm.so.6 so try adding it to the linker command line
/lib/libm.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[2]: *** [aubioonset] Error 1
make[2]: Leaving directory `/usr/local/src/aubio-0.3.2/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/aubio-0.3.2/examples'
make: *** [all-recursive] Error 1

thanks all
 
Old 05-20-2012, 06:49 AM   #2
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
There's a SlackBuild for aubio-0.3.2, it's for 13.37, so I'm not sure if it would be OK for current. But you could try it.
http://slackbuilds.org/repository/13...braries/aubio/
 
Old 05-20-2012, 07:47 AM   #3
Shininggg
LQ Newbie
 
Registered: May 2010
Location: St-Chrysostome
Distribution: Slackware, Arch, AvLinux
Posts: 3

Original Poster
Rep: Reputation: 0
I tried the slackbuild for 13.37 and i get the same error. I also tried reverting back 0.3.1 and i get the same thing. Googling around, people people are talking about linker issue and stuff i don't really understand.
 
Old 05-20-2012, 07:49 AM   #4
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Press the Report button and ask for this thread to be moved to the Slackware forum, possibly get more help there.
 
Old 06-14-2012, 12:26 PM   #5
x360539
LQ Newbie
 
Registered: Sep 2009
Posts: 20

Rep: Reputation: 0
Did anyone ever get a solution to this problem. I'm in the same boat.
 
Old 06-14-2012, 12:43 PM   #6
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Quote:
Originally Posted by Shininggg View Post
/usr/lib/gcc/i486-slackware-linux/4.7.0/../../../../i486-slackware-linux/bin/ld: utils.o: undefined reference to symbol 'floor@@GLIBC_2.0'
/usr/lib/gcc/i486-slackware-linux/4.7.0/../../../../i486-slackware-linux/bin/ld: note: 'floor@@GLIBC_2.0' is defined in DSO /lib/libm.so.6 so try adding it to the linker command line
luckily gcc-4.7 is very eloquent

add a line
Code:
LDFLAGS="-lm" \
to the configure block of the slackbuild, like
Code:
LDFLAGS="-lm" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \

Last edited by ponce; 06-14-2012 at 12:45 PM.
 
1 members found this post helpful.
Old 06-14-2012, 01:01 PM   #7
x360539
LQ Newbie
 
Registered: Sep 2009
Posts: 20

Rep: Reputation: 0
Thanks so much! That did the trick!
 
  


Reply

Tags
slackware -current



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GCC fails to compile - Chapter 6.14 - C preprocessor "/lib/cpp" fails sanity check jaydoc Linux From Scratch 1 01-28-2009 05:17 PM
aubio make script returning missing libjack.so.0 error on opensuse10.2 :( chickenlinux Linux - Software 4 10-18-2008 08:42 AM
compiling xorg, C preprocessor "/lib/cpp" fails sanity check kryptobs2000 Linux - Software 4 01-29-2007 09:23 AM
Compiling Problems (error: C preprocessor "/lib/cpp" fails sanity check) closetosomethingreal Slackware 3 01-25-2006 01:22 PM
/lib/cpp fails sanity check? NonSumPisces Linux - Software 2 10-02-2004 07:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration