pas16 compile problem with 2.1.77

Thomas Molina (tmolina@probe.net)
Sun, 4 Jan 1998 11:16:12 -0600 (CST)


While compiling a monolithic kernel with support for a PAS16
I get the following:

gcc -D__KERNEL__ -I/usr/src/linux-2.1.77/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -pipe
-fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2
-malign-functions=2 -DCPU=686 -c -o pas2_mixer.o
pas2_mixer.c
pas2_mixer.c: In function `pas_mixer_ioctl':
pas2_mixer.c:263: parse error before `='
pas2_mixer.c:219: warning: unused variable `v'
pas2_mixer.c:219: warning: `level' might be used
uninitialized in this function
pas2_mixer.c: At top level:
pas2_mixer.c:274: parse error before `if'
pas2_mixer.c:275: `arg' undeclared here (not in a function)
pas2_mixer.c:275: `__gu_val' undeclared here (not in a
function)
pas2_mixer.c:275: warning: data definition has no type or
storage class
pas2_mixer.c:275: warning: data definition has no type or
storage class
pas2_mixer.c:275: parse error before `}'
pas2_mixer.c:306: warning: data definition has no type or
storage class
pas2_mixer.c:306: parse error before `}'
make[3]: *** [pas2_mixer.o] Error 1
make[3]: Leaving directory
`/usr/src/linux-2.1.77/drivers/sound'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory
`/usr/src/linux-2.1.77/drivers/sound'
make[1]: *** [sub_dirs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.1.77/drivers'
make: *** [linuxsubdirs] Error 2