Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jul 2009 00:29:29 +0100
From:      "Graeme Dargie" <arab@tangerine-army.co.uk>
To:        <freebsd-questions@freebsd.org>
Subject:   VLC server
Message-ID:  <01FB8F39BAD0BD49A6D0DA8F789739295718@Mercury.galaxy.lan.lcl>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01FB8F39BAD0BD49A6D0DA8F789739295718>