Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 109078 - ffmpeg build fails on uclibc
Summary: ffmpeg build fails on uclibc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-12 18:51 UTC by Aurélien Francillon
Modified: 2006-01-29 02:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fixes ffmpeg for uclibc (ffmpeg-0.4.9_p20050226-r5_uclibc.patch,2.10 KB, patch)
2005-10-12 18:55 UTC, Aurélien Francillon
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aurélien Francillon 2005-10-12 18:51:03 UTC
uclibc does not implements roundf functions wich are used by ffmpeg :

make[1]: Leaving directory
`/var/tmp/portage/ffmpeg-0.4.9_p20050226-r5/work/ffmpeg-0.4.9-p20050226-static/libavformat'
i686-pc-linux-uclibc-gcc -Wl,--warn-common -rdynamic -g  -o ffmpeg_g ffmpeg.o
cmdutils.o -L./libavformat -lavformat -L./libavcodec -lavcodec -lm -ldts -lz
-ldl -logg  -la52 -ldts -lfaad -lfaac -lxvidcore -ldc1394_control -lraw1394
i686-pc-linux-uclibc-gcc -Wl,--warn-common -rdynamic -g  -o output_example
output_example.o -L./libavformat -lavformat -L./libavcodec -lavcodec -lm -ldts
-lz -ldl -logg  -la52 -ldts -lfaad -lfaac -lxvidcore -ldc1394_control -lraw1394
./libavcodec/libavcodec.a(xvidff.o)(.text+0xd22): In function
`xvid_correct_framerate':
: undefined reference to `roundf'
./libavcodec/libavcodec.a(xvidff.o)(.text+0xe18): In function
`xvid_correct_framerate':
: undefined reference to `roundf'
collect2: ld returned 1 exit status
make: *** [ffmpeg_g] Error 1
make: *** Waiting for unfinished jobs....
./libavcodec/libavcodec.a(xvidff.o)(.text+0xd22): In function
`xvid_correct_framerate':
: undefined reference to `roundf'
./libavcodec/libavcodec.a(xvidff.o)(.text+0xe18): In function
`xvid_correct_framerate':
: undefined reference to `roundf'
collect2: ld returned 1 exit status
make: *** [output_example] Error 1


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Aurélien Francillon 2005-10-12 18:55:21 UTC
Created attachment 70523 [details, diff]
fixes ffmpeg for uclibc

this patch copy the functions of standard libc inside the file xvidff.c where
roundf is used, it will be of course better if uclibc implements this function
...
Comment 2 SpanKY gentoo-dev 2005-10-13 18:07:21 UTC
Comment on attachment 70523 [details, diff]
fixes ffmpeg for uclibc

should fix this in uClibc instead
Comment 3 SpanKY gentoo-dev 2006-01-29 02:13:28 UTC
uclibc 0.9.28 should have this fixed now