pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/38105: mplayer doesn't compile (NetBSD-4.99.54/i386)



>Number:         38105
>Category:       pkg
>Synopsis:       mplayer doesn't compile (NetBSD-4.99.54/i386)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 25 22:20:00 +0000 2008
>Originator:     Andreas Burghardt
>Release:        NetBSD-4.99.54 (i386)
>Organization:
>Environment:
NetBSD eye 4.99.54 NetBSD 4.99.54 (GENERIC) #0: Mon Feb 25 18:29:05 CET 2008  
root@:/usr/obj/obj/sys/arch/i386/compile/GENERIC i386
>Description:
Mplayer (pkgsrc-current) doesn't compile on NetBSD-4.99.54. 

cc -O2 -mfpmath=sse -msse2 -march=pentium4 -I/usr/pkg/include -I/usr/include -DG
LX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -O3 -ffast-math -fomit-frame-point
er -mtune=pentiumpro -I./libavcodec -I./libavformat -Wdisabled-optimization -Wno
-pointer-sign -Wdeclaration-after-statement -I. -I. -I./libavutil -O2 -mfpmath=s
se -msse2 -march=pentium4 -I/usr/pkg/include -I/usr/include -DGLX_GLXEXT_LEGACY 
-I/usr/pkg/include/freetype2 -O3 -ffast-math -fomit-frame-pointer -mtune=pentium
pro -D_THREAD_SAFE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOU
RCE -DHAVE_CONFIG_H -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/pkg/inclu
de/cdparanoia -I/usr/pkg/include/freetype2 -I/usr/pkg/include -I/usr/include -DG
LX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -I/usr/X11R6/include -I/usr/pkg/in
clude/SDL  -D_REENTRANT -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/include/fre
etype2 -I/usr/pkg/include -I../libavcodec -I../libavformat -Wdisabled-optimizati
on -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil -O2 -
mfpmath=sse -msse2 -march=pentium4 -I/usr/pkg/include -I/usr/include -DGLX_GLXEX
T_LEGACY -I/usr/pkg/include/freetype2 -O3 -ffast-math -fomit-frame-pointer -mtun
e=pentiumpro -D_THREAD_SAFE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEF
ILE64_SOURCE -DHAVE_CONFIG_H -I/usr/pkg/include -I/usr/pkg/include/faad2 -I/usr/
pkg/include/cdparanoia -I/usr/pkg/include/freetype2 -I/usr/pkg/include -I/usr/in
clude -DGLX_GLXEXT_LEGACY -I/usr/pkg/include/freetype2 -I/usr/X11R6/include -I/u
sr/pkg/include/SDL  -D_REENTRANT -D_THREAD_SAFE -I/usr/pkg/include -I/usr/pkg/in
clude/freetype2 -I/usr/pkg/include -I/usr/pkg/include -I/usr/include -DGLX_GLXEX
T_LEGACY -I/usr/pkg/include/freetype2  -c -o tvi_bsdbt848.o tvi_bsdbt848.c
tvi_bsdbt848.c: In function 'control':
tvi_bsdbt848.c:235: error: 'errno' undeclared (first use in this function)
tvi_bsdbt848.c:235: error: (Each undeclared identifier is reported only once
tvi_bsdbt848.c:235: error: for each function it appears in.)
tvi_bsdbt848.c: In function 'init':
tvi_bsdbt848.c:555: error: 'errno' undeclared (first use in this function)
tvi_bsdbt848.c: In function 'start':
tvi_bsdbt848.c:682: error: 'errno' undeclared (first use in this function)
tvi_bsdbt848.c: In function 'uninit':
tvi_bsdbt848.c:713: error: 'errno' undeclared (first use in this function)
tvi_bsdbt848.c: In function 'grab_audio_frame':
tvi_bsdbt848.c:816: error: 'errno' undeclared (first use in this function)
tvi_bsdbt848.c: In function 'get_audio_framesize':
tvi_bsdbt848.c:856: error: 'errno' undeclared (first use in this function)
gmake[1]: *** [tvi_bsdbt848.o] Error 1
gmake[1]: Leaving directory `/usr/obj/pkgsrc/multimedia/mplayer/work/MPlayer-1.0
rc2/stream'
gmake: *** [stream/stream.a] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/multimedia/mplayer
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/multimedia/mplayer

>How-To-Repeat:

>Fix:
Since it wants errno.h, include it!



Home | Main Index | Thread Index | Old Index