Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 123793 - media-video/mplayer-1.0.20060217 ebuild has NULL undefined in ao_openal.c
Summary: media-video/mplayer-1.0.20060217 ebuild has NULL undefined in ao_openal.c
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: media-video herd
: 124123 (view as bug list)
Depends on:
Reported: 2006-02-23 01:23 UTC by Justin Findlay
Modified: 2006-06-23 10:50 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Justin Findlay 2006-02-23 01:23:32 UTC
archimedes ~ # ebuild /usr/portage/media-video/mplayer/mplayer-1.0.20060217.ebuild merge
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=k8 -mtune=k8 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE  -I. -I.. -I/usr/kde/3.5/include/artsc -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include         -I/usr/X11R6/include  -o ao_openal.o ao_openal.c
ao_openal.c: In function 'init':
ao_openal.c:61: error: 'NULL' undeclared (first use in this function)
ao_openal.c:61: error: (Each undeclared identifier is reported only once
ao_openal.c:61: error: for each function it appears in.)

If I #define NULL 0 near the top of /var/tmp/portage/mplayer-1.0.20060217/work/mplayer-1.0.20060217/libao2/ao_openal.c mplayer compiles successfully.
Comment 1 Peter Hagervall 2006-02-23 06:09:23 UTC
This is fixed in the CVS version upstream, we'll just have to wait for another snapshot.
Comment 2 Alastair Murray 2006-02-25 06:26:54 UTC
Predictably, this only occurs when USE="openal" is set.
Comment 3 Ryan Hendrickson 2006-02-25 19:40:27 UTC
*** Bug 124123 has been marked as a duplicate of this bug. ***
Comment 4 Steve Dibb (RETIRED) gentoo-dev 2006-06-22 17:59:44 UTC
Is the bug still present in newer versions?
Comment 5 Justin Findlay 2006-06-23 10:00:53 UTC
I have not encountered this bug since mplayer-1.0.20060217.
Comment 6 Steve Dibb (RETIRED) gentoo-dev 2006-06-23 10:50:06 UTC
thanks Justin