[Ffmpeg-devel] 64-bit safety

Christian Bienia cbienia
Tue Sep 19 21:27:06 CEST 2006


Hi,

> Post the output. It works perfectly for me.

No problem. My distro is FC4. Below is a list of the first 3 files which
fail to compile:



1. tcp.c:

gcc -I.. -I/home/cbienia/download/ffmpeg/src
-I/home/cbienia/download/ffmpeg/src/libavutil
-I/home/cbienia/download/ffmpeg/src/libavcodec -g -Wdeclaration-after
-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith
-Wredundant -decls -Winline -O3 -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE  -c -o tcp.o
tcp.c
In file included from tcp.c:19:
avformat.h:247: warning: ?AVFrac? is deprecated
avformat.h:403: warning: ?AVImageInfo? is deprecated
avformat.h:406: warning: ?AVImageInfo? is deprecated
avformat.h:411: warning: ?AVImageFormat? is deprecated
avformat.h:416: warning: ?AVImageFormat? is deprecated
avformat.h:417: warning: ?AVImageInfo? is deprecated
avformat.h:418: warning: ?AVImageFormat? is deprecated
avformat.h:418: warning: ?AVImageInfo? is deprecated
/tmp/ccN2SsyO.s: Assembler messages:
/tmp/ccN2SsyO.s:140: Error: Incorrect register `%rax' used with `l'
suffix
/tmp/ccN2SsyO.s:168: Error: Incorrect register `%rdx' used with `l'
suffix
/tmp/ccN2SsyO.s:310: Error: Incorrect register `%rax' used with `l'
suffix
/tmp/ccN2SsyO.s:336: Error: Incorrect register `%rdx' used with `l'
suffix
/tmp/ccN2SsyO.s:689: Error: Incorrect register `%r12' used with `l'
suffix
/tmp/ccN2SsyO.s:713: Error: Incorrect register `%r12' used with `l'
suffix



2. rtsp.c

gcc -I.. -I/home/cbienia/download/ffmpeg/src
-I/home/cbienia/download/ffmpeg/src/libavutil
-I/home/cbienia/download/ffmpeg/src/libavcodec -g
-Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization
-Wpointer-arith -Wredundant-decls -Winline -O3 -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE  -c -o
rtsp.o rtsp.c
In file included from rtsp.c:19:
avformat.h:247: warning: ?AVFrac? is deprecated
avformat.h:403: warning: ?AVImageInfo? is deprecated
avformat.h:406: warning: ?AVImageInfo? is deprecated
avformat.h:411: warning: ?AVImageFormat? is deprecated
avformat.h:416: warning: ?AVImageFormat? is deprecated
avformat.h:417: warning: ?AVImageInfo? is deprecated
avformat.h:418: warning: ?AVImageFormat? is deprecated
avformat.h:418: warning: ?AVImageInfo? is deprecated
rtsp.c: In function ?rtsp_send_cmd?:
rtsp.c:713: warning: pointer targets in passing argument 2 of
?url_write? differ in signedness
rtsp.c: In function ?sdp_probe?:
rtsp.c:1264: warning: pointer targets in initialization differ in
signedness
rtsp.c:1264: warning: pointer targets in initialization differ in
signedness
rtsp.c: In function ?sdp_read_header?:
rtsp.c:1295: warning: pointer targets in passing argument 2 of
?get_buffer? differ in signedness
rtsp.c: In function ?redir_probe?:
rtsp.c:1364: warning: pointer targets in assignment differ in signedness
/tmp/ccngXlC5.s: Assembler messages:
/tmp/ccngXlC5.s:964: Error: Incorrect register `%rdx' used with `l'
suffix
/tmp/ccngXlC5.s:1043: Error: Incorrect register `%rax' used with `l'
suffix



3. rtpproto.c

gcc -I.. -I/home/cbienia/download/ffmpeg/src
-I/home/cbienia/download/ffmpeg/src/libavutil
-I/home/cbienia/download/ffmpeg/src/libavcodec -g
-Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization
-Wpointer-arith -Wredundant-decls -Winline -O3 -DHAVE_AV_CONFIG_H
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE  -c -o
rtpproto.o rtpproto.c
In file included from rtpproto.c:19:
avformat.h:247: warning: ?AVFrac? is deprecated
avformat.h:403: warning: ?AVImageInfo? is deprecated
avformat.h:406: warning: ?AVImageInfo? is deprecated
avformat.h:411: warning: ?AVImageFormat? is deprecated
avformat.h:416: warning: ?AVImageFormat? is deprecated
avformat.h:417: warning: ?AVImageInfo? is deprecated
avformat.h:418: warning: ?AVImageFormat? is deprecated
avformat.h:418: warning: ?AVImageInfo? is deprecated
rtpproto.c: In function ?rtp_read?:
rtpproto.c:207: warning: pointer targets in passing argument 6 of
?recvfrom? differ in signedness
rtpproto.c:219: warning: pointer targets in passing argument 6 of
?recvfrom? differ in signedness
/tmp/ccJYe67H.s: Assembler messages:
/tmp/ccJYe67H.s:263: Error: Incorrect register `%rax' used with `l'
suffix
/tmp/ccJYe67H.s:280: Error: Incorrect register `%rax' used with `l'
suffix
/tmp/ccJYe67H.s:304: Error: Incorrect register `%rdx' used with `l'
suffix
/tmp/ccJYe67H.s:319: Error: Incorrect register `%rdx' used with `l'
suffix






More information about the ffmpeg-devel mailing list