Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63357 - media-sound/sox-12.17.4-r2 fails compile
Summary: media-sound/sox-12.17.4-r2 fails compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-08 15:10 UTC by Andrew Muraco
Modified: 2004-09-09 14:32 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Muraco 2004-09-08 15:10:09 UTC
configure: WARNING: sound/asound.h: present but cannot be compiled
configure: WARNING: sound/asound.h: check for missing prerequisite headers?
configure: WARNING: sound/asound.h: proceeding with the preprocessor's result
#... later during the actual compile  i get these errors
In file included from alsa.c:32:
/usr/include/sound/asound.h:140: error: syntax error before '*' token
/usr/include/sound/asound.h:143: error: syntax error before '}' token
/usr/include/sound/asound.h:149: error: invalid application of `sizeof' to an incomplete type
/usr/include/sound/asound.h:451: error: variable or field `__user' declared void
/usr/include/sound/asound.h:451: error: syntax error before '*' token
/usr/include/sound/asound.h:453: error: syntax error before '}' token
/usr/include/sound/asound.h:457: error: variable or field `__user' declared void
/usr/include/sound/asound.h:457: error: syntax error before '*' token
/usr/include/sound/asound.h:459: error: syntax error before '}' token
/usr/include/sound/asound.h:484: error: invalid application of `sizeof' to an incomplete type
/usr/include/sound/asound.h:485: error: invalid application of `sizeof' to an incomplete type
/usr/include/sound/asound.h:486: error: invalid application of `sizeof' to an incomplete type
/usr/include/sound/asound.h:487: error: invalid application of `sizeof' to an incomplete type
/usr/include/sound/asound.h:781: error: syntax error before '*' token
/usr/include/sound/asound.h:783: error: syntax error before '}' token
/usr/include/sound/asound.h:845: error: invalid application of `sizeof' to an incomplete type
make: *** [alsa.o] Error 1
make: *** Waiting for unfinished jobs....



Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
cleanly compiled program

Expected Results:  
sox

media-sound/sox-12.17.4-r2  +alsa +encode +mad +oggvorbis +oss
Comment 1 Andrew Muraco 2004-09-08 16:29:52 UTC
compiles fine with -alsa in the use flags..

Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-09-09 14:25:50 UTC
emerge -uv sox.  Looks like you have an old alsa-lib installed.
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2004-09-09 14:32:36 UTC
either that or you may need to re-emerge alsa-headers-1.0.6a