Jaroslav Kysela wrote:
> On Sat, 21 Jun 2003, Jeremy Henty wrote:
>
> > "make all-deps", "aclocal", "autoconf", "./configure" all complete
> > without any obvious problems, but "make dep" bombs out with
> > "/usr/src/Build/Sound/alsa/src-cvs/alsa-driver/include/adriver.h:60:
> > linux/compiler.h: No such file or directory" .
>
> Try command 'touch include/linux/compiler.h' in the alsa-driver
> directory.
Thanks! Sadly, after doing that I just hit the original problem
again: "make dep" dies with "/bin/sh: ${xtmp:0:5}: bad substitution",
so I appear to be hitting more bash-2 specific stuff that chokes my
bash-1. I thought this had been fixed in CVS, but it appears not. Or
am I missing something else? (I last updated on Saturday 20th June.)
Full log attached.
Regards,
Jeremy Henty
if [ ! -d include/sound -a ! -L include/sound ]; then \
ln -sf ../alsa-kernel/include include/sound ; \
fi
cp -auvf include/version.h include/sound/version.h
include/version.h -> include/sound/version.h
make[1]: Entering directory
`/usr/src/Build/Sound/alsa/src-dist/alsa-driver-0.9.4/support'
make -C isapnp fastdep
make[2]: Entering directory
`/usr/src/Build/Sound/alsa/src-dist/alsa-driver-0.9.4/support/isapnp'
/usr/src/Build/Sound/alsa/src-dist/alsa-driver-0.9.4/include/sndversions.h was updated
gcc -D__KERNEL__ -DMODULE=1
-I/usr/src/Build/Sound/alsa/src-dist/alsa-driver-0.9.4/include
-I/usr/src/Build/Kernel/linux-2.2.25/include -O2 -mpreferred-stack-boundary=2
-march=i386 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2
-fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -E -D__GENKSYMS__ isapnp.c
| /sbin/genksyms -k 2.2.25 >
/usr/src/Build/Sound/alsa/src-dist/alsa-driver-0.9.4/include/modules/support-isapnp__isapnp.ver.tmp
mv
/usr/src/Build/Sound/alsa/src-dist/alsa-driver-0.9.4/include/modules/support-isapnp__isapnp.ver.tmp
/usr/src/Build/Sound/alsa/src-dist/alsa-driver-0.9.4/include/modules/support-isapnp__isapnp.ver
gcc -M -D__KERNEL__ -D__isapnp_now__ -DMODULE=1
-I/usr/src/Build/Sound/alsa/src-dist/alsa-driver-0.9.4/include
-I/usr/src/Build/Kernel/linux-2.2.25/include -O2 -mpreferred-stack-boundary=2
-march=i386 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2
-fno-strict-aliasing -fno-common -pipe -DALSA_BUILD isapnp.c isapnp_proc.c
isapnp_quirks.c > .depend
make[2]: Leaving directory
`/usr/src/Build/Sound/alsa/src-dist/alsa-driver-0.9.4/support/isapnp'
make -C pnp fastdep
make[2]: Entering directory
`/usr/src/Build/Sound/alsa/src-dist/alsa-driver-0.9.4/support/pnp'
/usr/src/Build/Sound/alsa/src-dist/alsa-driver-0.9.4/include/sndversions.h was updated
gcc -D__KERNEL__ -DMODULE=1
-I/usr/src/Build/Sound/alsa/src-dist/alsa-driver-0.9.4/include
-I/usr/src/Build/Kernel/linux-2.2.25/include -O2 -mpreferred-stack-boundary=2
-march=i386 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2
-fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -E -D__GENKSYMS__ pnp.c
| /sbin/genksyms -k 2.2.25 >
/usr/src/Build/Sound/alsa/src-dist/alsa-driver-0.9.4/include/modules/support-pnp__pnp.ver.tmp
pnp.c:76: warning: `module_init' redefined
/usr/src/Build/Kernel/linux-2.2.25/include/linux/init.h:117: warning: this is the
location of the previous definition
pnp.c:77: warning: `module_exit' redefined
/usr/src/Build/Kernel/linux-2.2.25/include/linux/init.h:121: warning: this is the
location of the previous definition
mv
/usr/src/Build/Sound/alsa/src-dist/alsa-driver-0.9.4/include/modules/support-pnp__pnp.ver.tmp
/usr/src/Build/Sound/alsa/src-dist/alsa-driver-0.9.4/include/modules/support-pnp__pnp.ver
gcc -M -D__KERNEL__ -D__isapnp_now__ -DMODULE=1
-I/usr/src/Build/Sound/alsa/src-dist/alsa-driver-0.9.4/include
-I/usr/src/Build/Kernel/linux-2.2.25/include -O2 -mpreferred-stack-boundary=2
-march=i386 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2
-fno-strict-aliasing -fno-common -pipe -DALSA_BUILD pnp.c > .depend
pnp.c:76: warning: `module_init' redefined
/usr/src/Build/Kernel/linux-2.2.25/include/linux/init.h:117: warning: this is the
location of the previous definition
pnp.c:77: warning: `module_exit' redefined
/usr/src/Build/Kernel/linux-2.2.25/include/linux/init.h:121: warning: this is the
location of the previous definition
make[2]: Leaving directory
`/usr/src/Build/Sound/alsa/src-dist/alsa-driver-0.9.4/support/pnp'
/usr/src/Build/Sound/alsa/src-dist/alsa-driver-0.9.4/include/sndversions.h was updated
make[1]: Leaving directory
`/usr/src/Build/Sound/alsa/src-dist/alsa-driver-0.9.4/support'
make[1]: Entering directory
`/usr/src/Build/Sound/alsa/src-dist/alsa-driver-0.9.4/acore'
make -C ioctl32 fastdep
make[2]: Entering directory
`/usr/src/Build/Sound/alsa/src-dist/alsa-driver-0.9.4/acore/ioctl32'
/usr/src/Build/Sound/alsa/src-dist/alsa-driver-0.9.4/include/sndversions.h was not
updated
make[2]: Leaving directory
`/usr/src/Build/Sound/alsa/src-dist/alsa-driver-0.9.4/acore/ioctl32'
make -C oss fastdep
make[2]: Entering directory
`/usr/src/Build/Sound/alsa/src-dist/alsa-driver-0.9.4/acore/oss'
/usr/src/Build/Sound/alsa/src-dist/alsa-driver-0.9.4/include/sndversions.h was not
updated
/bin/sh: ${xtmp:0:5}: bad substitution
make[2]: *** [mixer_oss.c] Error 1
make[2]: Leaving directory
`/usr/src/Build/Sound/alsa/src-dist/alsa-driver-0.9.4/acore/oss'
make[1]: *** [_sfdep_oss] Error 2
make[1]: Leaving directory `/usr/src/Build/Sound/alsa/src-dist/alsa-driver-0.9.4/acore'
make: *** [dep] Error 1