Re: DMODVERSIONS causing a lot of problems
Colin, the make procedure fails on the command "gawk":
>
> Change this to:
>
> install: compile
> mv -f $(CONF) $(CONF).old
> gawk -f mod_conf $(CONF).old > $(CONF) #!!!!!!!!!!!!!!!!!!!
> echo "alias sound $(NAME)" >> $(CONF)
> echo "alias midi $(NAME)" >> $(CONF)
> update-modules
> mkdir -p $(MODDIR)
> cp -f $(NAME).o $(MODDIR)
> -/sbin/depmod -a
> -/sbin/rmmod $(NAME)
> -/sbin/modprobe $(NAME)
This is the log:
MINI:~/drivers/sound/aureal# make install20
make install AUCHIP=AU8820
make[1]: Entering directory `/root/drivers/sound/aureal'
cc -D__KERNEL__ -DMODULE -DAU8820 -mpentium -O6 -fomit-frame-pointer
-Wall -pipe -I /usr/src/linux/kernel-source-2.2.17/include -c -o
au_audio.o au_audio.c
cc -D__KERNEL__ -DMODULE -DAU8820 -mpentium -O6 -fomit-frame-pointer
-Wall -pipe -I /usr/src/linux/kernel-source-2.2.17/include -c -o
au_midi.o au_midi.c
cc -D__KERNEL__ -DMODULE -DAU8820 -mpentium -O6 -fomit-frame-pointer
-Wall -pipe -I /usr/src/linux/kernel-source-2.2.17/include -c -o
au_core.o au_core.c
cc -D__KERNEL__ -DMODULE -DAU8820 -mpentium -O6 -fomit-frame-pointer
-Wall -pipe -I /usr/src/linux/kernel-source-2.2.17/include -c -o
au_sndstat.o au_sndstat.c
cc -D__KERNEL__ -DMODULE -DAU8820 -mpentium -O6 -fomit-frame-pointer
-Wall -pipe -I /usr/src/linux/kernel-source-2.2.17/include -c -o
au_mixer.o au_mixer.c
cc -D__KERNEL__ -DMODULE -DAU8820 -mpentium -O6 -fomit-frame-pointer
-Wall -pipe -I /usr/src/linux/kernel-source-2.2.17/include -c -o
au_utils.o au_utils.c
cc -D__KERNEL__ -DMODULE -DAU8820 -mpentium -O6 -fomit-frame-pointer
-Wall -pipe -I /usr/src/linux/kernel-source-2.2.17/include -c -o
au_vortex.o au_vortex.c
ld -m elf_i386 -r au_audio.o au_midi.o au_core.o au_sndstat.o
au_mixer.o au_utils.o au_vortex.o asp20.o -o au8820.o
mv -f /etc/modutils/aliases /etc/modutils/aliases.old
gawk -f mod_conf /etc/modutils/aliases.old > /etc/modutils/aliases
/bin/sh: gawk: command not found
make[1]: *** [install] Error 127
make[1]: Leaving directory `/root/drivers/sound/aureal'
make: *** [install20] Error 2
Which looks at least better than the old one.
Guessing "gawk" is a tool and "man gawk" failed - I tried a "apt-cache
search gawk" which returned the package:
dpkg-awk
..which I then installed from CD#1 - but it didn't help in the make
process, neither has a gawk manpage been installed.
Could you give me a hint?
Besides, emacs causes some difficulties:
I edited the makefile first and closed emacs. Then I realized that I
had missed something and opened the same makefile with emacs again.
Any editing command failed with a beep and a remark buffer read-only.
What had happened?
At the end only vi helped - puh... what a difficult editor to use...
Robert
Reply to: