Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 116848

Summary: alsa-lib(-1.0.10) sets wrong path for pkg-config --cflags
Product: Gentoo Linux Reporter: Prakash Punnoor <prakashp>
Component: New packagesAssignee: Gentoo Sound Team <sound>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Prakash Punnoor 2005-12-27 00:18:10 UTC
pkg-config alsa --cflags returns

-I/usr/include/alsa

which is wrong, as you are supposed to include alsa in userspace via
#include <alsa/asoundlib.h>

So alsa --cflags should either return nothing or -I/usr/include. Of course above "works" with gentoo, as alsa headers are installed in standard location, so they are found via standard include. I think this is rather an upstream bug, right?
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-12-27 03:06:55 UTC
Probably neither upstream.