From alsa-user-owner@alsa.jcu.cz  Sun Feb 28 17:38:25 1999
Received: from smtp2.a2000.nl (spartacus.a2000.nl [62.108.1.20])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id RAA21098
	for <alsa-user@alsa.jcu.cz>; Sun, 28 Feb 1999 17:37:25 +0100
Received: from node10450.a2000.nl ([24.132.4.80] helo=cable.a2000.nl)
	by smtp2.a2000.nl with esmtp (Exim 2.02 #4)
	id 10H9DY-0000Vo-00
	for alsa-user@alsa.jcu.cz; Sun, 28 Feb 1999 17:37:24 +0100
Message-ID: <36D970C5.8057D1E5@cable.a2000.nl>
Date: Sun, 28 Feb 1999 17:37:25 +0100
From: Pascal Haakmat <ahaakmat@cable.a2000.nl>
MIME-Version: 1.0
To: alsa-user@alsa.jcu.cz
Subject: Re: Problems compiling alsa-utils
References: <Pine.GSO.4.10.9902281314520.18018-100000@galjas.cs.vu.nl>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Reply-To: alsa-user@alsa.jcu.cz
Sender: alsa-user-owner@alsa.jcu.cz
Precedence: list

Andy Lo A Foe wrote:

> On Sun, 28 Feb 1999, Pascal Haakmat wrote:
> 
> > Apologies, I don't think pasted the relevant parts of that error
> > message.. Again, while compiling alsa-utils I get the following error
> > message:
> >
> > make -C amixer
> > make[1]: Entering directory `/home/p/alsa-utils-0.3.0-pre3/amixer'
> > g++ -I/usr/include -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe
> > -I/usr/local/include -I../include -c -o amixer.o amixer.cpp
> > In file included from amixer.cpp:19:
> > /usr/include/sys/types.h:70: stddef.h: No such file or directory
> 
> I think stddef.h is part of the linux kernel source tree. Do you have the
> source code of the kernel unpacked somwhere (preferrably the source of the
> kernel you're running on)? (after unpacking the kernel source you should
> run make menuconfig which will set up needed links after saving
> your setup)

Thanks for your help, I've now compiled a 2.0.36 kernel from the sources
that seems to work (except for some symbol resolving problems). Make-ing
the alsa-utils still gives the same error though. stddef.h exists in
/usr/src/linux/include/linux; what do I do to make it available to g++?
Is the location of stddef.h sane? Thanks in advance. The driver compiles
and installs correctly now, so there is progress.

