[MPlayer-dev-eng] Solaris/x86 10, gcc 3.4.3: 1.0pre8 build fails

Derek E. Lewis dlewis at solnetworks.net
Sat Sep 30 20:58:11 CEST 2006


This is really an ffmpeg bug. We've been aware of this for quite awhile; 
however, no action has been taken. You can simply change the #define that 
contains offset_t to something else, and the build should proceed without 
trouble.

Thanks,

Derek E. Lewis
dlewis at solnetworks.net
http://riemann.solnetworks.net/~dlewis

On Sat, 30 Sep 2006, Sergey Svishchev wrote:

> 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
>
> -- 
> Sergey Svishchev
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
>
>



More information about the MPlayer-dev-eng mailing list