[Ffmpeg-devel] [Ffmpeg-devel-old] undefined reference to `av_rescale_q'
sean
seandarcy2
Mon May 23 04:45:17 CEST 2005
Trying to build may 22 cvs:
gcc -Wl,--warn-common -rdynamic -L/usr/lib64 -g -o ffmpeg_g
ffmpeg.o cmdutils.o -L./libavformat -lavformat
-L./libavcodec -lavcodec -L/usr/lib64 -lz -lpthread -ldl
-lvorbisenc -lvorbis -logg -lfaac -lxvidcore
ffmpeg.o(.text+0x4b90): In function `output_packet':
/usr/src/redhat/BUILD/ffmpeg/ffmpeg.c:1124: undefined
reference to `av_rescale_q'
ffmpeg.o(.text+0x4fa6):/usr/src/redhat/BUILD/ffmpeg/ffmpeg.c:879:
undefined reference to `av_rescale_q'
ffmpeg.o(.text+0x519f):/usr/src/redhat/BUILD/ffmpeg/ffmpeg.c:919:
undefined reference to `av_rescale_q'
ffmpeg.o(.text+0x5573):/usr/src/redhat/BUILD/ffmpeg/ffmpeg.c:1368:
undefined reference to `av_rescale_q'
ffmpeg.o(.text+0x56d1):/usr/src/redhat/BUILD/ffmpeg/ffmpeg.c:1309:
undefined reference to `av_rescale_q'
ffmpeg.o(.text+0x56ee):/usr/src/redhat/BUILD/ffmpeg/ffmpeg.c:1309:
more undefined references to `av_rescale_q' follow
...............
ffmpeg.o and cmdutils.o built no errors:
gcc -O3 -g -Wall -Wno-switch -O2 -fPIC -ffast-math
-mtune=athlon64 -O2 -fPIC -I.
-I'/usr/src/redhat/BUILD/ffmpeg'
-I'/usr/src/redhat/BUILD/ffmpeg'/libavcodec
-I'/usr/src/redhat/BUILD/ffmpeg'/libavformat
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c
-o ffmpeg.o ffmpeg.c
ffmpeg.c: In function 'output_packet':
ffmpeg.c:1147: warning: pointer targets in passing argument
2 of 'av_fast_realloc' differ in signedness
ffmpeg.c: In function 'av_encode':
ffmpeg.c:1940: warning: format '%lld' expects type 'long
long int', but argument 3 has type 'int64_t'
ffmpeg.c:1940: warning: format '%lld' expects type 'long
long int', but argument 4 has type 'long int'
gcc -O3 -g -Wall -Wno-switch -O2 -fPIC -ffast-math
-mtune=athlon64 -O2 -fPIC -I.
-I'/usr/src/redhat/BUILD/ffmpeg'
-I'/usr/src/redhat/BUILD/ffmpeg'/libavcodec
-I'/usr/src/redhat/BUILD/ffmpeg'/libavformat
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c
-o cmdutils.o cmdutils.c
sean
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click
_______________________________________________
Ffmpeg-devel mailing list
Ffmpeg-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ffmpeg-devel
More information about the ffmpeg-devel
mailing list