From owner-freebsd-questions@FreeBSD.ORG Tue Jul 7 23:30:29 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 890211065679 for ; Tue, 7 Jul 2009 23:30:29 +0000 (UTC) (envelope-from arab@tangerine-army.co.uk) Received: from smtp-out4.blueyonder.co.uk (smtp-out4.blueyonder.co.uk [195.188.213.7]) by mx1.freebsd.org (Postfix) with ESMTP id 8B7988FC19 for ; Tue, 7 Jul 2009 23:30:28 +0000 (UTC) (envelope-from arab@tangerine-army.co.uk) Received: from [172.23.170.141] (helo=anti-virus02-08) by smtp-out4.blueyonder.co.uk with smtp (Exim 4.52) id 1MOK7B-0006Yp-P6 for freebsd-questions@freebsd.org; Wed, 08 Jul 2009 00:30:21 +0100 Received: from [94.168.156.45] (helo=Mercury.galaxy.lan.lcl) by asmtp-out2.blueyonder.co.uk with esmtp (Exim 4.52) id 1MOK7A-0002OT-Pi for freebsd-questions@freebsd.org; Wed, 08 Jul 2009 00:30:21 +0100 MIME-Version: 1.0 Date: Wed, 8 Jul 2009 00:29:29 +0100 Content-class: urn:content-classes:message Message-ID: <01FB8F39BAD0BD49A6D0DA8F789739295718@Mercury.galaxy.lan.lcl> X-MS-Has-Attach: X-MimeOLE: Produced By Microsoft Exchange V6.5 X-MS-TNEF-Correlator: Thread-Topic: VLC server Thread-Index: Acn/WsaWhGws8UoDQzuyL5wyz5J+oQ== From: "Graeme Dargie" To: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: VLC server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jul 2009 23:30:29 -0000 Hello List. =20 =20 I was trying to install VLC server from ports, all seemed simple enough till it got to the ffmpeg port, where it stops compiling with the following errors. Your help is greatly appreciated. =20 =20 =20 =3D=3D=3D> Building for ffmpeg-2008.07.27_11 cc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURC E -I. -I"/usr/ports/multimedia/ffmpeg/work/ffmpeg-2008-07-27" -O2 -fno-strict-al iasing -pipe -O2 -I/usr/local/include/vorbis -I/usr/local/include -fomit-frame-p ointer -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization - Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings - O3 -fno-math-errno -fPIC -DPIC -c -o libavcodec/libamr.o libavcodec/libam r.c libavcodec/libamr.c:80:30: error: amrnb/interf_dec.h: No such file or directory libavcodec/libamr.c:81:30: error: amrnb/interf_enc.h: No such file or directory libavcodec/libamr.c:93: error: field 'mode' has incomplete type libavcodec/libamr.c: In function 'getBitrateMode': libavcodec/libamr.c:100: error: 'MR475' undeclared (first use in this function) libavcodec/libamr.c:100: error: (Each undeclared identifier is reported only onc e libavcodec/libamr.c:100: error: for each function it appears in.) libavcodec/libamr.c:101: error: 'MR515' undeclared (first use in this function) libavcodec/libamr.c:102: error: 'MR59' undeclared (first use in this function) libavcodec/libamr.c:103: error: 'MR67' undeclared (first use in this function) libavcodec/libamr.c:104: error: 'MR74' undeclared (first use in this function) libavcodec/libamr.c:105: error: 'MR795' undeclared (first use in this function) libavcodec/libamr.c:106: error: 'MR102' undeclared (first use in this function) libavcodec/libamr.c:107: error: 'MR122' undeclared (first use in this function) libavcodec/libamr.c:115: warning: return makes integer from pointer without a ca st In file included from libavcodec/libamr.c:533: /usr/local/include/amrwb/dec_if.h: At top level: /usr/local/include/amrwb/dec_if.h:28: warning: redundant redeclaration of 'D_IF_ init' /usr/local/include/amrwb/dec_if.h:26: warning: previous declaration of 'D_IF_ini t' was here libavcodec/libamr.c:699: warning: initialization from incompatible pointer type gmake: *** [libavcodec/libamr.o] Error 1 *** Error code 1 =20 Stop in /usr/ports/multimedia/ffmpeg. *** Error code 1 =20 Stop in /usr/ports/multimedia/ffmpeg. sun3# make =3D=3D=3D> Building for ffmpeg-2008.07.27_11 cc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=3D64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURC E -I. -I"/usr/ports/multimedia/ffmpeg/work/ffmpeg-2008-07-27" -O2 -fno-strict-al iasing -pipe -O2 -I/usr/local/include/vorbis -I/usr/local/include -fomit-frame-p ointer -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization - Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings - O3 -fno-math-errno -fPIC -DPIC -c -o libavcodec/libamr.o libavcodec/libam r.c libavcodec/libamr.c:80:30: error: amrnb/interf_dec.h: No such file or directory libavcodec/libamr.c:81:30: error: amrnb/interf_enc.h: No such file or directory libavcodec/libamr.c:93: error: field 'mode' has incomplete type libavcodec/libamr.c: In function 'getBitrateMode': libavcodec/libamr.c:100: error: 'MR475' undeclared (first use in this function) libavcodec/libamr.c:100: error: (Each undeclared identifier is reported only onc e libavcodec/libamr.c:100: error: for each function it appears in.) libavcodec/libamr.c:101: error: 'MR515' undeclared (first use in this function) libavcodec/libamr.c:102: error: 'MR59' undeclared (first use in this function) libavcodec/libamr.c:103: error: 'MR67' undeclared (first use in this function) libavcodec/libamr.c:104: error: 'MR74' undeclared (first use in this function) libavcodec/libamr.c:105: error: 'MR795' undeclared (first use in this function) libavcodec/libamr.c:106: error: 'MR102' undeclared (first use in this function) libavcodec/libamr.c:107: error: 'MR122' undeclared (first use in this function) libavcodec/libamr.c:115: warning: return makes integer from pointer without a ca st In file included from libavcodec/libamr.c:533: /usr/local/include/amrwb/dec_if.h: At top level: /usr/local/include/amrwb/dec_if.h:28: warning: redundant redeclaration of 'D_IF_ init' /usr/local/include/amrwb/dec_if.h:26: warning: previous declaration of 'D_IF_ini t' was here libavcodec/libamr.c:699: warning: initialization from incompatible pointer type gmake: *** [libavcodec/libamr.o] Error 1 *** Error code 1 =20 Stop in /usr/ports/multimedia/ffmpeg. *** Error code 1 =20 Stop in /usr/ports/multimedia/ffmpeg. =20 =20 Regards =20 Graeme