Trouble compiling modules

Trouble compiling modules

Post by Mark Sas » Sat, 11 Oct 1997 04:00:00



Hi All,
        I am having problems configuring the a new kernel.  I have installed
kernel 1.2.1 (Yes, I know this is old, but I am waiting on a new version.
My kernel currently has no network support which is the problem:)  I am
trying to add a kernel with network support, and I do the following:

make mrproper
make config
make dep
make clean
make zlilo
make modules

        When I get here, there is a problem when it tries this final item.  It
gets an error when trying to compile the soundblaster cdrom module.  The
problem is that I do not want support for SB CDrom, but it still compiles
it????  Can anyone help me?  I would rather be able to have network support
and pull the newest kernel from the internet via my T1, but if I have to
wait for the new distribution set, I can deal with it - it should be in any
time.  Your help in this matter is greatly appreciated.

Thanks,

 
 
 

1. troubles compiling module?

I am trying to install a PCI ethernet card , since there is a serious
bug
in the built-in-ethernet adapter on my PMac 7200.  Anyway I have ne2000
(realtek 8029) that the LinucPPC kernel reports as irq=23 and
ioport=0x400?
The DOS diagnostics software states the irq=9 and iport=0x6000 are
stored on the card (obviously plugged into an Intel machine) .  I tested

out the PCI card with Intel Linux and it works fine.   Why does linuxPPC

report  irq=23 and ioport=0x400?  Also I noticed there were no modules
for ne2k-pci with LinuxPPC?  Can I get them off the the CD ?  Red Hat
for
Intel sets up all the compiled modules so one can easily add new
hardware.  Why does LinuxPPC installation not do this?

Well I found the net2k-pci.c in the kernel source rpm(no precompiled
modules).  I really don't want
to go through the mess of recompiling the entire kernel when I just want
to
get a net2k-pci module.

I tried to compile it with 'gcc -O2 ne2k-pci.c -D__KERNEL__ -Wall
-Wstrict-prototypes  -I /usr/src/linux/include' and got:

In file included from /usr/src/linux/include/linux/signal.h:64,
                 from /usr/src/linux/include/linux/sched.h:23,
                 from ne2k-pci.c:34:
/usr/src/linux/include/linux/string.h:31: warning: conflicting types for
built-in function `memset'
/usr/src/linux/include/linux/string.h:32: warning: conflicting types for
built-in function `memcpy'
/usr/src/linux/include/linux/string.h:35: warning: conflicting types for
built-in function `memcmp'
/usr/lib/crt1.o(.rodata+0x4): undefined reference to `main'
collect2: ld returned 1 exit status

Well I am stuck? Any ideas?

2. Startting httpd error

3. troubles compiling kernel/modules

4. Installing RedHat from Hard disk

5. patching SunOS 5.8

6. ANSWER: Module troubles on new kernel compiles

7. Year 2000

8. Trouble compiling an eth0 module...

9. Wierd modules troubles (even without modules)

10. problem compiling modules from modules.tar.gz

11. Redhat 5.1 - ANSWERS - compile kernel, modules, /lib/modules/preferred

12. Compiling the kernel: to module or not to module?