LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-15-2006, 10:31 PM   #1
Soynuts
LQ Newbie
 
Registered: Jan 2006
Posts: 14

Rep: Reputation: 0
bcraid 64bit driver compile error with kernel 2.6.16


I am attempting to compile a 64bit version of the bcraid driver for my amd64 system without much luck. I am using Gentoo as my distro for this. When I compile the 32bit version I do not get this error and it compiles fine, but a 32bit version does me no good as I need the raid/sata controller drivers for my amd64 system. (I have a Tyan Tiger S3870 mobo) Without this driver I am unable to use my SATA drives, so makes it hard to install anything on my system, had to restort to a temp install on an old IDE hard drive to do compiling.

Code:
make -C /lib/modules/2.6.16-hardened-r10/build SUBDIRS=/root/LIN-DRV-SDK/bcraid modules
make[1]: Entering directory `/usr/src/linux-2.6.16-hardened-r10'
  CC [M]  /root/LIN-DRV-SDK/bcraid/bc_init.o
  CC [M]  /root/LIN-DRV-SDK/bcraid/bc_msg.o
  CC [M]  /root/LIN-DRV-SDK/bcraid/bc_mem_ops.o
/root/LIN-DRV-SDK/bcraid/bc_mem_ops.c: In function `bc_mem_clear_list':
/root/LIN-DRV-SDK/bcraid/bc_mem_ops.c:466: error: `mem_map' undeclared (first use in this function)
/root/LIN-DRV-SDK/bcraid/bc_mem_ops.c:466: error: (Each undeclared identifier is reported only once
/root/LIN-DRV-SDK/bcraid/bc_mem_ops.c:466: error: for each function it appears in.)
/root/LIN-DRV-SDK/bcraid/bc_mem_ops.c: In function `bc_mem_copy_list':
/root/LIN-DRV-SDK/bcraid/bc_mem_ops.c:594: error: `mem_map' undeclared (first use in this function)
make[2]: *** [/root/LIN-DRV-SDK/bcraid/bc_mem_ops.o] Error 1
make[1]: *** [_module_/root/LIN-DRV-SDK/bcraid] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.16-hardened-r10'
make: *** [default] Error 2
The main issue seems to be the fact that it doesn't have a declaration of mem_map. I did a grep on the kernel tree and found a reference in include/linux/mm.h so added that include in the bc_mem_ops.c file but that didn't do anything. So now I am kinda stumped at what would be causing this.

Oh, I got the drivers from broadcom.com/products/raid_2.1.0_linuxdriver_download.php and I am using the SDK since the Fedora and SUSE version of the drivers do me no good on Gentoo.
 
  


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
how to compile 32 bit kernel on 64bit system slantoflight Linux - General 3 03-16-2006 12:12 AM
Kernel-source, alsa-driver and kernel compile jasone Linux - General 13 05-26-2005 01:15 AM
Driver won't compile on Kernel 2.6 - works fine on Kernel 2.4 c@sey Linux - Software 4 01-08-2005 02:01 PM
NVIDIA Driver Error after Kernel Compile lasindi Linux - General 2 04-26-2004 07:55 PM
ambient driver compile error coriolis Linux - Software 0 01-15-2002 06:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:33 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