[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: compiling kernel error



I have applied the patch below and still am unable to compile the 
kernel-1.2.13. Let me know what kind of luck you have had.

As far as a patch to debinized 1.2.13 -- I'm not the maintianer, but I do 
seem to recall the maintaner saying something about the 1.2.13 kernel 
being so ELF unfriendly that it's difficult to maintain. 

The upside kernel 1.3.57 (maybe 58 or 59) is now packaged and think it will 
the kernel in the Debian-1.1 release. 

If you are attempting to move to ELF you might want to try this kernel 
version. 

wendal



 On Thu, 8 Feb 1996, Guy Maor wrote:

> On Wed, 7 Feb 1996, Junebug wrote:
> 
> > for some reason.  however, i still can't figure out the other problem.
> > here is the message i get when i do a make zImage:
> > 
> > 
> > gcc -D__KERNEL__ -I/usr/src/linux-1.2.13/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -m386  -c -o init/main.o init/main.c
> > /usr/src/linux-1.2.13/include/asm/io.h: In function `copro_timeout':
> > ...(more problems with io.h)...
> 
> This is a result of some changes in inline asm under gcc-2.7.2.  Apply
> this patch to fix the problem:
> 
> --- ./linux/include/asm-i386/io.h-      Mon Aug 15 00:56:19 1994
> +++ ./linux/include/asm-i386/io.h       Wed Nov 15 23:04:25 1995
> @@ -49,9 +49,9 @@
> 
>  #define __OUT(s,s1,x) \
>  __OUT1(s,x) __OUT2(s,s1,"w") : : "a" (value), "d" (port)); } \
> -__OUT1(s##c,x) __OUT2(s,s1,"") : : "a" (value), "i" (port)); } \
> +__OUT1(s##c,x) __OUT2(s,s1,"") : : "a" (value), "id" (port)); } \
>  __OUT1(s##_p,x) __OUT2(s,s1,"w") : : "a" (value), "d" (port)); SLOW_DOWN_IO; } \
> -__OUT1(s##c_p,x) __OUT2(s,s1,"") : : "a" (value), "i" (port)); SLOW_DOWN_IO; }
> +__OUT1(s##c_p,x) __OUT2(s,s1,"") : : "a" (value), "id" (port)); SLOW_DOWN_IO; }
> 
>  #define __IN1(s) \
>  extern inline unsigned int __in##s(unsigned short port) { unsigned int _v;
> @@ -61,9 +61,9 @@
> 
>  #define __IN(s,s1,i...) \
>  __IN1(s) __IN2(s,s1,"w") : "=a" (_v) : "d" (port) ,##i ); return _v; } \
> -__IN1(s##c) __IN2(s,s1,"") : "=a" (_v) : "i" (port) ,##i ); return _v; } \
> +__IN1(s##c) __IN2(s,s1,"") : "=a" (_v) : "id" (port) ,##i ); return _v; } \
>  __IN1(s##_p) __IN2(s,s1,"w") : "=a" (_v) : "d" (port) ,##i ); SLOW_DOWN_IO; return _v; } \
> -__IN1(s##c_p) __IN2(s,s1,"") : "=a" (_v) : "i" (port) ,##i ); SLOW_DOWN_IO; return _v; }
> +__IN1(s##c_p) __IN2(s,s1,"") : "=a" (_v) : "id" (port) ,##i ); SLOW_DOWN_IO; return _v; }
> 
>  #define __INS(s) \
>  extern inline void ins##s(unsigned short port, void * addr, unsigned long count) \
> 
> 
> Who's the kernel source packager?  He should probably make this patch
> to the debianized 1.2.13 tree.
> 
> Guy
> 
> 
> 


Reply to: