Linkin problem when trying to compile "gnash"

Niels S. Eliasen nse at delfi-konsult.com
Fri Jul 4 22:15:02 UTC 2008


Hi guys
Trying to compile(and install) gnash I get an error while trying to  
compile the "x264" package which gnash is dependent upon ....

===>  Building for x264-0.0.20080409_2
cc -o x264 x264.o matroska.o muxers.o libx264.a -L/usr/local/lib -L/ 
usr/local/lib -L/usr/X11R6/lib -lX11 -lm -pthread -lgpac -Wl,- 
Bsymbolic -s
libx264.a(common.o)(.text+0xfb8): In function `x264_param_default':
: undefined reference to `x264_cpu_detect'
libx264.a(common.o)(.text+0x1774): In function `x264_param_parse':
: undefined reference to `x264_cpu_detect'
libx264.a(mc.o)(.text+0x1c9c): In function `x264_mc_init':
: undefined reference to `x264_mc_altivec_init'
libx264.a(predict.o)(.text+0x3580): In function  
`x264_predict_16x16_init':
: undefined reference to `x264_predict_16x16_init_altivec'
libx264.a(pixel.o)(.text+0x6cc0): In function `x264_pixel_init':
: undefined reference to `x264_pixel_altivec_init'
libx264.a(frame.o)(.got2+0x20): undefined reference to  
`x264_deblock_v_luma_altivec'
libx264.a(frame.o)(.got2+0x24): undefined reference to  
`x264_deblock_h_luma_altivec'
libx264.a(dct.o)(.got2+0x34): undefined reference to  
`x264_sub4x4_dct_altivec'
libx264.a(dct.o)(.got2+0x38): undefined reference to  
`x264_sub8x8_dct_altivec'
libx264.a(dct.o)(.got2+0x3c): undefined reference to  
`x264_sub16x16_dct_altivec'
libx264.a(dct.o)(.got2+0x40): undefined reference to  
`x264_add4x4_idct_altivec'
libx264.a(dct.o)(.got2+0x44): undefined reference to  
`x264_add8x8_idct_altivec'
libx264.a(dct.o)(.got2+0x48): undefined reference to  
`x264_add16x16_idct_altivec'
libx264.a(dct.o)(.got2+0x4c): undefined reference to  
`x264_sub8x8_dct8_altivec'
libx264.a(dct.o)(.got2+0x50): undefined reference to  
`x264_sub16x16_dct8_altivec'
libx264.a(dct.o)(.got2+0x54): undefined reference to  
`x264_add8x8_idct8_altivec'
libx264.a(dct.o)(.got2+0x58): undefined reference to  
`x264_add16x16_idct8_altivec'
libx264.a(dct.o)(.got2+0x74): undefined reference to  
`x264_zigzag_scan_4x4_field_altivec'
libx264.a(dct.o)(.got2+0x84): undefined reference to  
`x264_zigzag_scan_4x4_frame_altivec'
libx264.a(quant.o)(.got2+0x18): undefined reference to  
`x264_quant_2x2_dc_altivec'
libx264.a(quant.o)(.got2+0x1c): undefined reference to  
`x264_quant_4x4_dc_altivec'
libx264.a(quant.o)(.got2+0x20): undefined reference to  
`x264_quant_4x4_altivec'
libx264.a(quant.o)(.got2+0x24): undefined reference to  
`x264_quant_8x8_altivec'
libx264.a(quant.o)(.got2+0x28): undefined reference to  
`x264_dequant_4x4_altivec'
libx264.a(quant.o)(.got2+0x2c): undefined reference to  
`x264_dequant_8x8_altivec'
gmake: *** [x264] Error 1
*** Error code 2

Stop in /usr/ports/multimedia/x264.
*** Error code 1

Stop in /usr/ports/multimedia/x264.

anyone knows how to fix this ?


kind regards

nse

"Ach, crivens, what a wee snotter....."

Quote from "The Wee Free Men" by Terry Pratchett



More information about the freebsd-ppc mailing list