Gentoo Archives: gentoo-user

From: maxim wexler <blissfix@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] tone generator
Date: Fri, 25 Jan 2008 02:00:32
Message-Id: 636483.8250.qm@web31708.mail.mud.yahoo.com
In Reply to: Re: [gentoo-user] tone generator by Iain Buchanan
1 > looking for a tonegen.c file in audacious... If I
2
3 http://www.lns.com/papers/tonegen/tonegen.c
4
5 heathen@localhost ~/docs/elex $ gcc -lm -o tonegen
6 tonegen.c
7 tonegen.c:56:31: machine/soundcard.h: No such file or
8 directory
9 tonegen.c: In function `main':
10 tonegen.c:172: error: `SNDCTL_DSP_GETFMTS' undeclared
11 (first use in this function)
12 tonegen.c:172: error: (Each undeclared identifier is
13 reported only once
14 tonegen.c:172: error: for each function it appears
15 in.)
16 tonegen.c:181: error: `SNDCTL_DSP_STEREO' undeclared
17 (first use in this function)
18 tonegen.c:196: error: `SNDCTL_DSP_SPEED' undeclared
19 (first use in this function)
20
21 tonegen wants a machine/soundcard.h which doesn't
22 exist on my system.
23
24 Although:
25
26 $ slocate soundcard.h
27 /usr/src/linux-2.6.12-gentoo-r6/include/linux/soundcard.h
28 /usr/src/linux-2.6.20-gentoo-r6/include/linux/soundcard.h
29 /usr/src/linux-2.6.16-gentoo-r3/include/linux/soundcard.h
30 /usr/include/sys/soundcard.h
31 /usr/include/linux/soundcard.h
32
33 The only 'machine/' on my system is under arch/arm26/.
34
35 -mw
36
37
38
39 ____________________________________________________________________________________
40 Never miss a thing. Make Yahoo your home page.
41 http://www.yahoo.com/r/hs
42 --
43 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] tone generator Iain Buchanan <iaindb@××××××××××××.au>