From alsa-user-owner@alsa.jcu.cz  Sun Feb 28 13:21:41 1999
Received: from galjas.cs.vu.nl (root@galjas.cs.vu.nl [130.37.24.13])
	by marvin.jcu.cz (8.9.1a/8.9.1) with ESMTP id NAA03171
	for <alsa-user@alsa.jcu.cz>; Sun, 28 Feb 1999 13:21:07 +0100
Received: from localhost by galjas.cs.vu.nl with esmtp
	(Smail3.1.28.1 #49) id m10H5DW-0006NAC; Sun, 28 Feb 99 13:21 +0100
Date: Sun, 28 Feb 1999 13:21:06 +0100 (MET)
From: Andy Lo A Foe <arloafoe@cs.vu.nl>
To: alsa-user@alsa.jcu.cz
Subject: Re: Problems compiling alsa-utils (& alsa-driver)
In-Reply-To: <36D92388.3A86F5FD@cable.a2000.nl>
Message-ID: <Pine.GSO.4.10.9902281314520.18018-100000@galjas.cs.vu.nl>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Reply-To: alsa-user@alsa.jcu.cz
Sender: alsa-user-owner@alsa.jcu.cz
Precedence: list

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)

> Furthermore from the compilation of the alsa-driver (0.3.0-pre4):
> 
> rm -f /lib/modules/preferred/misc/snd*.o
> /lib/modules/preferred/misc/persist.o
> /lib/modules/preferred/misc/isapnp.o
> cp modules/*.o /lib/modules/preferred/misc
> /sbin/depmod -a 2.0.36
> /lib/modules/preferred/misc/snd.o: unresolved symbol(s)
> /lib/modules/preferred/misc/snd-uart16550.o: unresolved symbol(s)

This could also be related the linux kernel sources not being
available (or a wrong version). You are most likely running 2.0.36 (check
with "uname -r") so you need the 2.0.36 sources in /usr/src

Andy
--
Andy Lo A Foe, arloafoe@cs.vu.nl |   Linux v2.2.2   | PII 266 
http://www.cs.vu.nl/~arloafoe    |    ALSA 0.3.0    | Bebox 133
http://orbital.xs4all.nl/andy    |  IRCNet: adnans  | DVD freak


