* Alsa-tools 1.0.0 rc1 error with 2.6.0-test11
@ 2003-12-02 23:02 Martin Holzer
2003-12-03 10:01 ` Thomas Charbonnel
0 siblings, 1 reply; 6+ messages in thread
From: Martin Holzer @ 2003-12-02 23:02 UTC (permalink / raw)
To: alsa-devel
make[1]: Entering directory
`/var/tmp/portage/alsa-tools-1.0.0_rc1/work/alsa-tools-1.0.0rc1/hdspmixer/sr
c'
if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
-DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"hdspmixer\" -DVERSION=\"1.6\" -DSTDC_HEADERS=1
-DHAVE_LIBASOUND=1 -I. -I. -I/usr/include/fltk-1.1 -march
=athlon-xp -O3 -pipe -fomit-frame-pointer
-I/lib/modules/2.6.0-test11-gentoo-r1/build/include
-I/lib/modules/2.6.0-test
11-gentoo-r1/build/include -I/usr/include/fltk-1.1 -I/usr/include/freetype2
-march=athlon-xp -mcpu=athlon-xp -O3 -pipe -
I/usr/X11R6/include -fno-exceptions -MT hdspmixer.o -MD -MP -MF
".deps/hdspmixer.Tpo" \
-c -o hdspmixer.o `test -f 'hdspmixer.cxx' || echo './'`hdspmixer.cxx; \
then mv -f ".deps/hdspmixer.Tpo" ".deps/hdspmixer.Po"; \
else rm -f ".deps/hdspmixer.Tpo"; exit 1; \
fi
In file included from hdspmixer.cxx:31:
HDSPMixerCard.h:57: error: 'hdsp_9632_aeb_t' is used as a type, but is not
defined as a type.
hdspmixer.cxx: In function `int main(int, char**)':
hdspmixer.cxx:68: error: `H9632' undeclared (first use this function)
hdspmixer.cxx:68: error: (Each undeclared identifier is reported only once
for
each function it appears in.)
make[1]: *** [hdspmixer.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/alsa-tools-1.0.0_rc1/work/alsa-tools-1.0.0rc1/hdspmixer/sr
c'
make: *** [all-recursive] Error 1
Martin Holzer
sVrmARTY-/irc.freenode.net
Bug-Wrangler, Gentoo Linux
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Alsa-tools 1.0.0 rc1 error with 2.6.0-test11
2003-12-02 23:02 Alsa-tools 1.0.0 rc1 error with 2.6.0-test11 Martin Holzer
@ 2003-12-03 10:01 ` Thomas Charbonnel
2003-12-03 12:29 ` Thomas Charbonnel
0 siblings, 1 reply; 6+ messages in thread
From: Thomas Charbonnel @ 2003-12-03 10:01 UTC (permalink / raw)
To: Martin Holzer; +Cc: alsa-devel
Martin Holzer a écrit :
> make[1]: Entering directory
> `/var/tmp/portage/alsa-tools-1.0.0_rc1/work/alsa-tools-1.0.0rc1/hdspmixer/sr
> c'
> if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
> -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
> -DPACKAGE_BUGREPORT=\"\"
> -DPACKAGE=\"hdspmixer\" -DVERSION=\"1.6\" -DSTDC_HEADERS=1
> -DHAVE_LIBASOUND=1 -I. -I. -I/usr/include/fltk-1.1 -march
> =athlon-xp -O3 -pipe -fomit-frame-pointer
> -I/lib/modules/2.6.0-test11-gentoo-r1/build/include
> -I/lib/modules/2.6.0-test
> 11-gentoo-r1/build/include -I/usr/include/fltk-1.1 -I/usr/include/freetype2
> -march=athlon-xp -mcpu=athlon-xp -O3 -pipe -
> I/usr/X11R6/include -fno-exceptions -MT hdspmixer.o -MD -MP -MF
> ".deps/hdspmixer.Tpo" \
> -c -o hdspmixer.o `test -f 'hdspmixer.cxx' || echo './'`hdspmixer.cxx; \
> then mv -f ".deps/hdspmixer.Tpo" ".deps/hdspmixer.Po"; \
> else rm -f ".deps/hdspmixer.Tpo"; exit 1; \
> fi
> In file included from hdspmixer.cxx:31:
> HDSPMixerCard.h:57: error: 'hdsp_9632_aeb_t' is used as a type, but is not
> defined as a type.
> hdspmixer.cxx: In function `int main(int, char**)':
> hdspmixer.cxx:68: error: `H9632' undeclared (first use this function)
> hdspmixer.cxx:68: error: (Each undeclared identifier is reported only once
> for
> each function it appears in.)
> make[1]: *** [hdspmixer.o] Error 1
> make[1]: Leaving directory
> `/var/tmp/portage/alsa-tools-1.0.0_rc1/work/alsa-tools-1.0.0rc1/hdspmixer/sr
> c'
> make: *** [all-recursive] Error 1
>
>
> Martin Holzer
> sVrmARTY-/irc.freenode.net
>
> Bug-Wrangler, Gentoo Linux
>
>
Hi Martin,
You should install alsa-driver before alsa-tools, as it will install the
hdsp.h file on your system, containing the missing declaration.
Thomas
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Alsa-tools 1.0.0 rc1 error with 2.6.0-test11
2003-12-03 10:01 ` Thomas Charbonnel
@ 2003-12-03 12:29 ` Thomas Charbonnel
2003-12-03 13:44 ` Takashi Iwai
0 siblings, 1 reply; 6+ messages in thread
From: Thomas Charbonnel @ 2003-12-03 12:29 UTC (permalink / raw)
To: Thomas Charbonnel; +Cc: Martin Holzer, alsa-devel
I wrote :
> Martin Holzer a écrit :
>
>> make[1]: Entering directory
>> `/var/tmp/portage/alsa-tools-1.0.0_rc1/work/alsa-tools-1.0.0rc1/hdspmixer/sr
>>
>> c' if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
>> -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
>> -DPACKAGE=\"hdspmixer\" -DVERSION=\"1.6\" -DSTDC_HEADERS=1
>> -DHAVE_LIBASOUND=1 -I. -I. -I/usr/include/fltk-1.1 -march
>> =athlon-xp -O3 -pipe -fomit-frame-pointer
>> -I/lib/modules/2.6.0-test11-gentoo-r1/build/include
>> -I/lib/modules/2.6.0-test 11-gentoo-r1/build/include
>> -I/usr/include/fltk-1.1 -I/usr/include/freetype2 -march=athlon-xp
>> -mcpu=athlon-xp -O3 -pipe - I/usr/X11R6/include -fno-exceptions -MT
>> hdspmixer.o -MD -MP -MF ".deps/hdspmixer.Tpo" \ -c -o hdspmixer.o
>> `test -f 'hdspmixer.cxx' || echo './'`hdspmixer.cxx; \ then mv -f
>> ".deps/hdspmixer.Tpo" ".deps/hdspmixer.Po"; \ else rm -f
>> ".deps/hdspmixer.Tpo"; exit 1; \ fi In file included from
>> hdspmixer.cxx:31: HDSPMixerCard.h:57: error: 'hdsp_9632_aeb_t' is used
>> as a type, but is not defined as a type. hdspmixer.cxx: In function
>> `int main(int, char**)': hdspmixer.cxx:68: error: `H9632' undeclared
>> (first use this function) hdspmixer.cxx:68: error: (Each undeclared
>> identifier is reported only once
>> for each function it appears in.) make[1]: *** [hdspmixer.o] Error
>> 1 make[1]: Leaving directory
>> `/var/tmp/portage/alsa-tools-1.0.0_rc1/work/alsa-tools-1.0.0rc1/hdspmixer/sr
>>
>> c' make: *** [all-recursive] Error 1
>>
>> Martin Holzer
>> sVrmARTY-/irc.freenode.net
>>
>> Bug-Wrangler, Gentoo Linux
>>
>>
>
> Hi Martin,
>
> You should install alsa-driver before alsa-tools, as it will install the
> hdsp.h file on your system, containing the missing declaration.
>
> Thomas
>
Ooops, I misread your subject line. This is because the driver version
included in 2.6.0-test11 is a little bit outdated. Update your kernel
tree with latest alsa, and compile again, then.
Thomas
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Alsa-tools 1.0.0 rc1 error with 2.6.0-test11
2003-12-03 12:29 ` Thomas Charbonnel
@ 2003-12-03 13:44 ` Takashi Iwai
2003-12-03 14:36 ` Thomas Charbonnel
0 siblings, 1 reply; 6+ messages in thread
From: Takashi Iwai @ 2003-12-03 13:44 UTC (permalink / raw)
To: Thomas Charbonnel; +Cc: Martin Holzer, alsa-devel
At Wed, 03 Dec 2003 13:29:32 +0100,
Thomas Charbonnel wrote:
>
> I wrote :
> > Martin Holzer a écrit :
> >
> >> make[1]: Entering directory
> >> `/var/tmp/portage/alsa-tools-1.0.0_rc1/work/alsa-tools-1.0.0rc1/hdspmixer/sr
> >>
> >> c' if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
> >> -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
> >> -DPACKAGE=\"hdspmixer\" -DVERSION=\"1.6\" -DSTDC_HEADERS=1
> >> -DHAVE_LIBASOUND=1 -I. -I. -I/usr/include/fltk-1.1 -march
> >> =athlon-xp -O3 -pipe -fomit-frame-pointer
> >> -I/lib/modules/2.6.0-test11-gentoo-r1/build/include
> >> -I/lib/modules/2.6.0-test 11-gentoo-r1/build/include
> >> -I/usr/include/fltk-1.1 -I/usr/include/freetype2 -march=athlon-xp
> >> -mcpu=athlon-xp -O3 -pipe - I/usr/X11R6/include -fno-exceptions -MT
> >> hdspmixer.o -MD -MP -MF ".deps/hdspmixer.Tpo" \ -c -o hdspmixer.o
> >> `test -f 'hdspmixer.cxx' || echo './'`hdspmixer.cxx; \ then mv -f
> >> ".deps/hdspmixer.Tpo" ".deps/hdspmixer.Po"; \ else rm -f
> >> ".deps/hdspmixer.Tpo"; exit 1; \ fi In file included from
> >> hdspmixer.cxx:31: HDSPMixerCard.h:57: error: 'hdsp_9632_aeb_t' is used
> >> as a type, but is not defined as a type. hdspmixer.cxx: In function
> >> `int main(int, char**)': hdspmixer.cxx:68: error: `H9632' undeclared
> >> (first use this function) hdspmixer.cxx:68: error: (Each undeclared
> >> identifier is reported only once
> >> for each function it appears in.) make[1]: *** [hdspmixer.o] Error
> >> 1 make[1]: Leaving directory
> >> `/var/tmp/portage/alsa-tools-1.0.0_rc1/work/alsa-tools-1.0.0rc1/hdspmixer/sr
> >>
> >> c' make: *** [all-recursive] Error 1
> >>
> >> Martin Holzer
> >> sVrmARTY-/irc.freenode.net
> >>
> >> Bug-Wrangler, Gentoo Linux
> >>
> >>
> >
> > Hi Martin,
> >
> > You should install alsa-driver before alsa-tools, as it will install the
> > hdsp.h file on your system, containing the missing declaration.
> >
> > Thomas
> >
>
> Ooops, I misread your subject line. This is because the driver version
> included in 2.6.0-test11 is a little bit outdated. Update your kernel
> tree with latest alsa, and compile again, then.
there are configure options to specify the header files for
alsa-kernel. one is --with-kernel and another is --with-soundbase.
the former specifies the top path of 2.6 kernel source tree, and the
header files in that tree will be used. the latter specifies directly
the path of alsa-driver's include directory.
for example,
./configure --with-kernel=/my/src/linux-2.6.0-test9
./configure --with-soundbase=/somewhere/alsa-driver-1.0.0/include
when no these options are given, the standard path,
i.e. /usr/include/sound will be searched.
these options are necessary only for (some of) alsa-tools. usually,
applications don't need (and shouldn't) access to the kernel header
files.
Takashi
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Alsa-tools 1.0.0 rc1 error with 2.6.0-test11
2003-12-03 13:44 ` Takashi Iwai
@ 2003-12-03 14:36 ` Thomas Charbonnel
2003-12-03 14:49 ` Takashi Iwai
0 siblings, 1 reply; 6+ messages in thread
From: Thomas Charbonnel @ 2003-12-03 14:36 UTC (permalink / raw)
To: Takashi Iwai; +Cc: Martin Holzer, alsa-devel
Takashi Iwai wrote :
> At Wed, 03 Dec 2003 13:29:32 +0100,
> Thomas Charbonnel wrote:
>
>>I wrote :
>>
>>>Martin Holzer a écrit :
>>>
>>>
>>>>make[1]: Entering directory
>>>>`/var/tmp/portage/alsa-tools-1.0.0_rc1/work/alsa-tools-1.0.0rc1/hdspmixer/sr
>>>>
>>>>c' if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
>>>>-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
>>>>-DPACKAGE=\"hdspmixer\" -DVERSION=\"1.6\" -DSTDC_HEADERS=1
>>>>-DHAVE_LIBASOUND=1 -I. -I. -I/usr/include/fltk-1.1 -march
>>>>=athlon-xp -O3 -pipe -fomit-frame-pointer
>>>>-I/lib/modules/2.6.0-test11-gentoo-r1/build/include
>>>>-I/lib/modules/2.6.0-test 11-gentoo-r1/build/include
>>>>-I/usr/include/fltk-1.1 -I/usr/include/freetype2 -march=athlon-xp
>>>>-mcpu=athlon-xp -O3 -pipe - I/usr/X11R6/include -fno-exceptions -MT
>>>>hdspmixer.o -MD -MP -MF ".deps/hdspmixer.Tpo" \ -c -o hdspmixer.o
>>>>`test -f 'hdspmixer.cxx' || echo './'`hdspmixer.cxx; \ then mv -f
>>>>".deps/hdspmixer.Tpo" ".deps/hdspmixer.Po"; \ else rm -f
>>>>".deps/hdspmixer.Tpo"; exit 1; \ fi In file included from
>>>>hdspmixer.cxx:31: HDSPMixerCard.h:57: error: 'hdsp_9632_aeb_t' is used
>>>>as a type, but is not defined as a type. hdspmixer.cxx: In function
>>>>`int main(int, char**)': hdspmixer.cxx:68: error: `H9632' undeclared
>>>>(first use this function) hdspmixer.cxx:68: error: (Each undeclared
>>>>identifier is reported only once
>>>>for each function it appears in.) make[1]: *** [hdspmixer.o] Error
>>>>1 make[1]: Leaving directory
>>>>`/var/tmp/portage/alsa-tools-1.0.0_rc1/work/alsa-tools-1.0.0rc1/hdspmixer/sr
>>>>
>>>>c' make: *** [all-recursive] Error 1
>>>>
>>>>Martin Holzer
>>>>sVrmARTY-/irc.freenode.net
>>>>
>>>>Bug-Wrangler, Gentoo Linux
>>>>
>>>>
>>>
>>>Hi Martin,
>>>
>>>You should install alsa-driver before alsa-tools, as it will install the
>>>hdsp.h file on your system, containing the missing declaration.
>>>
>>>Thomas
>>>
>>
>>Ooops, I misread your subject line. This is because the driver version
>>included in 2.6.0-test11 is a little bit outdated. Update your kernel
>>tree with latest alsa, and compile again, then.
>
>
> there are configure options to specify the header files for
> alsa-kernel. one is --with-kernel and another is --with-soundbase.
>
> the former specifies the top path of 2.6 kernel source tree, and the
> header files in that tree will be used. the latter specifies directly
> the path of alsa-driver's include directory.
>
> for example,
>
> ./configure --with-kernel=/my/src/linux-2.6.0-test9
>
> ./configure --with-soundbase=/somewhere/alsa-driver-1.0.0/include
>
> when no these options are given, the standard path,
> i.e. /usr/include/sound will be searched.
>
> these options are necessary only for (some of) alsa-tools. usually,
> applications don't need (and shouldn't) access to the kernel header
> files.
>
>
I used the hdsp.h header file to ease the task of building userspace
application using the hwdep interface to communicate with the driver
(sharing structures and type definitions).
If this was a bad idea, I'll reconsider it, no problem.
Thomas
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Alsa-tools 1.0.0 rc1 error with 2.6.0-test11
2003-12-03 14:36 ` Thomas Charbonnel
@ 2003-12-03 14:49 ` Takashi Iwai
0 siblings, 0 replies; 6+ messages in thread
From: Takashi Iwai @ 2003-12-03 14:49 UTC (permalink / raw)
To: Thomas Charbonnel; +Cc: Martin Holzer, alsa-devel
At Wed, 03 Dec 2003 15:36:53 +0100,
Thomas Charbonnel wrote:
>
> Takashi Iwai wrote :
> > At Wed, 03 Dec 2003 13:29:32 +0100,
> > Thomas Charbonnel wrote:
> >
> >>I wrote :
> >>
> >>>Martin Holzer a écrit :
> >>>
> >>>
> >>>>make[1]: Entering directory
> >>>>`/var/tmp/portage/alsa-tools-1.0.0_rc1/work/alsa-tools-1.0.0rc1/hdspmixer/sr
> >>>>
> >>>>c' if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
> >>>>-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
> >>>>-DPACKAGE=\"hdspmixer\" -DVERSION=\"1.6\" -DSTDC_HEADERS=1
> >>>>-DHAVE_LIBASOUND=1 -I. -I. -I/usr/include/fltk-1.1 -march
> >>>>=athlon-xp -O3 -pipe -fomit-frame-pointer
> >>>>-I/lib/modules/2.6.0-test11-gentoo-r1/build/include
> >>>>-I/lib/modules/2.6.0-test 11-gentoo-r1/build/include
> >>>>-I/usr/include/fltk-1.1 -I/usr/include/freetype2 -march=athlon-xp
> >>>>-mcpu=athlon-xp -O3 -pipe - I/usr/X11R6/include -fno-exceptions -MT
> >>>>hdspmixer.o -MD -MP -MF ".deps/hdspmixer.Tpo" \ -c -o hdspmixer.o
> >>>>`test -f 'hdspmixer.cxx' || echo './'`hdspmixer.cxx; \ then mv -f
> >>>>".deps/hdspmixer.Tpo" ".deps/hdspmixer.Po"; \ else rm -f
> >>>>".deps/hdspmixer.Tpo"; exit 1; \ fi In file included from
> >>>>hdspmixer.cxx:31: HDSPMixerCard.h:57: error: 'hdsp_9632_aeb_t' is used
> >>>>as a type, but is not defined as a type. hdspmixer.cxx: In function
> >>>>`int main(int, char**)': hdspmixer.cxx:68: error: `H9632' undeclared
> >>>>(first use this function) hdspmixer.cxx:68: error: (Each undeclared
> >>>>identifier is reported only once
> >>>>for each function it appears in.) make[1]: *** [hdspmixer.o] Error
> >>>>1 make[1]: Leaving directory
> >>>>`/var/tmp/portage/alsa-tools-1.0.0_rc1/work/alsa-tools-1.0.0rc1/hdspmixer/sr
> >>>>
> >>>>c' make: *** [all-recursive] Error 1
> >>>>
> >>>>Martin Holzer
> >>>>sVrmARTY-/irc.freenode.net
> >>>>
> >>>>Bug-Wrangler, Gentoo Linux
> >>>>
> >>>>
> >>>
> >>>Hi Martin,
> >>>
> >>>You should install alsa-driver before alsa-tools, as it will install the
> >>>hdsp.h file on your system, containing the missing declaration.
> >>>
> >>>Thomas
> >>>
> >>
> >>Ooops, I misread your subject line. This is because the driver version
> >>included in 2.6.0-test11 is a little bit outdated. Update your kernel
> >>tree with latest alsa, and compile again, then.
> >
> >
> > there are configure options to specify the header files for
> > alsa-kernel. one is --with-kernel and another is --with-soundbase.
> >
> > the former specifies the top path of 2.6 kernel source tree, and the
> > header files in that tree will be used. the latter specifies directly
> > the path of alsa-driver's include directory.
> >
> > for example,
> >
> > ./configure --with-kernel=/my/src/linux-2.6.0-test9
> >
> > ./configure --with-soundbase=/somewhere/alsa-driver-1.0.0/include
> >
> > when no these options are given, the standard path,
> > i.e. /usr/include/sound will be searched.
> >
> > these options are necessary only for (some of) alsa-tools. usually,
> > applications don't need (and shouldn't) access to the kernel header
> > files.
> >
> >
>
> I used the hdsp.h header file to ease the task of building userspace
> application using the hwdep interface to communicate with the driver
> (sharing structures and type definitions).
> If this was a bad idea, I'll reconsider it, no problem.
it's ok as long as the header files don't include the kernel stuff
(i.e. protected via ifdef __KERNEL__). the above statement is valid
in general, not for the special applications which is specific to a
certain hardware.
Takashi
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-12-03 14:49 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-02 23:02 Alsa-tools 1.0.0 rc1 error with 2.6.0-test11 Martin Holzer
2003-12-03 10:01 ` Thomas Charbonnel
2003-12-03 12:29 ` Thomas Charbonnel
2003-12-03 13:44 ` Takashi Iwai
2003-12-03 14:36 ` Thomas Charbonnel
2003-12-03 14:49 ` Takashi Iwai
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.