VLC server

Graeme Dargie arab at tangerine-army.co.uk
Tue Jul 7 23:30:29 UTC 2009


Hello List.

 

 

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.

 

 

 

===>  Building for ffmpeg-2008.07.27_11

cc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -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

 

Stop in /usr/ports/multimedia/ffmpeg.

*** Error code 1

 

Stop in /usr/ports/multimedia/ffmpeg.

sun3# make

===>  Building for ffmpeg-2008.07.27_11

cc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -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

 

Stop in /usr/ports/multimedia/ffmpeg.

*** Error code 1

 

Stop in /usr/ports/multimedia/ffmpeg.

 

 

Regards

 

Graeme



More information about the freebsd-questions mailing list