[ale] Can't compile RedHat's kernel.

Michael D. Hirsch mhirsch at nubridges.com
Mon Jan 6 12:30:31 EST 2003


Anyone compiled a RedHat kernel, lately.  I remember there was a time when 
you needed a special compiler, but I thought those days were over.

I'm trying to add the usbdnet to my kernel, but when that didn't work I've 
gone back to the RedHat sources and did make dep && make bzImage && make 
modules.  In the middle of make bzImage I get crap like:


make[3]: Entering directory `/usr/src/linux-2.4.18-14/drivers/addon/cipe'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.18-14/include -Wall 
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 
-DMODULE -DMODVERSIONS -include 
/usr/src/linux-2.4.18-14/include/linux/modversions.h  -nostdinc -I 
/usr/lib/gcc-lib/i386-redhat-linux/3.2/include -DKBUILD_BASENAME=module  
-c -o module.o module.c
In file included from /usr/src/linux-2.4.18-14/include/linux/if.h:23,
                 from cipe.h:21,
                 from module.c:15:
/usr/src/linux-2.4.18-14/include/linux/socket.h:249: invalid suffix on 
integer constant
/usr/src/linux-2.4.18-14/include/linux/socket.h:249: parse error before 
numeric constant
/usr/src/linux-2.4.18-14/include/linux/socket.h:249: 
`memcpy_fromiovec_R_ver_str' declared as function returning a function
/usr/src/linux-2.4.18-14/include/linux/socket.h:249: warning: function 
declaration isn't a prototype
/usr/src/linux-2.4.18-14/include/linux/socket.h:258: invalid suffix on 
integer constant
/usr/src/linux-2.4.18-14/include/linux/socket.h:258: parse error before 
numeric constant

So I can't compile RH's kernel with RH's config file.  WTF?  I must be 
missing something easy.

Michael
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale






More information about the Ale mailing list