LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 01-06-2007, 01:10 PM   #1
android6011
Member
 
Registered: May 2005
Posts: 255

Rep: Reputation: 30
fglrx module build fails (i think it is the kernel?)


I am using kernel 2.6.19.1 and I run 'm-a a-i fglrx' and during the build it says that the build failed and it logs this:

Code:
dh_testroot
rm -f configure-stamp
rm -f fglrx.ko fglrx.mod.c *.o libfglrx_ip.a
rm -f .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
rm -rf .tmp_versions
rm -rf patch
dh_clean
rm /usr/src/modules/fglrx/debian/control
rm /usr/src/modules/fglrx/debian/dirs
if [ -f /usr/src/modules/fglrx/debian/control.template ]; then \
		cat /usr/src/modules/fglrx/debian/control.template > /usr/src/modules/fglrx/debian/control; \
	fi
if [ -f /usr/src/modules/fglrx/debian/postinst ]; then \
		mv /usr/src/modules/fglrx/debian/postinst /usr/src/modules/fglrx/debian/fglrx-kernel-2.6.19.1.postinst; \
	fi
dh_testdir
touch configure-stamp
dh_testdir
/usr/bin/make -C /lib/modules/2.6.19.1/source SUBDIRS=/usr/src/modules/fglrx modules
make[1]: Entering directory `/usr/src/linux-2.6.19.1'
  CC [M]  /usr/src/modules/fglrx/firegl_public.o
/usr/src/modules/fglrx/firegl_public.c:89:26: error: linux/config.h: No such file or directory
/usr/src/modules/fglrx/firegl_public.c:456: warning: initialization from incompatible pointer type
/usr/src/modules/fglrx/firegl_public.c: In function ‘firegl_stub_open’:
/usr/src/modules/fglrx/firegl_public.c:579: warning: assignment discards qualifiers from pointer target type
/usr/src/modules/fglrx/firegl_public.c: In function ‘firegl_put_user_ptr’:
/usr/src/modules/fglrx/firegl_public.c:1348: warning: cast from pointer to integer of different size
/usr/src/modules/fglrx/firegl_public.c:1348: warning: cast from pointer to integer of different size
/usr/src/modules/fglrx/firegl_public.c:1348: warning: cast from pointer to integer of different size
/usr/src/modules/fglrx/firegl_public.c:1348: warning: cast from pointer to integer of different size
/usr/src/modules/fglrx/firegl_public.c: In function ‘__ke_request_irq’:
/usr/src/modules/fglrx/firegl_public.c:2568: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
/usr/src/modules/fglrx/firegl_public.c: In function ‘__ke_unregister_ioctl32_conversion’:
/usr/src/modules/fglrx/firegl_public.c:2591: warning: ‘return’ with a value, in function returning void
make[2]: *** [/usr/src/modules/fglrx/firegl_public.o] Error 1
make[1]: *** [_module_/usr/src/modules/fglrx] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.19.1'
make: *** [build] Error 2
 
Old 01-06-2007, 03:46 PM   #2
android6011
Member
 
Registered: May 2005
Posts: 255

Original Poster
Rep: Reputation: 30
does this driver version support 2.6.19.1?
 
Old 01-06-2007, 06:41 PM   #3
The_paladin
Member
 
Registered: Feb 2006
Distribution: Debian "Etch"
Posts: 47

Rep: Reputation: 15
Quote:
Originally Posted by android6011
does this driver version support 2.6.19.1?
Yes, it does. I'm running a 2.6.19.1 kernel and just installed the newest ati driver (8.32.5) - And it runs with acceleration.
 
Old 01-06-2007, 06:50 PM   #4
schatoor
Senior Member
 
Registered: Jul 2002
Location: a tiny place caled hendrik ido ambacht in the netherlands
Distribution: SuSE, debian, slackware, lfs
Posts: 1,358

Rep: Reputation: 45
try doing

Code:
touch /usr/src/linux-$(uname -r)/include/linux/config.h
before compiling
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
module-assistant cant build fglrx android6011 Linux - General 3 12-16-2006 04:41 PM
[Error] Kernel Module : No kernel module build environment saman007uk Debian 7 09-09-2006 07:34 PM
Module Build Fails Mandriva 2006 rrrssssss Linux - Software 1 11-14-2005 02:10 AM
fglrx module fails to start X with the 2.6 kernel redneon Linux - Hardware 5 02-01-2004 01:18 PM
VMWare kernel module build fails jpbarto Linux From Scratch 8 05-23-2003 05:27 PM


All times are GMT -5. The time now is 07:20 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration