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

Sergey Svishchev svs+mplayer at grep.ru
Sat Sep 30 18:29:44 CEST 2006


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



More information about the MPlayer-dev-eng mailing list