Hi All,

I have x264 compiled from the source code that I check out on Feb 23, 2011
and liba52-0.7.4 compiled. x264 comes with pkgconfig directory installed but
liba52 doesn't. I also have other library missing but I am just trying to go
down the list to find out what I am missing. The question now is.

1. the configure still shows

checking x264.h usability... no
checking x264.h presence... no
checking for x264.h... no
....
libx264 enabled           no
....
libx264 libraries       found
libx264 headers         missing

and I even tried to set the environment variable with same results.

sms:/local/home/build/cinelerra/my_cinelerra> env | grep LIBX264
LIBX264_CFLAGS=-I/local/home/tools/x264/x264-git-20110223/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/include
LIBX264_LIBS=-L/local/home/tools/x264/x264-git-20110223/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release/lib
-lx264 -lpthread


2. How do I let the configure knows I have liba52 installed at

/local/home/tools/liba52/liba52-0.7.4/sms.Linux-2.6.18-194.26.1.el5.x86_64.gcc-4.1.2.release

?

I am getting this when I compile,

sms:/local/home/build/cinelerra/my_cinelerra> make
make  all-recursive
make[1]: Entering directory `/local/home/build/cinelerra/my_cinelerra'
Making all in libmpeg3
make[2]: Entering directory
`/local/home/build/cinelerra/my_cinelerra/libmpeg3'
Making all in audio
make[3]: Entering directory
`/local/home/build/cinelerra/my_cinelerra/libmpeg3/audio'
if /bin/sh ../../libtool --tag=CC --tag=CC --mode=compile gcc
-DHAVE_CONFIG_H -I. -I. -I../.. -I./..   -DHAVE_MMX -DUSE_MMX -DX86_CPU
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -MT
ac3.lo -MD -MP -MF ".deps/ac3.Tpo" -c -o ac3.lo ac3.c; \
        then mv -f ".deps/ac3.Tpo" ".deps/ac3.Plo"; else rm -f
".deps/ac3.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./.. -DHAVE_MMX -DUSE_MMX -DX86_CPU
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -MT
ac3.lo -MD -MP -MF .deps/ac3.Tpo -c ac3.c -o .libs/ac3.o
ac3.c:4:24: error: a52dec/a52.h: No such file or directory
ac3.c: In function 'mpeg3_new_ac3':
ac3.c:15: warning: assignment makes pointer from integer without a cast
ac3.c:16: warning: assignment makes pointer from integer without a cast
ac3.c: In function 'mpeg3_ac3_header':
ac3.c:57: error: 'A52_LFE' undeclared (first use in this function)
ac3.c:57: error: (Each undeclared identifier is reported only once
ac3.c:57: error: for each function it appears in.)
ac3.c:64: error: 'A52_CHANNEL_MASK' undeclared (first use in this function)
ac3.c:66: error: 'A52_CHANNEL' undeclared (first use in this function)
ac3.c:69: error: 'A52_MONO' undeclared (first use in this function)
ac3.c:72: error: 'A52_STEREO' undeclared (first use in this function)
ac3.c:75: error: 'A52_3F' undeclared (first use in this function)
ac3.c:78: error: 'A52_2F1R' undeclared (first use in this function)
ac3.c:81: error: 'A52_3F1R' undeclared (first use in this function)
ac3.c:84: error: 'A52_2F2R' undeclared (first use in this function)
ac3.c:87: error: 'A52_3F2R' undeclared (first use in this function)
ac3.c:90: error: 'A52_DOLBY' undeclared (first use in this function)
ac3.c: In function 'mpeg3audio_doac3':
ac3.c:110: error: 'sample_t' undeclared (first use in this function)
ac3.c:110: error: expected ';' before 'level'
ac3.c:117: error: 'level' undeclared (first use in this function)
ac3.c:136: error: 'A52_LFE' undeclared (first use in this function)
ac3.c:145: error: 'A52_CHANNEL_MASK' undeclared (first use in this function)
ac3.c:147: error: 'A52_3F' undeclared (first use in this function)
ac3.c:148: error: 'A52_3F1R' undeclared (first use in this function)
ac3.c:149: error: 'A52_3F2R' undeclared (first use in this function)
ac3.c:158: error: expected expression before ')' token
make[3]: *** [ac3.lo] Error 1
make[3]: Leaving directory
`/local/home/build/cinelerra/my_cinelerra/libmpeg3/audio'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/local/home/build/cinelerra/my_cinelerra/libmpeg3'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/local/home/build/cinelerra/my_cinelerra'
make: *** [all] Error 2



thank you
-simon

Reply via email to