Sharrea Day wrote:

Hi all

I need to build my own kernel so that I can use my satellite card for internet connection. The driver is compiled with gcc-2.96 and requires the kernel to be compiled with the same. No problem in 9.1 but having just installed 9.2, the "make dep" gives an error:

/usr/src/linux-2.4.22-10mdk/scripts/mkdep -D__KERNEL__ -I/usr/src/linux-2.4.22-10mdk/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -- acpi.c acpitable.c acpitable.h acpi_wakeup.S apic.c apm.c bluesmoke.c cpuid.c dmi_scan.c e820.c elanfreq.c entry.S gx-suspmod.c head.S i386_ksyms.c i387.c i8259.c init_task.c io_apic.c ioport.c irq.c ldt.c longhaul.c longrun.c mca.c microcode.c mpparse.c msr.c mtrr.c nmi.c p4-clockmod.c pci-dma.c pci-i386.c pci-i386.h pci-irq.c pci-pc.c pci-visws.c powernow-k6.c powernow-k7.c powernow-k7.h process.c ptrace.c semaphore.c setup.c signal.c smpboot.c smp.c speedstep-centrino.c speedstep-ich.c sys_i386.c time.c trampoline.S traps.c visws_apic.c vm86.c

.depend


make[2]: *** [fastdep] Error 139
make[2]: Leaving directory `/usr/src/linux-2.4.22-10mdk/arch/i386/kernel'
make[1]: *** [_sfdep_arch/i386/kernel] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.22-10mdk'
make: *** [dep-files] Error 2

Does anyone know how to get past this error? I'm using the config from the current Mandrake kernel-i686-up-4GB-2.4.22.10mdk-1-1mdk.

Any help much appreciated.

Sharrea


------------------------------------------------------------------------

Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com


First, let me say that I don't know the answer to how to fix your compile, but I do have a couple of things for you. First the -wall in your make file will cause all errors AND warnings to stop the process. If you don't want warnings to stop the compile, remove the -wall.

Second and more important, have you tried just compiling the drivers as a module and using insmod to use them? If you do compile them as a module, you will get an error about the kernel being compiled with 3.x and the module with 2.96, but it may still work if you use insmod -f mymodule (the -f says to force the module). On the otherhand, it may not work. On one of my boxes with a winmodem, the driver must be inserted with the -f because it, too, has an object file that was compiled with gcc 2.96, even though I am using gcc 3.3.

Don't know if either of the two items will help or not, but you might try them.

Joeb



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to