LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-02-2008, 03:19 PM   #1
symatic
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 242

Rep: Reputation: 32
new kernel, can't compile svgalib_helper


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.

Last edited by symatic; 03-03-2008 at 09:52 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[Compile kernel] How to compile/install the modules ? frenchn00b Linux - General 1 09-06-2009 03:18 PM
upgraded kernel, won't let me compile kernel once Suspend2 patches are applied microsoft/linux Linux - Laptop and Netbook 3 10-02-2005 02:37 PM
svgalib_helper slink3r Linux - Software 11 09-22-2005 09:25 PM
svgalib_helper.ko apoth Linux - Software 0 05-09-2005 05:20 AM
Kernel 2.4.23 compile causes kernel panics on ATA RAID-1 (mirror) array Raptor Ramjet Slackware 3 12-18-2003 01:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration