LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-15-2008, 03:23 PM   #1
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Rep: Reputation: 53
SB XFi Beta Driver installation failure


Hello Everyone,

I have been trying to help an associate with installing a source file for a beta driver for this sound card. The kernel headers are installed, ALSA source is installed, but the configure fails to continue on to the make instruction. I won't post the entire output, but this is what I believe is the relevant output:

Quote:
checking for built-in ALSA... no
checking for existing ALSA module... no
checking to modify of kernel linux/kmod.h... no
Quote:
make: *** [all] Error 2
make: *** [install] Error 2
Installation Unsuccessful
The only thing that could be considered a warning was this:

Quote:
*** NO PREDEFINED KERNEL COMPILER IS DETECTED
*** Assuming the same compiler is used with the current system compiler.

*** Please make sure that the same compiler version was used for building kernel.
I would like to advise him why his install is failing, but I am stumped.

The distro is Ubuntu Hardy, so everything but the kitchen sink is included. The compiler is properly installed. The README file states this:

Quote:
1) You must have the fully configured source for the Linux kernel and
ALSA which you
want to use for this device driver. Partial installed
kernels (e.g. From distribution makers) may be unusable for this
action.
I would sure appreciate any thoughts or advice on what to check.

Thanks as always

Bob
 
Old 11-15-2008, 04:58 AM   #2
boblemur
LQ Newbie
 
Registered: Oct 2008
Posts: 1

Rep: Reputation: 0
Hey i know this is prity late, but im prity sure i know how to make it compile... however even after it compiles i doubt it will work...

the reason why it dosent compile is because it is trying to use an outdated constant that is now not found in new c header files.


START COPY PASTE:

edit file LinuxSys.c: vi src/ossrv/LinuxSys.c
Goto line 648 and replace SA_SHIRQ with IRQF_SHARED (Kernel 2.6.22 has told us that it was going to deprecate it although still defines it, but in kernel 2.6.25 this SA_SHIRQ is now gone!)
Add the following line after line 33:

#include <linux/fs.h> // for definitions of filp_*
Add the following lines after line 37:

#include <asm-generic/fcntl.h> // otherwise, some MACROS are undefined


Compile with the following command: sudo make KBUILD_NOPEDANTIC=1 or modify (temporarily!) file /usr/src/linux/scripts/Makefile.build and comment out statements around line 46 as below:

#ifeq ($(KBUILD_NOPEDANTIC),)
#ifneq ("$(save-cflags)","$(CFLAGS)")
#$(error CFLAGS was changed in "$(kbuild-file)". Fix it to use EXTRA_CFLAGS)
#endif

Edit file in drivers/ctsound and change the order to:

drivers="ctossrv emupia ctsfman haxfi ctalsa ct20xut ctexfifx cthwiut"

#endif
Install it: sudo make install


END COPY PASTE

this lets the driver compile for me on hardy, so you shouldnt have an issue, however apparently you need to rebuild ur kernel with a few changes and then rebuild it for it to work well....its on the ubuntu forums somewhere...

sorry i cant quote u the link.. it wont let me... but its the main tutorial for the x-fi... so good luck

also. there is good news, SB are giving it another go and the drivers should be out in 09 some time... hopefully they do a better job this time

hope this helps
 
  


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
XFi sound card driver install problem on Ubuntu (32-bit) cushman2 Linux - Newbie 1 06-12-2008 04:42 PM
problem with xfi driver ditsikts Ubuntu 11 04-30-2008 12:40 PM
Installing XFi drivers rrandrews Linux - Newbie 1 10-02-2007 08:19 PM
sound driver installation failure/pls help lakshminarayan Linux - Hardware 1 06-06-2004 12:02 PM
Audigy Driver Installation - failure xanas3712 Slackware 6 05-06-2004 06:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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