RH 7.1 modules compile problem

RH 7.1 modules compile problem

Post by Ken Weaverli » Fri, 20 Apr 2001 07:18:25



Can't believe this... :(

Installed a fresh copy of redhat 7.1
I go into /usr/src/linux-2.4
Copy the 2.4 smp config from config/ to .config
make dep
make bzImage
make modules

Modules compile fails.

In file included from /usr/src/linux-2.4/include/linux/spinlock.h:35,
                 from /usr/src/linux-2.4/include/linux/module.h:11,
                 from eni.c:6:
/usr/src/linux-2.4/include/asm/spinlock.h:8: nondigits in number and not hexadecimal
/usr/src/linux-2.4/include/asm/spinlock.h:8: nondigits in number and not hexadecimal
/usr/src/linux-2.4/include/asm/spinlock.h:8: parse error before `1b7d4074'
/usr/src/linux-2.4/include/asm/spinlock.h:9: `printk_R_ver_str' declared as function returning a function
/usr/src/linux-2.4/include/asm/spinlock.h:9: warning: function declaration isn't a prototype
In file included from eni.c:6:
/usr/src/linux-2.4/include/linux/module.h:173: nondigits in number and not hexadecimal

... and so on and so on... :(

Any ideas how to fix this?
--


 
 
 

RH 7.1 modules compile problem

Post by Ken Weaverli » Fri, 20 Apr 2001 07:42:54




>Can't believe this... :(

>Installed a fresh copy of redhat 7.1
>I go into /usr/src/linux-2.4
>Copy the 2.4 smp config from config/ to .config
>make dep
>make bzImage
>make modules

>Modules compile fails.

Figured it out, at least maybe me asking a dumb question might help
someone else doing a deja search for this in the future (which I did
before asking).

make mrproper

I didn't do that.

Sigh... I guess I figured that you couldn't get any cleaner than a fresh
install, but I guessed wrong. Loads of damn .ver files are in there that
apparently*up the module compile.

So, boys and girls:

read the stuff at --

http://www.veryComputer.com/

then...

make mrproper
copy a canned .config file from config/
make menuconfig (or whatever)
edit Makefile and add your own unique version string, as recommended above.
  (I needed to change it to smp since all I want is to update one module...)
make dep
make bzImage
make modules
make modules_install

--



 
 
 

1. Problem loading modules for Tekram DC-390U2W on boot in RH 7.1

I'm having a small problem with the Tekram DC-390U2W card I just
installed in my Compaq ML370, running RedHat 7.1.  The card was
detected with no problem, but the modules to support it aren't loading
automatically when I boot the server.  If I manually load the module
for the card ("insmod sym53c8xx") then the tape driver ("insmod st")
it will work just fine.  I hope it's not a silly question, but how can
I make the OS load these modules automatically when the server boots?

2. Webmaster protest against futile redirection transactions

3. Problems loading sd_mod modules with RH 7.1

4. Compiling SSLeay on Solaris 8

5. RH 7.1 make modules problem

6. getting files onto my shitty computer

7. Kernel 2.4.3 compile problems on RH 7.1

8. How did the hacker get root access to my system?

9. RH 7.1 kernel compile problems

10. Problem Re-compiling 2.4.2-2 on RH 7.1

11. RH 7.1 "Can't locate module"/soundcard question

12. RH 7.1 and 3c90x network module - Where is it?

13. Make modules fails with RH 7.1