Hello, Sorry if this mail would have to be post in the development ML, but my problem is just at using centOS.. I'm trying to recompile the centOS-3.1 kernel. I done this: # cd /usr/src/linux-2.4 # make menuconfig < i select my CPU type > < Exit and save > # make dep # make modules (...no errors ...) gcc -D__KERNEL__ -I/usr/src/linux-2.4.21-15.0.4.EL/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Wno-unused -fomit-frame-poi nter -pipe -freorder-blocks -mpreferred-stack-boundary=2 -march=pentium4 -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.21-15.0.4.EL/include/linux/modversions.h -nostdinc -iwithprefix include -DKBUILD_BASENAME=module -c -o module.o module.c In file included from /usr/src/linux-2.4.21-15.0.4.EL/include/linux/if.h:23, from cipe.h:21, from module.c:15: /usr/src/linux-2.4.21-15.0.4.EL/include/linux/socket.h:264: invalid suffix on integer constant/usr/src/linux-2.4.21-15.0.4.EL/include/linux/socket.h:264: syntax error before numeric constant/usr/src/linux-2.4.21-15.0.4.EL/include/linux/socket.h:264: `memcpy_fromiovec_R_ver_str' declared as function returning a function/usr/src/linux-2.4.21-15.0.4.EL/include/linux/socket.h:264: warning: function declaration isn't a prototype/usr/src/linux-2.4.21-15.0.4.EL/include/linux/socket.h:273: invalid suffix on integer constant/usr/src/linux-2.4.21-15.0.4.EL/include/linux/socket.h:273: syntax error before numeric constant (...) /usr/src/linux-2.4.21-15.0.4.EL/include/linux/skbuff.h: In function `kunmap_skb_frag':/usr/src/linux-2.4.21-15.0.4.EL/include/linux/skbuff. h:1152: warning: asm operand 1 probably doesn't match constraints make[3]: *** [module.o] Error 1 make[3]: Leaving directory `/usr/src/linux-2.4.21-15.0.4.EL/drivers/addon/cipe' make[2]: *** [_modsubdir_cipe] Error 2 make[2]: Leaving directory `/usr/src/linux-2.4.21-15.0.4.EL/drivers/addon' make[1]: *** [_modsubdir_addon] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.21-15.0.4.EL/drivers' make: *** [_mod_drivers] Error 2 Is anyone ever tried that ? Thanks for help ! -- Martin
On Fri, 20 Aug 2004 11:27:18 +0200 Martin Hamant <mh at accelance.fr> disait:> Hello, > > Sorry if this mail would have to be post in the development ML, but my > problem is just at using centOS..And the problem was i forgot to do a "make mrproper" ( be sure to save .config in another directory before ). Thanks to Dpilon and Bacon from the irc "centos" channel for helping ! -- Martin
Martin wrote:>Date: Fri, 20 Aug 2004 11:27:18 +0200From: Martin Hamant <mh at accelance.fr>>To: centos at caosity.org >Organization: Accelance MSP. >Subject: [Centos] [kernel-2.4.21-15] rebuild problem>Hello,>Sorry if this mail would have to be post in the development ML, but my >problem is just at using centOS..>I'm trying to recompile the centOS-3.1 kernel.>I done this:># cd /usr/src/linux-2.4 ># make menuconfig >< i select my CPU type > >< Exit and save > ># make dep ># make modules >(...no errors ...) >gcc -D__KERNEL__ -I/usr/src/linux-2.4.21-15.0.4.EL/include -Wall >-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common >-Wno-unused -fomit-frame-poi nter -pipe -freorder-blocks >-mpreferred-stack-boundary=2 -march=pentium4 -DMODULE -DMODVERSIONS >-include /usr/src/linux-2.4.21-15.0.4.EL/include/linux/modversions.h >-nostdinc -iwithprefix include -DKBUILD_BASENAME=module -c -o module.o >module.c In file included from >/usr/src/linux-2.4.21-15.0.4.EL/include/linux/if.h:23, >from cipe.h:21, from module.c:15: >/usr/src/linux-2.4.21-15.0.4.EL/include/linux/socket.h:264: invalid >suffix on integer >constant/usr/src/linux-2.4.21-15.0.4.EL/include/linux/socket.h:264: >syntax error before numeric >constant/usr/src/linux-2.4.21-15.0.4.EL/include/linux/socket.h:264: >`memcpy_fromiovec_R_ver_str' declared as function returning a >function/usr/src/linux-2.4.21-15.0.4.EL/include/linux/socket.h:264: >warning: function declaration isn't a >prototype/usr/src/linux-2.4.21-15.0.4.EL/include/linux/socket.h:273: >invalid suffix on integer >constant/usr/src/linux-2.4.21-15.0.4.EL/include/linux/socket.h:273: >syntax error before numeric constant>(...)>/usr/src/linux-2.4.21-15.0.4.EL/include/linux/skbuff.h: In function >`kunmap_skb_frag':/usr/src/linux-2.4.21-15.0.4.EL/include/linux/skbuff. >h:1152: warning: asm operand 1 probably doesn't match constraints >make[3]: *** [module.o] Error 1 make[3]: Leaving directory >`/usr/src/linux-2.4.21-15.0.4.EL/drivers/addon/cipe' make[2]: *** >[_modsubdir_cipe] Error 2 make[2]: Leaving directory >`/usr/src/linux-2.4.21-15.0.4.EL/drivers/addon' make[1]: *** >[_modsubdir_addon] Error 2 make[1]: Leaving directory >`/usr/src/linux-2.4.21-15.0.4.EL/drivers' make: *** [_mod_drivers] Error >2>Is anyone ever tried that ?Before you build packages on CentOS 3.1, make sure you have installed all the relevant packages from the addons directory. ftp://ftp.pasteur.fr/pub/computing/linux/cAos/centos-3/3.1/addons/i386/RPMS Kevin Wood.>Thanks for help !>-- >Martin
Seemingly Similar Threads
- problem with install of centos 3.4 on i386
- [Centos 5] minimum RAM required to install : 1GB ?
- CentOS-3.1 updates dir. on ftp.belnet.be empty
- RPM rebuild, cross compiling from x86 to x86_64
- kmod-drbd-smp (2.6.9-55.0.2.EL) has unknown symbols (kmod-drbd not).