Subject: pkg/32892: mplayer gcc -m64
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Gilles Dauphin <dauphin@enst.fr>
List: pkgsrc-bugs
Date: 02/21/2006 16:55:00
>Number:         32892
>Category:       pkg
>Synopsis:       mplayer gcc -m64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 21 16:55:00 +0000 2006
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc
>Organization:
ENST 
>Environment:


System: SunOS bi.enst.fr 5.10 Generic_118844-20 i86pc


>Description:


offset_t is still defined on modern system


gmake[1]: Leaving directory `/usr/pkgsrc/multimedia/mplayer/work/MPlayer-1.0pre7/libavcodec'
/usr/pkg/bin/gmake -C libavformat LIBPREF=lib LIBSUF=.a
gmake[1]: Entering directory `/usr/pkgsrc/multimedia/mplayer/work/MPlayer-1.0pre7/libavformat'
gcc -I../libvo -I../../libvo -I/usr/openwin/include -fno-PIC -O2   -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  -I.. -I.. -I../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/sfw/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 `/usr/pkgsrc/multimedia/mplayer/work/MPlayer-1.0pre7/libavformat'
gmake: *** [libavformat/libavformat.a] Error 2
*** Error code 2




>How-To-Repeat:


bmake in mplayer


>Fix:


don't know