Bugs item #797950, was opened at 2003-08-30 15:43
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=111050&aid=797950&group_id=11050
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Don Park (donpdonp)
Assigned to: Nobody/Anonymous (nobody)
Summary: gcc-2.96 fix
Initial Comment:
Im compling avifile0.7-0.7.38 on an older linux system.
This system uses gcc 2.96 and glibc 2.4.4.
The build process works file except for one very small
tweak that might be worth putting into the code.
ffmpeg/libavformat/flvenc.c line 233 (in
flv_write_trailer())
int64_t file_size = url_ftell(pb);
int flags = 0;
this shows up after the first line of code, causing gcc
2.96 to choke.
if you change flv_write_trailer to look like:
int64_t file_size;
int flags;
ByteIOContext *pb = &s->pb;
FLVContext *flv = s->priv_data;
Dump(flv,pb,1);
file_size = url_ftell(pb);
flags = 0;
then the rest of the package compiles.
Also this system is headless, but the build fails when
trying to include -lX11 -lXext from
lib/video/libvideo.la line 17. I removed those and the
build contiued. I also took 'samples' out of the top
level makefile - a couple of the samples want the X11,
Xext libs too.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=111050&aid=797950&group_id=11050
_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile