Subject: Re: Audio SunOS compatibility
To: None <current-users@NetBSD.ORG>
From: Kurt Schreiner <ks@bambam.ub.uni-mainz.de>
List: current-users
Date: 10/21/1997 10:24:07
hi,

got this trying to compile current on a sparc5. (no audio in config
file!)
cc  -O2 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -mno-fpu -I. -I../../../../arch -I../../../.. -nostdinc -DEXEC_AOUT -DEXEC_SCRIPT -DSUN4M -DKTRACE -DSYSVMSG -DSYSVSEM -DSYSVSHM -DLKM -DDDB -DDEBUG -DDIAGNOSTIC -DCOMPAT_43 -DCOMPAT_10 -DCOMPAT_11 -DCOMPAT_12 -DCOMPAT_SUNOS -DCOMPAT_SVR4 -DEXEC_ELF32 -DFFS -DNFS -DKERNFS -DNULLFS -DMFS -DFDESC -DUMAPFS -DLFS -DPORTAL -DPROCFS -DCD9660 -DUNION -DMSDOSFS -DNFSSERVER -DQUOTA -DFIFO -DINET -DTCP_COMPAT_42 -DRASTERCONSOLE -DMAXUSERS=32 -D_KERNEL  -c ../../../../compat/sunos/sunos_ioctl.c
../../../../compat/sunos/sunos_ioctl.c:714: warning: `AUDIO_SPEAKER' redefined
../../../../sys/audioio.h:157: warning: this is the location of the previous definition
../../../../compat/sunos/sunos_ioctl.c:715: warning: `AUDIO_HEADPHONE' redefined
../../../../sys/audioio.h:158: warning: this is the location of the previous definition
*** Error code 1

Stop.

and after uncommenting the declarations in
.../compat/sunos/sunos_ioctl.c I got another one:


cc  -O2 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -mno-fpu -I. -I../../../../arch -I../../../.. -nostdinc -DEXEC_AOUT -DEXEC_SCRIPT -DSUN4M -DKTRACE -DSYSVMSG -DSYSVSEM -DSYSVSHM -DLKM -DDDB -DDEBUG -DDIAGNOSTIC -DCOMPAT_43 -DCOMPAT_10 -DCOMPAT_11 -DCOMPAT_12 -DCOMPAT_SUNOS -DCOMPAT_SVR4 -DEXEC_ELF32 -DFFS -DNFS -DKERNFS -DNULLFS -DMFS -DFDESC -DUMAPFS -DLFS -DPORTAL -DPROCFS -DCD9660 -DUNION -DMSDOSFS -DNFSSERVER -DQUOTA -DFIFO -DINET -DTCP_COMPAT_42 -DRASTERCONSOLE -DMAXUSERS=32 -D_KERNEL  -c ../../../../compat/sunos/sunos_ioctl.c
../../../../compat/sunos/sunos_ioctl.c: In function `sunos_sys_ioctl':
../../../../compat/sunos/sunos_ioctl.c:752: structure has no member named `backlog'
*** Error code 1

Stop.

compiling with audio:

audioamd0      at obio0                                # sun4m
audio* at audioamd0
audioamd0      at sbus0 slot ? offset ?                # sun4m
audio* at audioamd0

is evan worse...


-kurt