[Ffmpeg-devel] [svs+mplayer at grep.ru: [MPlayer-dev-eng] Solaris/x86 10, gcc 3.4.3: 1.0pre8 build fails]

Diego Biurrun diego
Wed Oct 4 10:35:20 CEST 2006


On Mon, Oct 02, 2006 at 09:28:34AM -0500, Derek E. Lewis wrote:
> Just changing #define offset_t to #define lavf_offset_t should suffice, I 
> would think.

Could you make a patch?  I have no access to such a system for testing.

Diego


> On Mon, 2 Oct 2006, Diego Biurrun wrote:
> 
> >Hmm, what would be a good way to fix this issue?
> >
> >----- Forwarded message from Sergey Svishchev <svs+mplayer at grep.ru> -----
> >
> >From: Sergey Svishchev <svs+mplayer at grep.ru>
> >Date: Sat, 30 Sep 2006 20:29:44 +0400
> >To: mplayer-dev-eng at mplayerhq.hu
> >Subject: [MPlayer-dev-eng] Solaris/x86 10, gcc 3.4.3: 1.0pre8 build fails
> >User-Agent: Mutt/1.5.13 (2006-08-11)
> >
> >Good day,
> >
> >I'm forwarding a report from NetBSD bug database --
> >http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=33831
> >
> >avio.h in svn still defines offset_t unconditionally.
> >
> >>Synopsis:       multimedia/mplayer Solaris10 gcc
> >>Arrival-Date:   Mon Jun 26 14:30:00 +0000 2006
> >>Originator:     Gilles Dauphin
> >>Release:        SunOS 5.10 i86pc
> >>Environment:
> >System: SunOS bi.enst.fr 5.10 Generic_Patch_118844-30 i86pc
> >>Description:
> >gcc -I../libvo -I../../libvo -I/usr/openwin/include -O4   -pipe -ffast-math
> >-fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> >-D_LARGEFILE64_SOURCE -I/usr/pkg/include -I/usr/pkg/include/faad2
> >-DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include -I/usr/pkg/include/faad2
> >-DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -I/usr/include -I..
> >-I/pkg/obj/multimedia/mplayer/work/MPlayer-1.0pre8
> >-I/pkg/obj/multimedia/mplayer/work/MPlayer-1.0pre8/libavutil
> >-I/pkg/obj/multimedia/mplayer/work/MPlayer-1.0pre8/libavcodec
> >-DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE
> >-c -o utils.o utils.c
> >In file included from avformat.h:18,
> >               from utils.c:19:
> >avio.h:6: error: conflicting types for 'offset_t'
> >/usr_ro/sfw/bin/../lib/gcc/i386-pc-solaris2.10/3.4.3/include/sys/types.h:233: error: previous declaration of 'offset_t' was here
> >gmake[1]: *** [utils.o] Error 1
> >gmake[1]: Leaving directory
> >`/pkg/obj/multimedia/mplayer/work/MPlayer-1.0pre8/libavformat'
> >gmake: *** [libavformat/libavformat.a] Error 2
> >*** Error code 2




More information about the ffmpeg-devel mailing list