pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/48116: multimedia/ffmpeg / ffplay do not build
>Number: 48116
>Category: pkg
>Synopsis: multimedia/ffmpeg / ffplay do not build
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Aug 11 19:00:00 +0000 2013
>Originator: Stefan
>Release: Slackware 13
>Organization:
>Environment:
Linux vaio 2.6.35.14 #1 Sun Aug 11 00:35:
>Description:
multimedia/ffmpeg (on latest stable and on current):
The Makefile is odd:
# disable asm on i386 for non-gcc and gcc < 4.2
# no alignment options needed for gcc >= 4.6 on i386
.if !empty(MACHINE_PLATFORM:MDarwin-*-i386) \
|| !empty(MACHINE_PLATFORM:MSunOS-*-i386)
CONFIGURE_ARGS+= --disable-asm
.elif !empty(CC_VERSION:Mgcc-4.[2345]*)
CFLAGS+=-mstackrealign -mpreferred-stack-boundary=4
.elif !empty(CC_VERSION:Mgcc-[123]*) \
|| !empty(CC_VERSION:Mgcc-4.[01]*) \
|| empty(CC_VERSION:Mgcc*)
CONFIGURE_ARGS+= --disable-asm
.endif
.endif
Both .elif cover gcc-4.2 and gcc-4.3. By way of how .elif works, only the
first .elif branch is taken. The intention oft the code is to take also the
second .elif branch.
Then, the first comment line does not go along with the code -
neither with the actual code flow nor with the intented code flow. I run
gcc-4.3 on i386/linux and need --disable-asm, otherwise ffmpeg does not build
(issues in libavcodec/x86/vc1dsp_mmx.o).
multimedia/ffplay does not build, either:
LD ffplay_g
libavcodec/libavcodec.so: undefined reference to `ff_mpeg_draw_horiz_band'
libavcodec/libavcodec.so: undefined reference to `ff_h264_draw_horiz_band'
collect2: ld returned 1 exit status
make: *** [ffplay_g] Error 1
*** Error code 2
Stop.
bmake: stopped in /usr/pkgsrc/multimedia/ffplay
*** Error code 1
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index