pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/37587: multimedia/ffmpeg fails to build under Linux
>Number: 37587
>Category: pkg
>Synopsis: multimedia/ffmpeg fails to build under Linux
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Dec 21 16:50:09 +0000 2007
>Originator: Aleksey Cheusov
>Release: Linux
>Organization:
home
>Environment:
>Description:
ffserver.c:1563: warning: pointer targets in assignment differ in signedness
ffserver.c: In function 'rtsp_parse_request':
ffserver.c:2525: warning: pointer targets in assignment differ in signedness
ffserver.c: In function 'rtsp_cmd_describe':
ffserver.c:2735: warning: pointer targets in passing argument 3 of
'getsockname' differ in signedness
ffserver.c: At top level:
ffserver.c:362: warning: 'get_longterm_datarate' defined but not used
ffserver.c: In function 'main':
ffserver.c:4215: warning: 'acl.next' is used uninitialized in this function
ffserver.c:4170: warning: 'acl.action' may be used uninitialized in this
function
ffserver.c:4170: warning: 'acl.first.s_addr' may be used uninitialized in this
function
ffserver.c:4170: warning: 'acl.last.s_addr' may be used uninitialized in this
function
libtool --mode=link gcc -Wl,--warn-common -rdynamic -Wl,-E -o ffserver
ffserver.o libavformat/libavformat.la libavcodec/libavcodec.la -lm -lz
gcc -Wl,--warn-common -rdynamic -Wl,-E -o .libs/ffserver ffserver.o
libavformat/.libs/libavformat.so
-L/tmp/obj_pkgsrc/multimedia/ffmpeg/work/.buildlink/lib
libavcodec/.libs/libavcodec.so -lm -lz -Wl,--rpath -Wl,/usr/pkg/lib
ffserver.o: In function `load_module':
ffserver.c:(.text+0x2daf): undefined reference to `dlopen'
ffserver.c:(.text+0x2dc6): undefined reference to `dlsym'
ffserver.c:(.text+0x2de1): undefined reference to `dlerror'
ffserver.c:(.text+0x2e2e): undefined reference to `dlclose'
collect2: ld returned 1 exit status
gmake: *** [ffserver] Error 1
*** Error code 2
Stop.
bmake: stopped in /srv/pkgsrc/multimedia/ffmpeg
*** Error code 1
Stop.
bmake: stopped in /srv/pkgsrc/multimedia/ffmpeg
>How-To-Repeat:
>Fix:
Index: multimedia/ffmpeg/distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/multimedia/ffmpeg/distinfo,v
retrieving revision 1.13
diff -u -r1.13 distinfo
--- multimedia/ffmpeg/distinfo 2 Aug 2007 21:48:33 -0000 1.13
+++ multimedia/ffmpeg/distinfo 21 Dec 2007 13:40:16 -0000
@@ -3,7 +3,7 @@
SHA1 (ffmpeg-0.4.9-pre1.tar.gz) = aad00445137520bec19e56bcb042e75a10c53bb3
RMD160 (ffmpeg-0.4.9-pre1.tar.gz) = fd682846f97ada32951af7844e185c42783189a4
Size (ffmpeg-0.4.9-pre1.tar.gz) = 1611332 bytes
-SHA1 (patch-aa) = c1cbba3599d495e70bc26edd026e18e0f5101070
+SHA1 (patch-aa) = 9211ce3acfccf8c543ffea4a99e10413742aaaea
SHA1 (patch-ab) = 15c7def153b0854169f36ebc7c1e8ae49a0268ea
SHA1 (patch-ac) = 176a15b8c55f14269b5cb0123b4c88a52e9de19e
SHA1 (patch-ad) = 933d57aea5721c4562773b97086ff672bd2a4ea9
Index: multimedia/ffmpeg/patches/patch-aa
===================================================================
RCS file: /cvsroot/pkgsrc/multimedia/ffmpeg/patches/patch-aa,v
retrieving revision 1.6
diff -u -r1.6 patch-aa
--- multimedia/ffmpeg/patches/patch-aa 2 Aug 2007 21:48:34 -0000 1.6
+++ multimedia/ffmpeg/patches/patch-aa 21 Dec 2007 13:40:16 -0000
@@ -1,7 +1,7 @@
$NetBSD: patch-aa,v 1.6 2007/08/02 21:48:34 dbj Exp $
---- configure.orig 2004-07-05 11:06:16.000000000 -0700
-+++ configure 2007-08-02 12:56:27.000000000 -0700
+--- configure.orig 2004-07-05 21:06:16.000000000 +0300
++++ configure
@@ -224,11 +224,10 @@ FFSLDFLAGS=""
need_inet_aton="yes"
extralibs="$extralibs -lsocket -lnsl"
@@ -23,3 +23,13 @@
SHFLAGS="-dynamiclib"
extralibs=""
darwin="yes"
+@@ -1140,8 +1138,8 @@ fi
+ if test "$vhook" = "yes" ; then
+ echo "BUILD_VHOOK=yes" >> config.mak
+ echo "#define HAVE_VHOOK 1" >> $TMPH
+- extralibs="$extralibs $ldl"
+ fi
++extralibs="$extralibs $ldl"
+ if test "$lshared" = "yes" ; then
+ echo "BUILD_SHARED=yes" >> config.mak
+ echo "PIC=-fPIC" >> config.mak
Home |
Main Index |
Thread Index |
Old Index