[FFmpeg-devel] [PATCH] Fix compilation on OS/2

Dave Yeo daveryeo
Sat Nov 29 04:41:25 CET 2008


Hi, compilation on OS/2 currently dies here,

gcc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I. 
-I"/usr/src/FFmpeg" -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -std=c99 
-fomit-frame-pointer -march=athlon-tbird -g 
-Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization 
-Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual 
-Wwrite-strings -Wtype-limits -O3 -fno-math-errno -fno-signed-zeros 
    -c -o libavformat/udp.o libavformat/udp.c
libavformat/udp.c: In function 'udp_read':
libavformat/udp.c:459: error: storage size of 'tv' isn't known
libavformat/udp.c:459: warning: unused variable 'tv'
make: *** [libavformat/udp.o] Error 1

Which is fixed by attached patch
Dave
-------------- next part --------------
A non-text attachment was scrubbed...
Name: udp.diff
Type: text/x-patch
Size: 345 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20081128/ba4512e2/attachment.bin>



More information about the ffmpeg-devel mailing list