[MPlayer-users] compilation error on FreeBSD 7.0 STABLE AMD64

cbreak cbreak at the-color-black.net
Mon Aug 25 12:42:04 CEST 2008


On 25.08.2008, at 11:34, Jan Catrysse wrote:

> Has anyone got a clue? This is the first time I try to compile from  
> latest
> source.
>
> I have already installed the latest x264 from source, but with the  
> older one
> I didn't have any  success.
>

Give us your ./configure line, the contents of your CFLAGS (it should  
be empty) and the output of your configure. If we see that, maybe we  
can say more. Currently it looks like your compiler for some strange  
reason tries to compile the x86 asm in 64 bit mode? Maybe.

>
> ---errors---
>
> In file included from h264.c:39:
>
> i386/h264_i386.h: In function 'decode_significance_x86':
>
> i386/h264_i386.h:43: warning: cast from pointer to integer of  
> different size
>
> i386/h264_i386.h:44: warning: cast from pointer to integer of  
> different size
>
> i386/h264_i386.h: In function 'decode_significance_8x8_x86':
>
> i386/h264_i386.h:96: warning: cast from pointer to integer of  
> different size
>
> h264.c: In function 'fill_caches':
>
> h264.c:125: warning: assignment discards qualifiers from pointer  
> target type
>
> h264.c:164: warning: assignment discards qualifiers from pointer  
> target type
>
> h264.c:166: warning: assignment discards qualifiers from pointer  
> target type
>
> h264.c:170: warning: assignment discards qualifiers from pointer  
> target type
>
> h264.c: In function 'pred_direct_motion':
>
> h264.c:1026: warning: assignment from incompatible pointer type
>
> h264.c:1027: warning: assignment from incompatible pointer type
>
> h264.c: In function 'filter_mb_fast':
>
> h264.c:6217: warning: dereferencing type-punned pointer will break
> strict-aliasing rules
>
> h264.c: In function 'filter_mb':
>
> h264.c:6389: warning: initialization from incompatible pointer type
>
> h264.c:6390: warning: initialization from incompatible pointer type
>
> {standard input}: Assembler messages:
>
> {standard input}:18: Error: `ff_h264_lps_range(%eax,%esi,2)' is not  
> a valid
> 64 bit base/index expression
>
> {standard input}:31: Error: `ff_h264_norm_shift(%esi)' is not a  
> valid 64 bit
> base/index expression
>
> {standard input}:33: Error: `ff_h264_mlps_state+128(%eax)' is not a  
> valid 64
> bit base/index expression
>
> {standard input}:45: Error: `-1(%ebx)' is not a valid 64 bit base/ 
> index
> expression
>
> {standard input}:48: Error: `ff_h264_norm_shift(%ecx)' is not a  
> valid 64 bit
> base/index expression
>
>
>
> ----<snip>-----
>
>
>
> {standard input}:9469: Error: `ff_h264_mlps_state+128(%edx)' is not  
> a valid
> 64 bit base/index expression
>
> {standard input}:9481: Error: `-1(%ebx)' is not a valid 64 bit base/ 
> index
> expression
>
> {standard input}:9484: Error: `ff_h264_norm_shift(%ecx)' is not a  
> valid 64
> bit base/index expression
>
> h264.c: In function 'execute_ref_pic_marking':
>
> h264.c:3227: warning: 'j' may be used uninitialized in this function
>
> h264.c:3235: warning: 'structure' may be used uninitialized in this  
> function
>
> h264.c:3235: warning: 'frame_num' may be used uninitialized in this  
> function
>
> h264.c:3229: warning: 'pic' may be used uninitialized in this function
>
> {standard input}:27962: Error: `ff_h264_lps_range(%eax,%esi,2)' is  
> not a
> valid 64 bit base/index expression
>
> {standard input}:27975: Error: `ff_h264_norm_shift(%esi)' is not a  
> valid 64
> bit base/index expression
>
> {standard input}:27977: Error: `ff_h264_mlps_state+128(%eax)' is not  
> a valid
> 64 bit base/index expression
>
> {standard input}:27989: Error: `-1(%ebx)' is not a valid 64 bit base/ 
> index
> expression
>
> {standard input}:27992: Error: `ff_h264_norm_shift(%ecx)' is not a  
> valid 64
> bit base/index expression
>
> {standard input}:28010: Error: `ff_h264_lps_range(%eax,%esi,2)' is  
> not a
> valid 64 bit base/index expression
>
> {standard input}:28023: Error: `ff_h264_norm_shift(%esi)' is not a  
> valid 64
> bit base/index expression
>
> {standard input}:28025: Error: `ff_h264_mlps_state+128(%eax)' is not  
> a valid
> 64 bit base/index expression
>
> {standard input}:28037: Error: `-1(%ebx)' is not a valid 64 bit base/ 
> index
> expression
>
> {standard input}:28040: Error: `ff_h264_norm_shift(%ecx)' is not a  
> valid 64
> bit base/index expression
>
> {standard input}:28057: Error: `ff_h264_lps_range(%eax,%esi,2)' is  
> not a
> valid 64 bit base/index expression
>
> {standard input}:28070: Error: `ff_h264_norm_shift(%esi)' is not a  
> valid 64
> bit base/index expression
>
> {standard input}:28072: Error: `ff_h264_mlps_state+128(%eax)' is not  
> a valid
> 64 bit base/index expression
>
> {standard input}:28084: Error: `-1(%ebx)' is not a valid 64 bit base/ 
> index
> expression
>
> {standard input}:28087: Error: `ff_h264_norm_shift(%ecx)' is not a  
> valid 64
> bit base/index expression
>
> {standard input}:28104: Error: `ff_h264_lps_range(%eax,%esi,2)' is  
> not a
> valid 64 bit base/index expression
>
> {standard input}:28117: Error: `ff_h264_norm_shift(%esi)' is not a  
> valid 64
> bit base/index expression
>
>
>
> ----<snip>-----
>
>
>
> {standard input}:35275: Error: `ff_h264_norm_shift(%ecx)' is not a  
> valid 64
> bit base/index expression
>
> {standard input}:35294: Error: `ff_h264_lps_range(%eax,%esi,2)' is  
> not a
> valid 64 bit base/index expression
>
> {standard input}:35307: Error: `ff_h264_norm_shift(%esi)' is not a  
> valid 64
> bit base/index expression
>
> {standard input}:35309: Error: `ff_h264_mlps_state+128(%eax)' is not  
> a valid
> 64 bit base/index expression
>
> {standard input}:35321: Error: `-1(%ebx)' is not a valid 64 bit base/ 
> index
> expression
>
> {standard input}:35324: Error: `ff_h264_norm_shift(%ecx)' is not a  
> valid 64
> bit base/index expression
>
> gmake[1]: *** [h264.o] Error 1
>
> gmake[1]: Leaving directory `/nas-data/volume1/mplayer/libavcodec'
>
> gmake: *** [libavcodec/libavcodec.a] Error 2
>
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users




More information about the MPlayer-users mailing list