Subject: Re: Atapi diffs for current availabley
To: Andrew Y Ng <ayn@Ngbert.org>
From: Manuel Bouyer <bouyer@antioche.ibp.fr>
List: current-users
Date: 04/09/1997 14:06:41
[ Sorry for the late answer, I'm very busy these days ]

On Apr 7, Andrew Y Ng wrote
> I applied the new diff for atapi, but I couldn't get the kernel to compile,
> I have the folllowing errors:
> 
> cc  -O2 -Werror -Wall -Wmissing-prototypes -Wstrict-prototypes -I. -I../../../../arch -I../../../.. -nostdinc -DSWAPPAGER -DVNODEPAGER -DDEVPAGER -DEXEC_AOUT -DEXEC_SCRIPT -DI686_CPU -DXSERVER -DUCONSOLE -DINSECURE -DRTC_OFFSET="0" -DSYSVMSG -DSYSVSEM -DS
> 
> 
> YSVSHM -DCOMPAT_NOMID -DCOMPAT_09 -DCOMPAT_10 -DCOMPAT_11 -DCOMPAT_12 -DCOMPAT_43 -DTCP_COMPAT_42 -DCOMPAT_SVR4 -DCOMPAT_IBCS2 -DCOMPAT_LINUX -DCOMPAT_FREEBSD -DEXEC_ELF32 -DUSER_LDT -DLKM -DFFS -DLFS -DMFS -DNFS -DCD9660 -DMSDOSFS -DFDESC -DKERNFS -DNULL
> 
> 
> FS -DPORTAL -DPROCFS -DUMAPFS -DUNION -DFIFO -DINET -DNS -DISO -DTPIP -DEON -DCCITT -DLLC -DHDLC -DEISAVERBOSE -DPCIVERBOSE -DMAXUSERS=32 -D_KERNEL  -Di386  -c ../../../../arch/i386/i386/conf.c
> ../../../../arch/i386/i386/conf.c:86: `NACD' undeclared here (not in a function)
> ../../../../arch/i386/i386/conf.c:86: `acdopen' undeclared here (not in a function)
> [ more errors about NACD and acd* functions deleted ]

I just tried it with the latest (supped 2:00 MET) -current kernel and config.
The patchs applied cleany (minus a minor glitch in GENERIC), and I have
been able to compile a GENERIC kernel without problems.

I guess config didn't generate a correct acd.h for you. Try removing the
kernel compile directory and config it again. 

--
Manuel Bouyer, MASI, Universite Paris VI.
email: bouyer@masi.ibp.fr
       bouyer@ensta.fr
--