Re: Problem compiling modules?

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

 



On 15 Oct 2002 20:47:17 -0400, Ed Benckert wrote:

> New to the list, hi all...
> 
> I'm trying to recompile the stock 8.0 kernel to include the NTFS
> module so I can see my win2k partition.
> 
> When I try and compile the modules, I get:
> 
> make[3]: Entering directory
> `/usr/src/linux-2.4.18-14/drivers/addon/bcm5700'
> make[3]: Nothing to be done for `modules'.
> make[3]: Leaving directory
> `/usr/src/linux-2.4.18-14/drivers/addon/bcm5700'
> make -C cipe modules
> 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 c
> 
> Then it scrolls errors forever then bombs out.
> 
> Anyone know what the heck is going on? I've done nothing but the
> following:
> Copy the i686 config from the configs directory to .config

Before creating the config, run "make mrproper" once.

> make xconfig and turn off lots of modules I wont use, like the ISDN,
> bluetooth, most of the network card modules, etc.
> make dep; make clean

"make clean" is obsolete.

> make bzImage
> make modules
> 
> Thats it... shouldnt the stock kernel source compile correctly?

Attachment: pgp00184.pgp
Description: PGP signature


[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux