Let me add this so maybe i'll be alittle more clear. I built a new kernel. Everything is good to go. I ran grep -l "lib/modules/`uname -r`" *
and the output was this:
fglrx-module-8.455.2-x86-1_kernel_2.6.21.5_smp
kernel-modules-smp-2.6.21.5_smp-i686-2
rt61-2008022422_2.6.21.5_smp-i486-1
svgalib_helper-1.9.25_2.6.21.5-i486-1
I built all the other packages without a hitch(minus the kernel modules of course). svagalib_helper comes standard with slack 12, but it is a module and should be rebuilt against the new kernel. This would be correct?
I'm trying to build this but I am getting errors.
Here is what I'm doing "KERNEL=2.6.23.16-smp ./svgalib_helper.Slackbuild"
I get all this good stuff:
Code:
make -C /lib/modules/2.6.23.16-smp/build SUBDIRS=/tmp/svgalib-1.9.25/kernel/svgalib_helper CLASS_CFLAGS= modules
make[1]: Entering directory `/usr/src/linux-2.6.23.16'
CC [M] /tmp/svgalib-1.9.25/kernel/svgalib_helper/main.o
In file included from /tmp/svgalib-1.9.25/kernel/svgalib_helper/main.c:42:
/tmp/svgalib-1.9.25/kernel/svgalib_helper/kernel26compat.h: In function 'devfs_unregister_chrdev':
/tmp/svgalib-1.9.25/kernel/svgalib_helper/kernel26compat.h:80: error: void value not ignored as it ought to be
/tmp/svgalib-1.9.25/kernel/svgalib_helper/main.c: In function 'svgalib_helper_ioctl':
/tmp/svgalib-1.9.25/kernel/svgalib_helper/main.c:358: warning: 'deprecated_irq_flag' is deprecated (declared at include/linux/interrupt.h:64)
/tmp/svgalib-1.9.25/kernel/svgalib_helper/main.c:358: warning: passing argument 2 of 'request_irq' from incompatible pointer type
/tmp/svgalib-1.9.25/kernel/svgalib_helper/main.c:358: warning: ignoring return value of 'request_irq', declared with attribute warn_unused_result
/tmp/svgalib-1.9.25/kernel/svgalib_helper/main.c: In function 'svgalib_helper_open':
/tmp/svgalib-1.9.25/kernel/svgalib_helper/main.c:446: warning: 'deprecated_irq_flag' is deprecated (declared at include/linux/interrupt.h:64)
/tmp/svgalib-1.9.25/kernel/svgalib_helper/main.c:446: warning: passing argument 2 of 'request_irq' from incompatible pointer type
/tmp/svgalib-1.9.25/kernel/svgalib_helper/main.c:446: warning: ignoring return value of 'request_irq', declared with attribute warn_unused_result
make[2]: *** [/tmp/svgalib-1.9.25/kernel/svgalib_helper/main.o] Error 1
make[1]: *** [_module_/tmp/svgalib-1.9.25/kernel/svgalib_helper] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.23.16'
make: *** [default] Error 2
My only thought is I have to build the svgalib pkg so I can have it in the /tmp directory so the helper pkg can read from this? Looked at building the svgalib pkg but not realy sure how safe it is. Anyone done this before.