[x264-devel] gcc 3.2 compilation error

David Liontooth liontooth at cogweb.net
Tue Aug 21 20:11:27 CEST 2007


David Liontooth wrote:
> On a beowulf cluster with gcc 3.2 I get this error:
>
> liontooth at beowulf:~/software/tarballs/x264-snapshot-20070820-2245$ 
> ./configure --enable-pthread
>
> gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 
> -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer   -c -o common/mc.o 
> common/mc.c
> gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 
> -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer   -c -o 
> common/predict.o common/predict.c
> gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 
> -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer   -c -o 
> common/pixel.o common/pixel.c
> gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 
> -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer   -c -o 
> common/macroblock.o common/macroblock.c
> gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 
> -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer   -c -o 
> common/frame.o common/frame.c
> gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 
> -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer   -c -o common/dct.o 
> common/dct.c
> gcc -O4 -ffast-math  -Wall -I. -DHAVE_MALLOC_H -DHAVE_MMX -DARCH_X86 
> -DSYS_LINUX -DHAVE_PTHREAD -s -fomit-frame-pointer   -c -o common/cpu.o 
> common/cpu.c
> common/cpu.c: In function `x264_cpu_num_processors':
> common/cpu.c:212: `cpu_set_t' undeclared (first use in this function)
> common/cpu.c:212: (Each undeclared identifier is reported only once
> common/cpu.c:212: for each function it appears in.)
> common/cpu.c:212: parse error before "p_aff"
> common/cpu.c:213: `p_aff' undeclared (first use in this function)
> make: *** [common/cpu.o] Error 1
>
> Is this just an effect of the ancient gcc?
>   
If I use "./configure --disable-pthread" it compiles -- I had to use 
"disable" rather than just leave out "enable".
I'd like to have pthreads, though.
> Has anyone used x264 on a beowulf cluster?
>
> Dave
> _______________________________________________
> x264-devel mailing list
> x264-devel at videolan.org
> http://mailman.videolan.org/listinfo/x264-devel
>   

_______________________________________________
x264-devel mailing list
x264-devel at videolan.org
http://mailman.videolan.org/listinfo/x264-devel


More information about the x264-devel mailing list