Donate Share

mp3splt

Tracker: Bugs

5 plugins/mp3.c:1386: undefined reference to `ceilf' - ID: 2786300
Last Update: Comment added ( io_alex_2004 )

Hello,
trying to compile linmp3splt-0.5.5 for the site getdeb.net there is this
error during compilation:
plugins/mp3.c:1386: undefined reference to `ceilf'

Full build log is here:
http://abs.getdeb.net/build_log/libmp3splt_0.5.5-1~getdeb1_2009_27_03_05_12
41386021_i386.log


Christoph Korn ( c_korn ) - 2009-05-03 21:55

5

Closed

Fixed

Nobody/Anonymous

None

None

Public


Comments ( 7 )




Date: 2009-05-16 00:53
Sender: io_alex_2004Project Admin

This issue has been fixed in the latest version (libmp3splt 0.5.6).
I am closing the ticket.
Please repost here if the problem still occurs.

--
Alex


Date: 2009-05-03 22:34
Sender: io_alex_2004Project Admin

Cool.
Thanks for the infos.
Please don't hesitate to report any other problems.

--
Alex


Date: 2009-05-03 22:31
Sender: c_korn

Your patch fixed the issue.
Thanks.

$ gcc --version
gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.


Date: 2009-05-03 22:28
Sender: io_alex_2004Project Admin

For the ceilf, try adding '-lm' to Makefile.am and then running
'autogen.sh' as mentioned in my first comment.

How do you get all those warnings ?
What gcc version do you have ?

--
Alex


Date: 2009-05-03 22:20
Sender: c_korn

I posted the wrong log.
The error in the first log is already fixed.

http://abs.getdeb.net/build_log/libmp3splt_0.5.5-1~getdeb1_2009_39_03_05_1241386741_i386.log


Date: 2009-05-03 22:13
Sender: io_alex_2004Project Admin

I forgot to log in for the previous comment.


Date: 2009-05-03 22:11
Sender: nobody

I can't see any 'ceilf' error in the log.
However, if there is a 'ceilf' error, try this :

1) Try to modifying plugins/Makefile.am as follows (by adding '-lm') :

+++ libmp3splt/plugins/Makefile.am
@@ -4,7 +4,7 @@
INCLUDES =

#ccommon_LDFLAGS = -module -export-dynamic -avoid-version
-common_LDFLAGS = -L../src -L../src/.libs -L/lib -no-undefined -lmp3splt
+common_LDFLAGS = -L../src -L../src/.libs -L/lib -no-undefined -lm
-lmp3splt

#mp3 plugin
if MP3_PLUGIN

2) run './autogen.sh' from the 'libmp3splt' directory before recompiling

Please tell me if this works.
It's strange because I never get this error on debian or gentoo.

For the error in the log, please see :

http://sourceforge.net/tracker/?func=detail&aid=2785683&group_id=55130&atid=476061

--
Alex


Log in to comment.




Attached File

No Files Currently Attached

Changes ( 3 )

Field Old Value Date By
status_id Open 2009-05-16 00:53 io_alex_2004
resolution_id None 2009-05-16 00:53 io_alex_2004
close_date - 2009-05-16 00:53 io_alex_2004