View Full Version : [HOW-TO] X-fi beta driver
NullHead
October 9th, 2007, 03:40 PM
***Readme***
Creative has attempted and failed at making a driver for their X-FI sound card line. They finally broke and released datasheets to both OSS and ALSA (Advanced Linux Sound Architecture). Oss, obviously, has released a driver before ALSA has even started development. Therefore I choose not to have Creative's section included on this page anymore. It causes users too much trauma trying to get it to work and OSS works great anyways.
Enough chatter ... here is the link to Temüjin's wonderful guide on how to get your high-end soundcard working:
***Guide***
Use this guide to install OSS: http://ubuntuforums.org/showpost.php?p=4874981&postcount=2
If OSS fails to install or update use this guild to help you uninstall it: http://4front-tech.com/forum/viewtopic.php?t=2054
This guide supports all versions of Ubuntu from 7.04 and up.
!!!BOTTOM SECTION FOR ADVANCED USERS ONLY!!!
Amtam wrote a guide here: http://ubuntuforums.org/showpost.php?p=4823915&postcount=675
You can use that to try to setup Creative's officially unofficial driver.
amtam
October 9th, 2007, 03:47 PM
sudo gedit Makefiel.conf
Little typo there... ;)
Well I've only got this to work on Ubuntu 7.04 and Debian Lenny
The Gutsy-beta will work also, but you will have to compile your kernel to use SLAB instead of SLUB.
maww
October 9th, 2007, 03:52 PM
Works like a charm!
Thank you!
NullHead
October 9th, 2007, 04:02 PM
Works like a charm!
Thank you!
No problem I'm very glad it worked for you!:guitar:
NullHead
October 9th, 2007, 04:03 PM
sudo gedit Makefiel.conf
Little typo there... ;)
The Gutsy-beta will work also, but you will have to compile your kernel to use SLAB instead of SLUB.
Yes thanks about the SLAB and SLUB thing I don't know how to do that ;(
distruggetelemacchine
October 12th, 2007, 04:23 PM
Thank you, really helpful!
Just one little thing: I think that the right name of the package is build-essential.
Gerry_W
October 13th, 2007, 08:32 PM
When I type in "make," after following all other steps, I get this.
46264
NullHead
October 13th, 2007, 09:24 PM
When I type in "make," after following all other steps, I get this.
46264
What version of Ubuntu are you using. The guide is written for 7.04 and Debian testing lenny.
Gerry_W
October 13th, 2007, 09:37 PM
Thanks for replying. I'm using 7.04 i386. My error seems to be similar to Thunder Teaser's in the "just released x-fi beta driver" thread.
Pardon my ignorance, but will this simply not work in 32-bit?
NullHead
October 13th, 2007, 09:42 PM
Thanks for replying. I'm using 7.04 i386. My error seems to be similar to Thunder Teaser's in the "just released x-fi beta driver" thread.
Pardon my ignorance, but will this simply not work in 32-bit?
I'm very sorry but I don't know that it does. Creative states that it's a 64-bit driver ... I'm guessing that there might be later a 32bit one I just don't know ... they took 2 years to release this driver so I don't know when or if they will.
Gerry_W
October 13th, 2007, 09:52 PM
I've been waiting for this driver for a year or so. >.<
Time to wait more, I suppose. Thanks anyway.
Urgazhi
October 13th, 2007, 10:54 PM
Alright, I followed another persons how to (somewhat similar though...) at http://blackbox.lostwave.net/x-fi/readme.txt
after following it, I realized that I had the error
Q: during "make install" I get: "./ctsound: 35: Syntax error: Bad substitution"
A: If you are using Debian/ubuntu, your /bin/sh probably point to /bin/dash.
---> Edit ctsound and change #!/bin/sh to #!/bin/bash
Well I fixed that, and the install got all the way though... but when it tried to run ctsound this is the errors I get...
urgazhi@urgazhi-desktop:~$ sudo /etc/init.d/ctsound restart
Unloading X-Fi driver...
Loading X-Fi driver...
WARNING: Error inserting ctossrv (/lib/modules/2.6.20-16-generic/kernel/drivers/ssound/ctossrv.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting emupia (/lib/modules/2.6.20-16-generic/kernel/drivers/ssound/emupia.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting ctsfman (/lib/modules/2.6.20-16-generic/kernel/drivers/ssound/ctsfman.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting ct20xut (/lib/modules/2.6.20-16-generic/kernel/drivers/ssound/ct20xut.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting ctexfifx (/lib/modules/2.6.20-16-generic/kernel/drivers/ssound/ctexfifx.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting cthwiut (/lib/modules/2.6.20-16-generic/kernel/drivers/ssound/cthwiut.ko): Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting haxfi (/lib/modules/2.6.20-16-generic/kernel/drivers/ssound/haxfi.ko): Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting ctalsa (/lib/modules/2.6.20-16-generic/kernel/drivers/ssound/ctalsa.ko): Unknown symbol in module, or unknown parameter (see dmesg)
urgazhi@urgazhi-desktop:~$
dmesg looks like such
[ 808.756764] ctossrv: Unknown symbol __stack_chk_fail
[ 808.759221] emupia: Unknown symbol InterlockedIncrement
[ 808.759252] emupia: Unknown symbol heap_alloc
[ 808.759282] emupia: Unknown symbol stack_free_page
[ 808.759340] emupia: Unknown symbol stack_alloc
[ 808.759405] emupia: Unknown symbol get_ossrv
[ 808.759432] emupia: Unknown symbol unload_all_plugins
[ 808.759461] emupia: Unknown symbol stack_alloc_page
[ 808.759488] emupia: Unknown symbol ioctl_dispatch
[ 808.759577] emupia: Unknown symbol heap_free
[ 808.759639] emupia: Unknown symbol InterlockedDecrement
[ 808.759669] emupia: Unknown symbol stack_free
[ 808.762332] ctsfman: Unknown symbol heap_alloc
[ 808.762438] ctsfman: Unknown symbol get_ossrv
[ 808.762467] ctsfman: Unknown symbol ioctl_dispatch
[ 808.762495] ctsfman: Unknown symbol heap_free
[ 808.767240] ct20xut: Unknown symbol InterlockedIncrement
[ 808.767280] ct20xut: Unknown symbol __stack_chk_fail
[ 808.767305] ct20xut: Unknown symbol heap_alloc
[ 808.767336] ct20xut: Unknown symbol unregister_plugin
[ 808.767374] ct20xut: Unknown symbol heap_free
[ 808.767414] ct20xut: Unknown symbol register_plugin
[ 808.767439] ct20xut: Unknown symbol InterlockedDecrement
[ 808.778930] ctexfifx: Unknown symbol InterlockedDecrement
[ 808.778971] ctexfifx: Unknown symbol register_plugin
[ 808.779004] ctexfifx: Unknown symbol unregister_plugin
[ 808.779036] ctexfifx: Unknown symbol __stack_chk_fail
[ 808.779077] ctexfifx: Unknown symbol heap_alloc
[ 808.779114] ctexfifx: Unknown symbol InterlockedIncrement
[ 808.779141] ctexfifx: Unknown symbol heap_free
[ 808.781657] cthwiut: Unknown symbol InterlockedIncrement
[ 808.781694] cthwiut: Unknown symbol __stack_chk_fail
[ 808.781719] cthwiut: Unknown symbol heap_alloc
[ 808.781751] cthwiut: Unknown symbol unregister_plugin
[ 808.781789] cthwiut: Unknown symbol heap_free
[ 808.781829] cthwiut: Unknown symbol register_plugin
[ 808.781854] cthwiut: Unknown symbol InterlockedDecrement
[ 808.805418] haxfi: Unknown symbol InterlockedDecrement
[ 808.805556] haxfi: Unknown symbol get_ossrv
[ 808.805744] haxfi: Unknown symbol heap_alloc
[ 808.805831] haxfi: Unknown symbol InterlockedIncrement
[ 808.805896] haxfi: Unknown symbol heap_free
[ 808.809445] ctalsa: Unknown symbol bytes_to_order
[ 808.809716] ctalsa: Unknown symbol get_ossrv
[ 808.809813] ctalsa: Unknown symbol __stack_chk_fail
[ 808.810306] ctalsa: Unknown symbol heap_alloc
[ 808.810452] ctalsa: Unknown symbol ioctl_dispatch
[ 808.810509] ctalsa: Unknown symbol heap_free
[ 851.555902] ctossrv: Unknown symbol __stack_chk_fail
[ 851.558234] emupia: Unknown symbol InterlockedIncrement
[ 851.558267] emupia: Unknown symbol heap_alloc
[ 851.558298] emupia: Unknown symbol stack_free_page
[ 851.558357] emupia: Unknown symbol stack_alloc
[ 851.558424] emupia: Unknown symbol get_ossrv
[ 851.558452] emupia: Unknown symbol unload_all_plugins
[ 851.558483] emupia: Unknown symbol stack_alloc_page
[ 851.558511] emupia: Unknown symbol ioctl_dispatch
[ 851.558541] emupia: Unknown symbol heap_free
[ 851.558603] emupia: Unknown symbol InterlockedDecrement
[ 851.558634] emupia: Unknown symbol stack_free
[ 851.560921] ctsfman: Unknown symbol heap_alloc
[ 851.561034] ctsfman: Unknown symbol get_ossrv
[ 851.561063] ctsfman: Unknown symbol ioctl_dispatch
[ 851.561092] ctsfman: Unknown symbol heap_free
[ 851.567652] ct20xut: Unknown symbol InterlockedIncrement
[ 851.567698] ct20xut: Unknown symbol __stack_chk_fail
[ 851.567726] ct20xut: Unknown symbol heap_alloc
[ 851.567759] ct20xut: Unknown symbol unregister_plugin
[ 851.567802] ct20xut: Unknown symbol heap_free
[ 851.567846] ct20xut: Unknown symbol register_plugin
[ 851.567874] ct20xut: Unknown symbol InterlockedDecrement
[ 851.580525] ctexfifx: Unknown symbol InterlockedDecrement
[ 851.580563] ctexfifx: Unknown symbol register_plugin
[ 851.580597] ctexfifx: Unknown symbol unregister_plugin
[ 851.580630] ctexfifx: Unknown symbol __stack_chk_fail
[ 851.580672] ctexfifx: Unknown symbol heap_alloc
[ 851.580710] ctexfifx: Unknown symbol InterlockedIncrement
[ 851.580737] ctexfifx: Unknown symbol heap_free
[ 851.583886] cthwiut: Unknown symbol InterlockedIncrement
[ 851.583924] cthwiut: Unknown symbol __stack_chk_fail
[ 851.583950] cthwiut: Unknown symbol heap_alloc
[ 851.583981] cthwiut: Unknown symbol unregister_plugin
[ 851.584021] cthwiut: Unknown symbol heap_free
[ 851.584061] cthwiut: Unknown symbol register_plugin
[ 851.584087] cthwiut: Unknown symbol InterlockedDecrement
[ 851.609271] haxfi: Unknown symbol InterlockedDecrement
[ 851.609405] haxfi: Unknown symbol get_ossrv
[ 851.609576] haxfi: Unknown symbol heap_alloc
[ 851.609662] haxfi: Unknown symbol InterlockedIncrement
[ 851.609726] haxfi: Unknown symbol heap_free
[ 851.613626] ctalsa: Unknown symbol bytes_to_order
[ 851.613905] ctalsa: Unknown symbol get_ossrv
[ 851.614006] ctalsa: Unknown symbol __stack_chk_fail
[ 851.614514] ctalsa: Unknown symbol heap_alloc
[ 851.614666] ctalsa: Unknown symbol ioctl_dispatch
[ 851.614725] ctalsa: Unknown symbol heap_free
[ 1981.421593] ctossrv: Unknown symbol __stack_chk_fail
[ 1981.424077] emupia: Unknown symbol InterlockedIncrement
[ 1981.424108] emupia: Unknown symbol heap_alloc
[ 1981.424137] emupia: Unknown symbol stack_free_page
[ 1981.424191] emupia: Unknown symbol stack_alloc
[ 1981.424254] emupia: Unknown symbol get_ossrv
[ 1981.424280] emupia: Unknown symbol unload_all_plugins
[ 1981.424309] emupia: Unknown symbol stack_alloc_page
[ 1981.424335] emupia: Unknown symbol ioctl_dispatch
[ 1981.424362] emupia: Unknown symbol heap_free
[ 1981.424420] emupia: Unknown symbol InterlockedDecrement
[ 1981.424449] emupia: Unknown symbol stack_free
[ 1981.429103] ctsfman: Unknown symbol heap_alloc
[ 1981.429213] ctsfman: Unknown symbol get_ossrv
[ 1981.429241] ctsfman: Unknown symbol ioctl_dispatch
[ 1981.429267] ctsfman: Unknown symbol heap_free
[ 1981.434768] ct20xut: Unknown symbol InterlockedIncrement
[ 1981.434805] ct20xut: Unknown symbol __stack_chk_fail
[ 1981.434829] ct20xut: Unknown symbol heap_alloc
[ 1981.434858] ct20xut: Unknown symbol unregister_plugin
[ 1981.434896] ct20xut: Unknown symbol heap_free
[ 1981.434934] ct20xut: Unknown symbol register_plugin
[ 1981.434958] ct20xut: Unknown symbol InterlockedDecrement
[ 1981.453576] ctexfifx: Unknown symbol InterlockedDecrement
[ 1981.453623] ctexfifx: Unknown symbol register_plugin
[ 1981.453659] ctexfifx: Unknown symbol unregister_plugin
[ 1981.453692] ctexfifx: Unknown symbol __stack_chk_fail
[ 1981.453734] ctexfifx: Unknown symbol heap_alloc
[ 1981.453772] ctexfifx: Unknown symbol InterlockedIncrement
[ 1981.453800] ctexfifx: Unknown symbol heap_free
[ 1981.457015] cthwiut: Unknown symbol InterlockedIncrement
[ 1981.457054] cthwiut: Unknown symbol __stack_chk_fail
[ 1981.457080] cthwiut: Unknown symbol heap_alloc
[ 1981.457111] cthwiut: Unknown symbol unregister_plugin
[ 1981.457149] cthwiut: Unknown symbol heap_free
[ 1981.457188] cthwiut: Unknown symbol register_plugin
[ 1981.457213] cthwiut: Unknown symbol InterlockedDecrement
[ 1981.478113] haxfi: Unknown symbol InterlockedDecrement
[ 1981.478265] haxfi: Unknown symbol get_ossrv
[ 1981.478474] haxfi: Unknown symbol heap_alloc
[ 1981.478571] haxfi: Unknown symbol InterlockedIncrement
[ 1981.478646] haxfi: Unknown symbol heap_free
[ 1981.484120] ctalsa: Unknown symbol bytes_to_order
[ 1981.484398] ctalsa: Unknown symbol get_ossrv
[ 1981.484496] ctalsa: Unknown symbol __stack_chk_fail
[ 1981.484987] ctalsa: Unknown symbol heap_alloc
[ 1981.485134] ctalsa: Unknown symbol ioctl_dispatch
[ 1981.485191] ctalsa: Unknown symbol heap_free
urgazhi@urgazhi-desktop:~$
that whole "__stack_chk_fail" thing makes me think i should of run the install with -fno-stack-protector, but it didn't fail during make, or make install
(though it did before i edited ctsound...)
yea, I am fairly new... and first time using 64 bit (use 32 bit on lappy, with no issues... ^_^) so any help would be very nice, thanks in advance ^_^
I used the X-Fi xtreme music card, so i used the source code from that file...
NullHead
October 13th, 2007, 11:28 PM
ok Urgazhi you should do a make clean and then redo the ctsound change from sh to bash then ./configure and then add the -fno-stack-protector to Makefile.config and it should work just fine. You're using debian testing or Ubuntu feisty?
Urgazhi
October 13th, 2007, 11:38 PM
I am using Ubuntu feisty... I just found that particular how to, to be the one that looked the most in depth ^_^
[EDIT]
Alright... I tried to do what you suggested... and it bascially stopped at a point where it said that ctsound already existed...
I think i messed up, at some point... the bad thing is the computer seized up at this point, and I had to do a hard reset... so I dont have the exact output of the error...
I think it has to do with the fact that when I did a 'make clean' it did not remove /etc/init.d/ctsound?
if that is true, how would i go around to removing it? (sorry for all the questions... a little bit of a noob, but trying to learn...)
(This might be becuase i RECREATED the XFiDrv_Linux_US-1.04 forlder from the tars... caused i deleted them all? (Yea hindsight is always 20/20))
NullHead
October 14th, 2007, 12:07 AM
I am using Ubuntu feisty... I just found that particular how to, to be the one that looked the most in depth ^_^
[EDIT]
Alright... I tried to do what you suggested... and it bascially stopped at a point where it said that ctsound already existed...
I think i messed up, at some point... the bad thing is the computer seized up at this point, and I had to do a hard reset... so I dont have the exact output of the error...
I think it has to do with the fact that when I did a 'make clean' it did not remove /etc/init.d/ctsound?
if that is true, how would i go around to removing it? (sorry for all the questions... a little bit of a noob, but trying to learn...)
(This might be becuase i RECREATED the XFiDrv_Linux_US-1.04 forlder from the tars... caused i deleted them all? (Yea hindsight is always 20/20))
Everyone had to start somewhere!
OK well we will try this do a make clean and then a sudo rm -rf /etc/init.d/ctsound then edit ctsound then do a ./configure
then edit the Makefile.config and do a makesudo make installsudo /etc/init.d/ctsound start
OK? well that should do it. Let me know what happens.
Urgazhi
October 14th, 2007, 12:21 AM
My comptuer loves me...(not really I am sure...)
alright, I wrote down where the install hung up this time around...
It seemed to go fine, no unusual hang-ups, and the code didn't get a kill signal, but it stopped at this part
install /home/urgazhi/XFiDrv_Linux_us-1.04/ctsound to /etc/init.d
and then my mouse froze, and i could not get the comptuer to respond, so back to the hard shutdown -_-
(btw, just noticed your sig, Mythbusters FTW!)
EDIT:
Okay, since I have not heard form anyone in about half an hour or so, I am going to try the following...
make clean
sudo rm -rf /etc/init.d/ctsound
do a reset and make sure i did not break anything... then
./configure
edit the MakeFile.conf to include -fno-stack-protector
and recheck the ctsound file...
make
sudo make install
I will report back with either success or failure...
EDIT2:
Well, that failed, same place, the only thing I can think of doing next is to, sudo make clean and then delete the folder that the source files are in, and then i re-extract them from the tars and start fresh... that might help actually... lol I guess I should try that before bed...
EDIT3:
Okay....
Not good I am guessing
I tried it again, clean, rm -rf ctsound, etc...
and restart, and then untar/repatch the files, etc... yea... didn't work...
I just becuase I wondared what this incomplete install of the sound driver would do decied to do the following.. and this is the output of dmesg...
sudo /etc/init.d/ctsound start
loading X-Fi...
the follwoing was new cause i have never seen it before...
(dmesg)
[ 102.512684] emupia: no version for "InterlockedIncrement" found: kernel tainted.
[ 104.378312] ACPI: PCI Interrupt 0000:05:04.0[A] -> GSI 16 (level, low) -> IRQ 16
I am going to assume that is BAD, and means that I need to reinstall Ubuntu Feisty 64 bit... lol
Just a guess....
mhenriday
October 15th, 2007, 10:09 AM
Nullhead, everything worked like a charm for me - I was able to edit both the ctsound and the Makefile.conf files according to your instuctions (see the screenshots below) - but when I came to the make and sudo make install commands, things suddenly took a turn for the worse :mhenriday@mhenriday-skrivbord:~/XFiDrv_Linux_US-1.04$ make
cd /home/mhenriday/XFiDrv_Linux_US-1.04/src/utils/alsaver; make clean
make[1]: Entering directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/utils/alsaver'
rm -f alsaver
make[1]: Leaving directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/utils/alsaver'
rm -f alsaver
cd /home/mhenriday/XFiDrv_Linux_US-1.04/src/ossrv; make clean
make[1]: Entering directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/ossrv'
/home/mhenriday/XFiDrv_Linux_US-1.04/src/ossrv/../../globalrules.mk:60: .depend: Filen eller katalogen finns inte
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/lib/modules/2.6.20-16-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -M ctossrv_main.c LinuxReg.c LinuxSys.c osutils.c > .depend
make[1]: Leaving directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/ossrv'
make[1]: Entering directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/ossrv'
rm -rf ctossrv_main.o LinuxReg.o LinuxSys.o osutils.o *.o *.ko *.o_shipped *.mod.c *~ .*cmd .tmp_versions .depend
make[1]: Leaving directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/ossrv'
rm -f ctossrv.ko
cd /home/mhenriday/XFiDrv_Linux_US-1.04/src/emupia; make clean
make[1]: Entering directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/emupia'
/home/mhenriday/XFiDrv_Linux_US-1.04/src/emupia/../../globalrules.mk:60: .depend: Filen eller katalogen finns inte
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/lib/modules/2.6.20-16-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -M emupia_guids.c emupia_main.c > .depend
make[1]: Leaving directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/emupia'
make[1]: Entering directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/emupia'
rm -rf emupia_guids.o emupia_main.o *.o *.ko *.o_shipped *.mod.c *~ .*cmd .tmp_versions .depend
make[1]: Leaving directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/emupia'
rm -f emupia.ko
cd /home/mhenriday/XFiDrv_Linux_US-1.04/src/sfman; make clean
make[1]: Entering directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/sfman'
/home/mhenriday/XFiDrv_Linux_US-1.04/src/sfman/../../globalrules.mk:60: .depend: Filen eller katalogen finns inte
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/lib/modules/2.6.20-16-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -M ctsfman_main.c > .depend
make[1]: Leaving directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/sfman'
make[1]: Entering directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/sfman'
rm -rf ctsfman_main.o *.o *.ko *.o_shipped *.mod.c *~ .*cmd .tmp_versions .depend
make[1]: Leaving directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/sfman'
rm -f ctsfman.ko
cd /home/mhenriday/XFiDrv_Linux_US-1.04/src/haxfi; make clean
make[1]: Entering directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/haxfi'
/home/mhenriday/XFiDrv_Linux_US-1.04/src/haxfi/../../globalrules.mk:60: .depend: Filen eller katalogen finns inte
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/lib/modules/2.6.20-16-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -M haxfi_main.c > .depend
make[1]: Leaving directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/haxfi'
make[1]: Entering directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/haxfi'
rm -rf haxfi_main.o *.o *.ko *.o_shipped *.mod.c *~ .*cmd .tmp_versions .depend
make[1]: Leaving directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/haxfi'
rm -f haxfi.ko
cd /home/mhenriday/XFiDrv_Linux_US-1.04/src/ctalsa; make clean
make[1]: Entering directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/ctalsa'
/home/mhenriday/XFiDrv_Linux_US-1.04/src/ctalsa/../../globalrules.mk:60: .depend: Filen eller katalogen finns inte
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/lib/modules/2.6.20-16-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -DALSA_VERSION_CODE=0 -M amidi.c amixer.c asynth.c ctalsa_main.c dummy.c pcm.c > .depend
make[1]: Leaving directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/ctalsa'
make[1]: Entering directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/ctalsa'
rm -rf amidi.o amixer.o asynth.o ctalsa_main.o dummy.o pcm.o *.o *.ko *.o_shipped *.mod.c *~ .*cmd .tmp_versions .depend
make[1]: Leaving directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/ctalsa'
rm -f ctalsa.ko
cd /home/mhenriday/XFiDrv_Linux_US-1.04/src/plugins/ct20xut; make clean
make[1]: Entering directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/plugins/ct20xut'
rm -rf *.o *.ko *~ *.o_shipped .depend .*cmd *.mod.c .tmp_versions
cd ../../../src/plugins; make clean
make[2]: Entering directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/plugins'
../../globalrules.mk:60: .depend: Filen eller katalogen finns inte
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/lib/modules/2.6.20-16-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -M pluginutils.c > .depend
make[2]: Leaving directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/plugins'
make[2]: Entering directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/plugins'
rm -rf pluginutils.o *.o *.ko *.o_shipped *.mod.c *~ .*cmd .tmp_versions .depend
make[2]: Leaving directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/plugins'
make[1]: Leaving directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/plugins/ct20xut'
rm -f ct20xut.ko
cd /home/mhenriday/XFiDrv_Linux_US-1.04/src/plugins/ctexfifx; make clean
make[1]: Entering directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/plugins/ctexfifx'
rm -rf *.o *.ko *.o_shipped *~ *.mod.c .*cmd .tmp_versions .depend
cd ../../../src/plugins; make clean
make[2]: Entering directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/plugins'
../../globalrules.mk:60: .depend: Filen eller katalogen finns inte
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/lib/modules/2.6.20-16-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -M pluginutils.c > .depend
make[2]: Leaving directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/plugins'
make[2]: Entering directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/plugins'
rm -rf pluginutils.o *.o *.ko *.o_shipped *.mod.c *~ .*cmd .tmp_versions .depend
make[2]: Leaving directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/plugins'
make[1]: Leaving directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/plugins/ctexfifx'
rm -f ctexfifx.ko
cd /home/mhenriday/XFiDrv_Linux_US-1.04/src/plugins/cthwiut; make clean
make[1]: Entering directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/plugins/cthwiut'
rm -rf *.o *.ko *~ *.o_shipped .depend .*cmd *.mod.c .tmp_versions
cd ../../../src/plugins; make clean
make[2]: Entering directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/plugins'
../../globalrules.mk:60: .depend: Filen eller katalogen finns inte
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/lib/modules/2.6.20-16-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -M pluginutils.c > .depend
make[2]: Leaving directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/plugins'
make[2]: Entering directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/plugins'
rm -rf pluginutils.o *.o *.ko *.o_shipped *.mod.c *~ .*cmd .tmp_versions .depend
make[2]: Leaving directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/plugins'
make[1]: Leaving directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/plugins/cthwiut'
rm -f cthwiut.ko
cd /home/mhenriday/XFiDrv_Linux_US-1.04/src/utils/alsaver; make
make[1]: Entering directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/utils/alsaver'
gcc -Wall -O alsaver.c -o alsaver
make[1]: Leaving directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/utils/alsaver'
cp -f /home/mhenriday/XFiDrv_Linux_US-1.04/src/utils/alsaver/alsaver .
cd /home/mhenriday/XFiDrv_Linux_US-1.04/src/ossrv; make
make[1]: Entering directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/ossrv'
/home/mhenriday/XFiDrv_Linux_US-1.04/src/ossrv/../../globalrules.mk:60: .depend: Filen eller katalogen finns inte
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/lib/modules/2.6.20-16-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -M ctossrv_main.c LinuxReg.c LinuxSys.c osutils.c > .depend
make[1]: Leaving directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/ossrv'
make[1]: Entering directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/ossrv'
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/lib/modules/2.6.20-16-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -c ctossrv_main.c
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/lib/modules/2.6.20-16-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -c LinuxReg.c
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/lib/modules/2.6.20-16-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -c LinuxSys.c
LinuxSys.c: I funktion "sysRegisterInterrupt":
LinuxSys.c:637: varning: typkonvertering från pekare till heltal av annan storlek
LinuxSys.c:642: varning: skickar argument 2 till "request_irq" från inkompatibel pekartyp
LinuxSys.c: I funktion "sysGetPagePhysAddr":
LinuxSys.c:947: varning: att skicka argument 1 till "kvirt_to_phys" skapar pekare från heltal utan typkonvertering
LinuxSys.c: I funktion "sysGetPageBusAddr":
LinuxSys.c:974: varning: att skicka argument 1 till "kvirt_to_bus" skapar pekare från heltal utan typkonvertering
LinuxSys.c: I funktion "sysWriteFile":
LinuxSys.c:1626: varning: pekarmål när argument 2 till "filp->f_op->write" skickades skiljer i teckenhet
LinuxSys.c: I funktion "sysReadFile":
LinuxSys.c:1675: varning: pekarmål när argument 2 till "filp->f_op->read" skickades skiljer i teckenhet
LinuxSys.c: På toppnivå:
LinuxSys.c:1463: varning: "errno" är definierad men inte använd
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/lib/modules/2.6.20-16-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -c osutils.c
osutils.c: I funktion "myDelay":
osutils.c:814: varning: implicit deklaration av funktionen "__bad_delay"
osutils.c: På toppnivå:
osutils.c:50: varning: "errno" är definierad men inte använd
ld -m elf_x86_64 -e stext -r ctossrv_main.o LinuxReg.o LinuxSys.o osutils.o -o lin-ctossrv.o
ld -m elf_x86_64 -e stext -Ur ../../arch/x86_64/begin.o \
../../src/ossrv/lin-ctossrv.o \
../../arch/x86_64/ctossrv.a \
../../arch/x86_64/utils.a \
../../arch/x86_64/end.o -o ctossrv.o_shipped
make -C /lib/modules/2.6.20-16-generic/build SUBDIRS=/home/mhenriday/XFiDrv_Linux_US-1.04/src/ossrv modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.20-16-generic'
/home/mhenriday/XFiDrv_Linux_US-1.04/src/ossrv/../../globalrules.mk:60: .depend: Filen eller katalogen finns inte
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/lib/modules/2.6.20-16-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -M ipc > .depend
/bin/sh: cannot create .depend: Permission denied
make[3]: *** [.depend] Fel 2 [Error 2]
make[2]: *** [_module_/home/mhenriday/XFiDrv_Linux_US-1.04/src/ossrv] Fel 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.20-16-generic'
make[1]: *** [module] Fel 2
make[1]: Leaving directory `/home/mhenriday/XFiDrv_Linux_US-1.04/src/ossrv'
make: *** [ctossrv] Fel 2
mhenriday@mhenriday-skrivbord:~/XFiDrv_Linux_US-1.04$ sudo make install
Copy module files...
cp: kan inte ta status på "ctossrv.ko": Filen eller katalogen finns inte [The file or catalogue doesn't exist]
cp: kan inte ta status på "emupia.ko": Filen eller katalogen finns inte
cp: kan inte ta status på "ctsfman.ko": Filen eller katalogen finns inte
cp: kan inte ta status på "haxfi.ko": Filen eller katalogen finns inte
cp: kan inte ta status på "ctalsa.ko": Filen eller katalogen finns inte
cp: kan inte ta status på "ct20xut.ko": Filen eller katalogen finns inte
cp: kan inte ta status på "ctexfifx.ko": Filen eller katalogen finns inte
cp: kan inte ta status på "cthwiut.ko": Filen eller katalogen finns inte
make: *** [copy_modules] Fel 1 [Error 1]
Why do I get the «Permission denied» notice above, despite having edited the «ctsound» file ? How can I remedy this problem ? Do I need to install missing files of type «ctossrv.ko», and in that event, how do I do so ?...
Henri
strumluff
October 15th, 2007, 06:26 PM
I had to do a sudo make instead of just make.
Unfortunately for me upon loading the driver its fine until a sound plays and then the sound stutters and system crashes =(
I will be upgrading to Gutsy soon though and I would like a guide for re-compiling the kernel. I would also like to know if there any disadvantages to doing that, and what the difference between SLAB and SLUB are =)
Cheers !
NullHead
October 15th, 2007, 08:54 PM
Nullhead, everything worked like a charm for me - I was able to edit both the ctsound and the Makefile.conf files according to your instuctions (see the screenshots below) - but when I came to the make and sudo make install commands, things suddenly took a turn for the worse :
Why do I get the «Permission denied» notice above, despite having edited the «ctsound» file ? How can I remedy this problem ? Do I need to install missing files of type «ctossrv.ko», and in that event, how do I do so ?...
Henri
I had to do a sudo make instead of just make.
Unfortunately for me upon loading the driver its fine until a sound plays and then the sound stutters and system crashes =(
I will be upgrading to Gutsy soon though and I would like a guide for re-compiling the kernel. I would also like to know if there any disadvantages to doing that, and what the difference between SLAB and SLUB are =)
Cheers !
mhenriday
Did you do the chmod step?
strumluff
I'm not sure why you had to do make as sudo ... you shouldn't have to do that as a normal user.
strumluff
October 16th, 2007, 12:37 PM
Well I was getting errors with a normal make, I don't have any groups or user groups, I am the only user of the system. Trying a sudo make just worked!
Hopottinix
October 17th, 2007, 07:20 AM
Thank you. After 1 year there is sound.
Only the "sudo make" worked in my case.
kuja
October 17th, 2007, 12:06 PM
Ok well as I've said before this is my first HOW-TO and its going to need some help so let me know what I can to do streamline or change this to fit the needs of the many.
Many thanks to demik, Thingol79 and aidanjt on irc
How about this for streamlining? (see attached file)
Urgazhi
October 17th, 2007, 03:32 PM
Alright, I am doing to HAVE to try your .sh file, see if that works... (Course I will read it first, dont want you do install something I DONT want... lolz ^_^)
Alright One thing i noticed was the following
urgazhi@urgazhi-desktop:~$ sh ./xfi.sh
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04.tar.bz2
XFiDrv_Linux_US-1.04/
XFiDrv_Linux_US-1.04/arch/
XFiDrv_Linux_US-1.04/arch/x86_64/
XFiDrv_Linux_US-1.04/arch/x86_64/begin.o
XFiDrv_Linux_US-1.04/arch/x86_64/emupia.a
XFiDrv_Linux_US-1.04/arch/x86_64/haxfi.a
XFiDrv_Linux_US-1.04/arch/x86_64/ctdriver.a
XFiDrv_Linux_US-1.04/arch/x86_64/ct20xut.a
XFiDrv_Linux_US-1.04/arch/x86_64/utils.a
XFiDrv_Linux_US-1.04/arch/x86_64/r3utils.a
XFiDrv_Linux_US-1.04/arch/x86_64/ctexfifx.a
XFiDrv_Linux_US-1.04/arch/x86_64/cthwiut_ar.o
XFiDrv_Linux_US-1.04/arch/x86_64/end.o
XFiDrv_Linux_US-1.04/arch/x86_64/ctossrv.a
XFiDrv_Linux_US-1.04/arch/x86_64/cthwiut.a
XFiDrv_Linux_US-1.04/arch/x86_64/ctsfman.a
XFiDrv_Linux_US-1.04/arch/x86_64/ctexfifx_ar.o
XFiDrv_Linux_US-1.04/arch/x86_64/ct20xut_ar.o
XFiDrv_Linux_US-1.04/src/
XFiDrv_Linux_US-1.04/src/sfman/
XFiDrv_Linux_US-1.04/src/sfman/ctsfman_main.c
XFiDrv_Linux_US-1.04/src/sfman/Makefile
XFiDrv_Linux_US-1.04/src/utils/
XFiDrv_Linux_US-1.04/src/utils/alsaver/
XFiDrv_Linux_US-1.04/src/utils/alsaver/Makefile
XFiDrv_Linux_US-1.04/src/utils/alsaver/alsaver.c
XFiDrv_Linux_US-1.04/src/haxfi/
XFiDrv_Linux_US-1.04/src/haxfi/Makefile
XFiDrv_Linux_US-1.04/src/haxfi/haxfi_main.c
XFiDrv_Linux_US-1.04/src/ossrv/
XFiDrv_Linux_US-1.04/src/ossrv/osutils.c
XFiDrv_Linux_US-1.04/src/ossrv/Makefile
XFiDrv_Linux_US-1.04/src/ossrv/LinuxReg.c
XFiDrv_Linux_US-1.04/src/ossrv/LinuxSys.c
XFiDrv_Linux_US-1.04/src/ossrv/ctossrv_main.c
XFiDrv_Linux_US-1.04/src/ctalsa/
XFiDrv_Linux_US-1.04/src/ctalsa/asynth.c
XFiDrv_Linux_US-1.04/src/ctalsa/Makefile
XFiDrv_Linux_US-1.04/src/ctalsa/dummy.c
XFiDrv_Linux_US-1.04/src/ctalsa/pcm.c
XFiDrv_Linux_US-1.04/src/ctalsa/amixer.c
XFiDrv_Linux_US-1.04/src/ctalsa/ctalsa_main.c
XFiDrv_Linux_US-1.04/src/ctalsa/amidi.c
XFiDrv_Linux_US-1.04/src/plugins/
XFiDrv_Linux_US-1.04/src/plugins/Makefile
XFiDrv_Linux_US-1.04/src/plugins/pluginutils.c
XFiDrv_Linux_US-1.04/src/plugins/cthwiut/
XFiDrv_Linux_US-1.04/src/plugins/cthwiut/Makefile
XFiDrv_Linux_US-1.04/src/plugins/ct20xut/
XFiDrv_Linux_US-1.04/src/plugins/ct20xut/Makefile
XFiDrv_Linux_US-1.04/src/plugins/ctexfifx/
XFiDrv_Linux_US-1.04/src/plugins/ctexfifx/Makefile
XFiDrv_Linux_US-1.04/src/emupia/
XFiDrv_Linux_US-1.04/src/emupia/emupia_main.c
XFiDrv_Linux_US-1.04/src/emupia/Makefile
XFiDrv_Linux_US-1.04/src/emupia/emupia_guids.c
XFiDrv_Linux_US-1.04/Makefile.conf.in
XFiDrv_Linux_US-1.04/ChangeLog
XFiDrv_Linux_US-1.04/include/
XFiDrv_Linux_US-1.04/include/PIAMain.h
XFiDrv_Linux_US-1.04/include/IPluginManager.h
XFiDrv_Linux_US-1.04/include/IasSystem.h
XFiDrv_Linux_US-1.04/include/ctcomdef.h
XFiDrv_Linux_US-1.04/include/ctcomerr.h
XFiDrv_Linux_US-1.04/include/IasDevReg.h
XFiDrv_Linux_US-1.04/include/ctossrv.h
XFiDrv_Linux_US-1.04/include/PIAServ.h
XFiDrv_Linux_US-1.04/include/plugindll.h
XFiDrv_Linux_US-1.04/include/ctdef.h
XFiDrv_Linux_US-1.04/include/IhwReg.h
XFiDrv_Linux_US-1.04/include/PluginLinux.h
XFiDrv_Linux_US-1.04/include/x86math.h
XFiDrv_Linux_US-1.04/include/sfmain.h
XFiDrv_Linux_US-1.04/include/IasCtString.h
XFiDrv_Linux_US-1.04/include/ctdrv.h
XFiDrv_Linux_US-1.04/include/wintypes.h
XFiDrv_Linux_US-1.04/include/ctioctl.h
XFiDrv_Linux_US-1.04/include/haxfi.h
XFiDrv_Linux_US-1.04/include/drvutils.h
XFiDrv_Linux_US-1.04/include/IasOSSrv.h
XFiDrv_Linux_US-1.04/include/ctalsa.h
XFiDrv_Linux_US-1.04/include/hwinfo.h
XFiDrv_Linux_US-1.04/include/osutils.h
XFiDrv_Linux_US-1.04/include/IasKernelModule.h
XFiDrv_Linux_US-1.04/include/FeatureScale.h
XFiDrv_Linux_US-1.04/Makefile
XFiDrv_Linux_US-1.04/creative.tar.gz
XFiDrv_Linux_US-1.04/globalrules.mk
XFiDrv_Linux_US-1.04/AUTHORS
XFiDrv_Linux_US-1.04/file_structure
XFiDrv_Linux_US-1.04/ctsound
XFiDrv_Linux_US-1.04/libs/
XFiDrv_Linux_US-1.04/libs/x86_64/
XFiDrv_Linux_US-1.04/libs/x86_64/libctdproxy.so
XFiDrv_Linux_US-1.04/libs/x86_64/libosuser.so
XFiDrv_Linux_US-1.04/libs/x86_64/libpiaproxy.so
XFiDrv_Linux_US-1.04/NEWS
XFiDrv_Linux_US-1.04/install-sh
XFiDrv_Linux_US-1.04/configure
tar: XFiDrv_Linux_US-1.04: time stamp 2009-09-20 02:31:00 is 60778057.022695 s in the future
--15:43:23-- http://olausson.de/x-fi/XFiDrv_Linux_US-1.04_all-in-one_v0.2.patch
=> `XFiDrv_Linux_US-1.04_all-in-one_v0.2.patch.1'
Resolving olausson.de... 85.214.64.12
Connecting to olausson.de|85.214.64.12|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 45,873 (45K) [text/plain]
100%[====================================>] 45,873 15.14K/s
15:43:26 (15.13 KB/s) - `XFiDrv_Linux_US-1.04_all-in-one_v0.2.patch.1' saved [45873/45873]
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nrup XFiDrv_Linux_US-1.04/include/ctalsa.h XFiDrv_Linux_US-1.04-patched/include/ctalsa.h
|--- XFiDrv_Linux_US-1.04/include/ctalsa.h 2007-09-18 11:18:58.000000000 +0200
|+++ XFiDrv_Linux_US-1.04-patched/include/ctalsa.h 2007-09-26 16:09:00.000000000 +0200
--------------------------
File to patch:
Skip this patch? [y] n
File to patch: ./
It is trying to patch ctalsa.h and it cant find it... I dont know how you would fish your script, but just something you should be aware of...
Edit (again)
I finally gave up on the sound drivers... lol
I decided to replace the X-Fi with a Dell Soundblaster Live that I had laying around... ^_^ Still a good sound card, not the same, but better than what I have been hearing about the X-Fi's sound quality in Linux from the Beta driver... ^_^
NullHead
October 17th, 2007, 06:22 PM
How about this for streamlining? (see attached file)
Wow kuja thanks for that very simple script! I like simple it's easier ... I will try it out on a fresh install of 7.04 soon and let you know how it goes.
tpdean
October 18th, 2007, 06:12 PM
Does anyone know how to get this driver working under the final version of Gutsy? I recompiled my kernel with SLAB support and was able to get the driver to compile, however it's not working very well. Whenever I play a sound, the soundcard is basically repeating itself over and over to infinity.
NullHead
October 18th, 2007, 08:06 PM
Does anyone know how to get this driver working under the final version of Gutsy? I recompiled my kernel with SLAB support and was able to get the driver to compile, however it's not working very well. Whenever I play a sound, the soundcard is basically repeating itself over and over to infinity.
Well you've been more successful than myself. You shouldn't have a problem using xmms. I've found totem and the startup sound that gdm makes when you login make it repeat like you said. Give xmms a try and let me know how it goes. you should be able to change you sound output driver in the xmms options ... you want it to be on alsa.
amtam
October 19th, 2007, 03:30 AM
Both XMMS and Audacious work just fine in Gutsy. They use a different output-plugin then Totem, which uses the gstreamer-plugin. The X-Fi driver just doesn't work very well with that driver. There's not much you can do about that, until Creative releases a better driver. You know, until hell freezes over...
For now, I can live with the very limited capabilities of my X-Fi in Gutsy, but if they don't release something better soon, I'm going to sell my X-Fi and move on. The amount of patience a man has is limited....
Hexaphim
October 19th, 2007, 05:08 AM
So I figured I'd try my hand at Linux for the first time with Ubuntu 7.10, and now I find out I won't get audio. This pretty much means that's it back to Vista for me, unless there are any other Linux distributions that support the X-Fi?
Hobo2021
October 19th, 2007, 05:27 AM
I don't think its a matter of linux supporting the X-Fi, rather Creative supporting its customers using linux.
I'm still waiting till I hear that someone fixed these sh1t drivers...but until then I'm using onboard sound, which is just awful (not that the X-Fi's sound quality is the best), but the ubuntu experience is worth it to me for a little inconvenience.
Hexaphim
October 19th, 2007, 05:40 AM
I managed to get the onboard soundcard working, which should keep me going until Creative get their asses in gear. :)
Warboy
October 19th, 2007, 06:26 AM
USE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -I../../include -isystem /lib/modules/2.6.22-14-generic/build/include -I/lib/modules/2.6.22-14-generic/build/include/asm/mach-default -I/lib/modules/2.6.22-14-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -D__CT_BOUND_64BIT -c LinuxSys.c
In file included from LinuxSys.c:31:
/lib/modules/2.6.22-14-generic/build/include/linux/pci.h: In function ‘pci_register_driver’:
/lib/modules/2.6.22-14-generic/build/include/linux/pci.h:604: error: ‘KBUILD_MODNAME’ undeclared (first use in this function)
/lib/modules/2.6.22-14-generic/build/include/linux/pci.h:604: error: (Each undeclared identifier is reported only once
/lib/modules/2.6.22-14-generic/build/include/linux/pci.h:604: error: for each function it appears in.)
LinuxSys.c: In function ‘sysRegisterInterrupt’:
LinuxSys.c:637: warning: cast from pointer to integer of different size
LinuxSys.c:642: warning: ‘deprecated_irq_flag’ is deprecated (declared at /lib/modules/2.6.22-14-generic/build/include/linux/interrupt.h:66)
LinuxSys.c:642: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
LinuxSys.c: In function ‘sysGetPagePhysAddr’:
LinuxSys.c:947: warning: passing argument 1 of ‘kvirt_to_phys’ makes integer from pointer without a cast
LinuxSys.c: In function ‘sysGetPageBusAddr’:
LinuxSys.c:974: warning: passing argument 1 of ‘kvirt_to_bus’ makes integer from pointer without a cast
LinuxSys.c: In function ‘sysWriteFile’:
LinuxSys.c:1626: warning: pointer targets in passing argument 2 of ‘filp->f_op->write’ differ in signedness
LinuxSys.c: In function ‘sysReadFile’:
LinuxSys.c:1675: warning: pointer targets in passing argument 2 of ‘filp->f_op->read’ differ in signedness
LinuxSys.c: In function ‘sys_acos’:
LinuxSys.c:1716: error: SSE register return with SSE disabled
make[1]: *** [LinuxSys.o] Error 1
make[1]: Leaving directory `/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/ossrv'
make: *** [ctossrv] Error 2
I get this and I did everything right, but This is on 7.10
tpdean
October 19th, 2007, 07:52 AM
You're right. xmms works, it's just everything else that's messed up. Man this driver is BUGGY!
You know, it's funny... I bought the X-fi to get a better sound experience in World of Warcraft. Well, 2 months later Blizzard goes and installs a purely software driven sound engine. No more 3D effects for me.
If I'd known just how buggy the Vista drivers were for this card, and then the utter lack of linux support, I wouldn't have bought it. I'm thinking maybe I should just hawk this card on ebay and go back to onboard audio. At least that worked..
Well you've been more successful than myself. You shouldn't have a problem using xmms. I've found totem and the startup sound that gdm makes when you login make it repeat like you said. Give xmms a try and let me know how it goes. you should be able to change you sound output driver in the xmms options ... you want it to be on alsa.
NullHead
October 19th, 2007, 10:43 AM
USE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -I../../include -isystem /lib/modules/2.6.22-14-generic/build/include -I/lib/modules/2.6.22-14-generic/build/include/asm/mach-default -I/lib/modules/2.6.22-14-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -D__CT_BOUND_64BIT -c LinuxSys.c
In file included from LinuxSys.c:31:
/lib/modules/2.6.22-14-generic/build/include/linux/pci.h: In function ‘pci_register_driver’:
/lib/modules/2.6.22-14-generic/build/include/linux/pci.h:604: error: ‘KBUILD_MODNAME’ undeclared (first use in this function)
/lib/modules/2.6.22-14-generic/build/include/linux/pci.h:604: error: (Each undeclared identifier is reported only once
/lib/modules/2.6.22-14-generic/build/include/linux/pci.h:604: error: for each function it appears in.)
LinuxSys.c: In function ‘sysRegisterInterrupt’:
LinuxSys.c:637: warning: cast from pointer to integer of different size
LinuxSys.c:642: warning: ‘deprecated_irq_flag’ is deprecated (declared at /lib/modules/2.6.22-14-generic/build/include/linux/interrupt.h:66)
LinuxSys.c:642: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
LinuxSys.c: In function ‘sysGetPagePhysAddr’:
LinuxSys.c:947: warning: passing argument 1 of ‘kvirt_to_phys’ makes integer from pointer without a cast
LinuxSys.c: In function ‘sysGetPageBusAddr’:
LinuxSys.c:974: warning: passing argument 1 of ‘kvirt_to_bus’ makes integer from pointer without a cast
LinuxSys.c: In function ‘sysWriteFile’:
LinuxSys.c:1626: warning: pointer targets in passing argument 2 of ‘filp->f_op->write’ differ in signedness
LinuxSys.c: In function ‘sysReadFile’:
LinuxSys.c:1675: warning: pointer targets in passing argument 2 of ‘filp->f_op->read’ differ in signedness
LinuxSys.c: In function ‘sys_acos’:
LinuxSys.c:1716: error: SSE register return with SSE disabled
make[1]: *** [LinuxSys.o] Error 1
make[1]: Leaving directory `/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/ossrv'
make: *** [ctossrv] Error 2
I get this and I did everything right, but This is on 7.10
I'm currently working on whats going wrong when that error occurs. I'll get let everyone know if I happen to figure it all out.
You're right. xmms works, it's just everything else that's messed up. Man this driver is BUGGY!
You know, it's funny... I bought the X-fi to get a better sound experience in World of Warcraft. Well, 2 months later Blizzard goes and installs a purely software driven sound engine. No more 3D effects for me.
If I'd known just how buggy the Vista drivers were for this card, and then the utter lack of linux support, I wouldn't have bought it. I'm thinking maybe I should just hawk this card on ebay and go back to onboard audio. At least that worked..
Yes it is a buggy driver but everyone was ranting on the creative forums for limited workability and thats what they got! Remember this is still in a beta status and is really buggy as you said so don't bash the x-fi ... it's all in the driver ... the vista drivers imo aren't very bugles as far as I've tested.
tpdean
October 19th, 2007, 12:32 PM
I'm of the opinion that Creative should be well beyond this point though. The X-Fi was originally released in August of '05 (http://www.creative.com/press/releases/welcome.asp?pid=12163). Here we are, over two years later, and only now are seeing an alpha quality linux driver. It's crazy.
Yes it is a buggy driver but everyone was ranting on the creative forums for limited workability and thats what they got! Remember this is still in a beta status and is really buggy as you said so don't bash the x-fi ... it's all in the driver ... the vista drivers imo are very bugles as far as I've tested.
Garyu
October 19th, 2007, 06:43 PM
http://connect.creativelabs.com/linux/Lists/Driver%20Issues/AllItems.aspx
You know, Creative is looking for your feedback on this driver. So why don't you go there and tell them how it works and what doesn't. The more people that give them feedback, the quicker they will respond. I'm already there trying to write my limited experiences and everyone who has a X-Fi should be!
EDIT: you don't even have to sign in there or create an account or anything. Just click "New" in the blue bar at the top and write about what you know.
Danger7789
October 19th, 2007, 11:53 PM
Firstly, nice how-to, glad i could find one on this X-Fi driver. gez it's a pain.
So here's what's happening to me. i follow the steps you've given, everything completes, but no sound. also after running the make install there was a nice little pop from my speakers ... but it turns out it was just a teaser as i get not sound when playing an mp3 (had to install codecs too ... but still nothing).
so i then took a closer look at the massive amount of output from the make commands and noticed that make echoed alot to Warnings ... i did a make clean, then ran "make >& make-text' as there was more output then my terminal windows 'history' (over 400 lines)
here's some system info from uname -a :
Linux danger-Ubuntu 2.6.20-16-generic #2 SMP Sun Sep 23 18:31:23 UTC 2007 x86_64 GNU/Linux
and here's the make-text file:
cd /home/patrik/XFiDrv_Linux_US-1.04/src/utils/alsaver; make clean
make[1]: Entering directory `/home/patrik/XFiDrv_Linux_US-1.04/src/utils/alsaver'
rm -f alsaver
make[1]: Leaving directory `/home/patrik/XFiDrv_Linux_US-1.04/src/utils/alsaver'
rm -f alsaver
cd /home/patrik/XFiDrv_Linux_US-1.04/src/ossrv; make clean
make[1]: Entering directory `/home/patrik/XFiDrv_Linux_US-1.04/src/ossrv'
/home/patrik/XFiDrv_Linux_US-1.04/src/ossrv/../../globalrules.mk:60: .depend: No such file or directory
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/lib/modules/2.6.20-16-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -M ctossrv_main.c LinuxReg.c LinuxSys.c osutils.c > .depend
make[1]: Leaving directory `/home/patrik/XFiDrv_Linux_US-1.04/src/ossrv'
make[1]: Entering directory `/home/patrik/XFiDrv_Linux_US-1.04/src/ossrv'
rm -rf ctossrv_main.o LinuxReg.o LinuxSys.o osutils.o *.o *.ko *.o_shipped *.mod.c *~ .*cmd .tmp_versions .depend
make[1]: Leaving directory `/home/patrik/XFiDrv_Linux_US-1.04/src/ossrv'
rm -f ctossrv.ko
cd /home/patrik/XFiDrv_Linux_US-1.04/src/emupia; make clean
make[1]: Entering directory `/home/patrik/XFiDrv_Linux_US-1.04/src/emupia'
/home/patrik/XFiDrv_Linux_US-1.04/src/emupia/../../globalrules.mk:60: .depend: No such file or directory
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/lib/modules/2.6.20-16-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -M emupia_guids.c emupia_main.c > .depend
make[1]: Leaving directory `/home/patrik/XFiDrv_Linux_US-1.04/src/emupia'
make[1]: Entering directory `/home/patrik/XFiDrv_Linux_US-1.04/src/emupia'
rm -rf emupia_guids.o emupia_main.o *.o *.ko *.o_shipped *.mod.c *~ .*cmd .tmp_versions .depend
make[1]: Leaving directory `/home/patrik/XFiDrv_Linux_US-1.04/src/emupia'
rm -f emupia.ko
cd /home/patrik/XFiDrv_Linux_US-1.04/src/sfman; make clean
make[1]: Entering directory `/home/patrik/XFiDrv_Linux_US-1.04/src/sfman'
/home/patrik/XFiDrv_Linux_US-1.04/src/sfman/../../globalrules.mk:60: .depend: No such file or directory
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/lib/modules/2.6.20-16-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -M ctsfman_main.c > .depend
make[1]: Leaving directory `/home/patrik/XFiDrv_Linux_US-1.04/src/sfman'
make[1]: Entering directory `/home/patrik/XFiDrv_Linux_US-1.04/src/sfman'
rm -rf ctsfman_main.o *.o *.ko *.o_shipped *.mod.c *~ .*cmd .tmp_versions .depend
make[1]: Leaving directory `/home/patrik/XFiDrv_Linux_US-1.04/src/sfman'
rm -f ctsfman.ko
cd /home/patrik/XFiDrv_Linux_US-1.04/src/haxfi; make clean
make[1]: Entering directory `/home/patrik/XFiDrv_Linux_US-1.04/src/haxfi'
/home/patrik/XFiDrv_Linux_US-1.04/src/haxfi/../../globalrules.mk:60: .depend: No such file or directory
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/lib/modules/2.6.20-16-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -M haxfi_main.c > .depend
make[1]: Leaving directory `/home/patrik/XFiDrv_Linux_US-1.04/src/haxfi'
make[1]: Entering directory `/home/patrik/XFiDrv_Linux_US-1.04/src/haxfi'
rm -rf haxfi_main.o *.o *.ko *.o_shipped *.mod.c *~ .*cmd .tmp_versions .depend
make[1]: Leaving directory `/home/patrik/XFiDrv_Linux_US-1.04/src/haxfi'
rm -f haxfi.ko
cd /home/patrik/XFiDrv_Linux_US-1.04/src/ctalsa; make clean
make[1]: Entering directory `/home/patrik/XFiDrv_Linux_US-1.04/src/ctalsa'
/home/patrik/XFiDrv_Linux_US-1.04/src/ctalsa/../../globalrules.mk:60: .depend: No such file or directory
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/lib/modules/2.6.20-16-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -DALSA_VERSION_CODE=0 -M amidi.c amixer.c asynth.c ctalsa_main.c dummy.c pcm.c > .depend
make[1]: Leaving directory `/home/patrik/XFiDrv_Linux_US-1.04/src/ctalsa'
make[1]: Entering directory `/home/patrik/XFiDrv_Linux_US-1.04/src/ctalsa'
rm -rf amidi.o amixer.o asynth.o ctalsa_main.o dummy.o pcm.o *.o *.ko *.o_shipped *.mod.c *~ .*cmd .tmp_versions .depend
make[1]: Leaving directory `/home/patrik/XFiDrv_Linux_US-1.04/src/ctalsa'
rm -f ctalsa.ko
cd /home/patrik/XFiDrv_Linux_US-1.04/src/plugins/ct20xut; make clean
make[1]: Entering directory `/home/patrik/XFiDrv_Linux_US-1.04/src/plugins/ct20xut'
rm -rf *.o *.ko *~ *.o_shipped .depend .*cmd *.mod.c .tmp_versions
cd ../../../src/plugins; make clean
make[2]: Entering directory `/home/patrik/XFiDrv_Linux_US-1.04/src/plugins'
../../globalrules.mk:60: .depend: No such file or directory
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/lib/modules/2.6.20-16-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -M pluginutils.c > .depend
make[2]: Leaving directory `/home/patrik/XFiDrv_Linux_US-1.04/src/plugins'
make[2]: Entering directory `/home/patrik/XFiDrv_Linux_US-1.04/src/plugins'
rm -rf pluginutils.o *.o *.ko *.o_shipped *.mod.c *~ .*cmd .tmp_versions .depend
make[2]: Leaving directory `/home/patrik/XFiDrv_Linux_US-1.04/src/plugins'
make[1]: Leaving directory `/home/patrik/XFiDrv_Linux_US-1.04/src/plugins/ct20xut'
rm -f ct20xut.ko
cd /home/patrik/XFiDrv_Linux_US-1.04/src/plugins/ctexfifx; make clean
make[1]: Entering directory `/home/patrik/XFiDrv_Linux_US-1.04/src/plugins/ctexfifx'
rm -rf *.o *.ko *.o_shipped *~ *.mod.c .*cmd .tmp_versions .depend
cd ../../../src/plugins; make clean
make[2]: Entering directory `/home/patrik/XFiDrv_Linux_US-1.04/src/plugins'
../../globalrules.mk:60: .depend: No such file or directory
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/lib/modules/2.6.20-16-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -M pluginutils.c > .depend
make[2]: Leaving directory `/home/patrik/XFiDrv_Linux_US-1.04/src/plugins'
make[2]: Entering directory `/home/patrik/XFiDrv_Linux_US-1.04/src/plugins'
rm -rf pluginutils.o *.o *.ko *.o_shipped *.mod.c *~ .*cmd .tmp_versions .depend
make[2]: Leaving directory `/home/patrik/XFiDrv_Linux_US-1.04/src/plugins'
make[1]: Leaving directory `/home/patrik/XFiDrv_Linux_US-1.04/src/plugins/ctexfifx'
rm -f ctexfifx.ko
cd /home/patrik/XFiDrv_Linux_US-1.04/src/plugins/cthwiut; make clean
make[1]: Entering directory `/home/patrik/XFiDrv_Linux_US-1.04/src/plugins/cthwiut'
rm -rf *.o *.ko *~ *.o_shipped .depend .*cmd *.mod.c .tmp_versions
cd ../../../src/plugins; make clean
make[2]: Entering directory `/home/patrik/XFiDrv_Linux_US-1.04/src/plugins'
../../globalrules.mk:60: .depend: No such file or directory
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/lib/modules/2.6.20-16-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -M pluginutils.c > .depend
make[2]: Leaving directory `/home/patrik/XFiDrv_Linux_US-1.04/src/plugins'
make[2]: Entering directory `/home/patrik/XFiDrv_Linux_US-1.04/src/plugins'
rm -rf pluginutils.o *.o *.ko *.o_shipped *.mod.c *~ .*cmd .tmp_versions .depend
make[2]: Leaving directory `/home/patrik/XFiDrv_Linux_US-1.04/src/plugins'
make[1]: Leaving directory `/home/patrik/XFiDrv_Linux_US-1.04/src/plugins/cthwiut'
rm -f cthwiut.ko
cd /home/patrik/XFiDrv_Linux_US-1.04/src/utils/alsaver; make
make[1]: Entering directory `/home/patrik/XFiDrv_Linux_US-1.04/src/utils/alsaver'
gcc -Wall -O alsaver.c -o alsaver
make[1]: Leaving directory `/home/patrik/XFiDrv_Linux_US-1.04/src/utils/alsaver'
cp -f /home/patrik/XFiDrv_Linux_US-1.04/src/utils/alsaver/alsaver .
cd /home/patrik/XFiDrv_Linux_US-1.04/src/ossrv; make
make[1]: Entering directory `/home/patrik/XFiDrv_Linux_US-1.04/src/ossrv'
/home/patrik/XFiDrv_Linux_US-1.04/src/ossrv/../../globalrules.mk:60: .depend: No such file or directory
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/lib/modules/2.6.20-16-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -M ctossrv_main.c LinuxReg.c LinuxSys.c osutils.c > .depend
make[1]: Leaving directory `/home/patrik/XFiDrv_Linux_US-1.04/src/ossrv'
make[1]: Entering directory `/home/patrik/XFiDrv_Linux_US-1.04/src/ossrv'
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/lib/modules/2.6.20-16-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -c ctossrv_main.c
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/lib/modules/2.6.20-16-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -c LinuxReg.c
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/lib/modules/2.6.20-16-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -c LinuxSys.c
LinuxSys.c: In function ‘sysRegisterInterrupt’:
LinuxSys.c:637: warning: cast from pointer to integer of different size
LinuxSys.c:642: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
LinuxSys.c: In function ‘sysGetPagePhysAddr’:
LinuxSys.c:947: warning: passing argument 1 of ‘kvirt_to_phys’ makes integer from pointer without a cast
LinuxSys.c: In function ‘sysGetPageBusAddr’:
LinuxSys.c:974: warning: passing argument 1 of ‘kvirt_to_bus’ makes integer from pointer without a cast
LinuxSys.c: In function ‘sysWriteFile’:
LinuxSys.c:1626: warning: pointer targets in passing argument 2 of ‘filp->f_op->write’ differ in signedness
LinuxSys.c: In function ‘sysReadFile’:
LinuxSys.c:1675: warning: pointer targets in passing argument 2 of ‘filp->f_op->read’ differ in signedness
LinuxSys.c: At top level:
LinuxSys.c:1463: warning: ‘errno’ defined but not used
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/lib/modules/2.6.20-16-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -c osutils.c
osutils.c: In function ‘myDelay’:
osutils.c:814: warning: implicit declaration of function ‘__bad_delay’
osutils.c: At top level:
osutils.c:50: warning: ‘errno’ defined but not used
ld -m elf_x86_64 -e stext -r ctossrv_main.o LinuxReg.o LinuxSys.o osutils.o -o lin-ctossrv.o
ld -m elf_x86_64 -e stext -Ur ../../arch/x86_64/begin.o \
../../src/ossrv/lin-ctossrv.o \
../../arch/x86_64/ctossrv.a \
../../arch/x86_64/utils.a \
../../arch/x86_64/end.o -o ctossrv.o_shipped
make -C /lib/modules/2.6.20-16-generic/build SUBDIRS=/home/patrik/XFiDrv_Linux_US-1.04/src/ossrv modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.20-16-generic'
LD [M] /home/patrik/XFiDrv_Linux_US-1.04/src/ossrv/ctossrv.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: could not find /home/patrik/XFiDrv_Linux_US-1.04/src/ossrv/.ctossrv.o_shipped.cmd for /home/patrik/XFiDrv_Linux_US-1.04/src/ossrv/ctossrv.o_shipped
CC /home/patrik/XFiDrv_Linux_US-1.04/src/ossrv/ctossrv.mod.o
LD [M] /home/patrik/XFiDrv_Linux_US-1.04/src/ossrv/ctossrv.ko
make[2]: Leaving directory `/usr/src/linux-headers-2.6.20-16-generic'
make[1]: Leaving directory `/home/patrik/XFiDrv_Linux_US-1.04/src/ossrv'
cp -f /home/patrik/XFiDrv_Linux_US-1.04/src/ossrv/ctossrv.ko .
cd /home/patrik/XFiDrv_Linux_US-1.04/src/emupia; make
make[1]: Entering directory `/home/patrik/XFiDrv_Linux_US-1.04/src/emupia'
/home/patrik/XFiDrv_Linux_US-1.04/src/emupia/../../globalrules.mk:60: .depend: No such file or directory
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/lib/modules/2.6.20-16-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -M emupia_guids.c emupia_main.c > .depend
make[1]: Leaving directory `/home/patrik/XFiDrv_Linux_US-1.04/src/emupia'
make[1]: Entering directory `/home/patrik/XFiDrv_Linux_US-1.04/src/emupia'
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/lib/modules/2.6.20-16-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -c emupia_guids.c
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/lib/modules/2.6.20-16-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -c emupia_main.c
emupia_main.c:90: warning: ‘g_pIasOSSrv’ defined but not used
ld -m elf_x86_64 -e stext -r emupia_guids.o emupia_main.o -o lin-emupia.o
ld -m elf_x86_64 -e stext -Ur ../../arch/x86_64/begin.o \
../../src/emupia/lin-emupia.o \
../../arch/x86_64/emupia.a \
../../arch/x86_64/utils.a \
../../arch/x86_64/end.o -o emupia.o_shipped
make -C /lib/modules/2.6.20-16-generic/build SUBDIRS=/home/patrik/XFiDrv_Linux_US-1.04/src/emupia modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.20-16-generic'
LD [M] /home/patrik/XFiDrv_Linux_US-1.04/src/emupia/emupia.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: could not find /home/patrik/XFiDrv_Linux_US-1.04/src/emupia/.emupia.o_shipped.cmd for /home/patrik/XFiDrv_Linux_US-1.04/src/emupia/emupia.o_shipped
WARNING: "stack_free" [/home/patrik/XFiDrv_Linux_US-1.04/src/emupia/emupia.ko] undefined!
WARNING: "InterlockedDecrement" [/home/patrik/XFiDrv_Linux_US-1.04/src/emupia/emupia.ko] undefined!
WARNING: "heap_free" [/home/patrik/XFiDrv_Linux_US-1.04/src/emupia/emupia.ko] undefined!
WARNING: "ioctl_dispatch" [/home/patrik/XFiDrv_Linux_US-1.04/src/emupia/emupia.ko] undefined!
WARNING: "stack_alloc_page" [/home/patrik/XFiDrv_Linux_US-1.04/src/emupia/emupia.ko] undefined!
WARNING: "unload_all_plugins" [/home/patrik/XFiDrv_Linux_US-1.04/src/emupia/emupia.ko] undefined!
WARNING: "get_ossrv" [/home/patrik/XFiDrv_Linux_US-1.04/src/emupia/emupia.ko] undefined!
WARNING: "stack_alloc" [/home/patrik/XFiDrv_Linux_US-1.04/src/emupia/emupia.ko] undefined!
WARNING: "stack_free_page" [/home/patrik/XFiDrv_Linux_US-1.04/src/emupia/emupia.ko] undefined!
WARNING: "heap_alloc" [/home/patrik/XFiDrv_Linux_US-1.04/src/emupia/emupia.ko] undefined!
WARNING: "InterlockedIncrement" [/home/patrik/XFiDrv_Linux_US-1.04/src/emupia/emupia.ko] undefined!
CC /home/patrik/XFiDrv_Linux_US-1.04/src/emupia/emupia.mod.o
LD [M] /home/patrik/XFiDrv_Linux_US-1.04/src/emupia/emupia.ko
make[2]: Leaving directory `/usr/src/linux-headers-2.6.20-16-generic'
make[1]: Leaving directory `/home/patrik/XFiDrv_Linux_US-1.04/src/emupia'
cp -f /home/patrik/XFiDrv_Linux_US-1.04/src/emupia/emupia.ko .
cd /home/patrik/XFiDrv_Linux_US-1.04/src/sfman; make
make[1]: Entering directory `/home/patrik/XFiDrv_Linux_US-1.04/src/sfman'
/home/patrik/XFiDrv_Linux_US-1.04/src/sfman/../../globalrules.mk:60: .depend: No such file or directory
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/lib/modules/2.6.20-16-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -M ctsfman_main.c > .depend
make[1]: Leaving directory `/home/patrik/XFiDrv_Linux_US-1.04/src/sfman'
make[1]: Entering directory `/home/patrik/XFiDrv_Linux_US-1.04/src/sfman'
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/lib/modules/2.6.20-16-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -c ctsfman_main.c
ld -m elf_x86_64 -e stext -r ctsfman_main.o -o lin-ctsfman.o
ld -m elf_x86_64 -e stext -Ur ../../arch/x86_64/begin.o \
../../src/sfman/lin-ctsfman.o \
../../arch/x86_64/ctsfman.a \
../../arch/x86_64/utils.a \
../../arch/x86_64/end.o -o ctsfman.o_shipped
make -C /lib/modules/2.6.20-16-generic/build SUBDIRS=/home/patrik/XFiDrv_Linux_US-1.04/src/sfman modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.20-16-generic'
LD [M] /home/patrik/XFiDrv_Linux_US-1.04/src/sfman/ctsfman.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: could not find /home/patrik/XFiDrv_Linux_US-1.04/src/sfman/.ctsfman.o_shipped.cmd for /home/patrik/XFiDrv_Linux_US-1.04/src/sfman/ctsfman.o_shipped
WARNING: "heap_free" [/home/patrik/XFiDrv_Linux_US-1.04/src/sfman/ctsfman.ko] undefined!
WARNING: "ioctl_dispatch" [/home/patrik/XFiDrv_Linux_US-1.04/src/sfman/ctsfman.ko] undefined!
WARNING: "get_ossrv" [/home/patrik/XFiDrv_Linux_US-1.04/src/sfman/ctsfman.ko] undefined!
WARNING: "heap_alloc" [/home/patrik/XFiDrv_Linux_US-1.04/src/sfman/ctsfman.ko] undefined!
CC /home/patrik/XFiDrv_Linux_US-1.04/src/sfman/ctsfman.mod.o
LD [M] /home/patrik/XFiDrv_Linux_US-1.04/src/sfman/ctsfman.ko
make[2]: Leaving directory `/usr/src/linux-headers-2.6.20-16-generic'
make[1]: Leaving directory `/home/patrik/XFiDrv_Linux_US-1.04/src/sfman'
cp -f /home/patrik/XFiDrv_Linux_US-1.04/src/sfman/ctsfman.ko .
cd /home/patrik/XFiDrv_Linux_US-1.04/src/haxfi; make
make[1]: Entering directory `/home/patrik/XFiDrv_Linux_US-1.04/src/haxfi'
/home/patrik/XFiDrv_Linux_US-1.04/src/haxfi/../../globalrules.mk:60: .depend: No such file or directory
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/lib/modules/2.6.20-16-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -M haxfi_main.c > .depend
make[1]: Leaving directory `/home/patrik/XFiDrv_Linux_US-1.04/src/haxfi'
make[1]: Entering directory `/home/patrik/XFiDrv_Linux_US-1.04/src/haxfi'
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/lib/modules/2.6.20-16-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -c haxfi_main.c
haxfi_main.c: In function ‘haxfi_init’:
haxfi_main.c:156: warning: implicit declaration of function ‘haCore_InitDriver’
haxfi_main.c:159: warning: implicit declaration of function ‘haCore_ExitDriver’
ld -m elf_x86_64 -e stext -r haxfi_main.o -o lin-haxfi.o
ld -m elf_x86_64 -e stext -Ur ../../arch/x86_64/begin.o \
../../src/haxfi/lin-haxfi.o \
../../arch/x86_64/haxfi.a \
../../arch/x86_64/utils.a \
../../arch/x86_64/end.o -o haxfi.o_shipped
make -C /lib/modules/2.6.20-16-generic/build SUBDIRS=/home/patrik/XFiDrv_Linux_US-1.04/src/haxfi modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.20-16-generic'
LD [M] /home/patrik/XFiDrv_Linux_US-1.04/src/haxfi/haxfi.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: could not find /home/patrik/XFiDrv_Linux_US-1.04/src/haxfi/.haxfi.o_shipped.cmd for /home/patrik/XFiDrv_Linux_US-1.04/src/haxfi/haxfi.o_shipped
WARNING: "heap_free" [/home/patrik/XFiDrv_Linux_US-1.04/src/haxfi/haxfi.ko] undefined!
WARNING: "InterlockedIncrement" [/home/patrik/XFiDrv_Linux_US-1.04/src/haxfi/haxfi.ko] undefined!
WARNING: "heap_alloc" [/home/patrik/XFiDrv_Linux_US-1.04/src/haxfi/haxfi.ko] undefined!
WARNING: "get_ossrv" [/home/patrik/XFiDrv_Linux_US-1.04/src/haxfi/haxfi.ko] undefined!
WARNING: "InterlockedDecrement" [/home/patrik/XFiDrv_Linux_US-1.04/src/haxfi/haxfi.ko] undefined!
CC /home/patrik/XFiDrv_Linux_US-1.04/src/haxfi/haxfi.mod.o
LD [M] /home/patrik/XFiDrv_Linux_US-1.04/src/haxfi/haxfi.ko
make[2]: Leaving directory `/usr/src/linux-headers-2.6.20-16-generic'
make[1]: Leaving directory `/home/patrik/XFiDrv_Linux_US-1.04/src/haxfi'
cp -f /home/patrik/XFiDrv_Linux_US-1.04/src/haxfi/haxfi.ko .
cd /home/patrik/XFiDrv_Linux_US-1.04/src/ctalsa; make
make[1]: Entering directory `/home/patrik/XFiDrv_Linux_US-1.04/src/ctalsa'
/home/patrik/XFiDrv_Linux_US-1.04/src/ctalsa/../../globalrules.mk:60: .depend: No such file or directory
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/lib/modules/2.6.20-16-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -DALSA_VERSION_CODE=65550 -M amidi.c amixer.c asynth.c ctalsa_main.c dummy.c pcm.c > .depend
make[1]: Leaving directory `/home/patrik/XFiDrv_Linux_US-1.04/src/ctalsa'
make[1]: Entering directory `/home/patrik/XFiDrv_Linux_US-1.04/src/ctalsa'
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/lib/modules/2.6.20-16-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -DALSA_VERSION_CODE=65550 -c amidi.c
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/lib/modules/2.6.20-16-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -DALSA_VERSION_CODE=65550 -c amixer.c
amixer.c: In function ‘snd_ctalsa_info_capture_volume’:
amixer.c:256: warning: unused variable ‘tMixer’
amixer.c: At top level:
amixer.c:344: warning: pointer targets in initialization differ in signedness
amixer.c:347: warning: pointer targets in initialization differ in signedness
amixer.c:353: warning: pointer targets in initialization differ in signedness
amixer.c:355: warning: pointer targets in initialization differ in signedness
amixer.c:361: warning: pointer targets in initialization differ in signedness
amixer.c:363: warning: pointer targets in initialization differ in signedness
amixer.c:369: warning: pointer targets in initialization differ in signedness
amixer.c:371: warning: pointer targets in initialization differ in signedness
amixer.c:377: warning: pointer targets in initialization differ in signedness
amixer.c:379: warning: pointer targets in initialization differ in signedness
amixer.c:385: warning: pointer targets in initialization differ in signedness
amixer.c:387: warning: pointer targets in initialization differ in signedness
amixer.c:393: warning: pointer targets in initialization differ in signedness
amixer.c:395: warning: pointer targets in initialization differ in signedness
amixer.c:401: warning: pointer targets in initialization differ in signedness
amixer.c:403: warning: pointer targets in initialization differ in signedness
amixer.c:407: warning: pointer targets in initialization differ in signedness
amixer.c:411: warning: pointer targets in initialization differ in signedness
amixer.c:413: warning: pointer targets in initialization differ in signedness
amixer.c:417: warning: pointer targets in initialization differ in signedness
amixer.c:421: warning: pointer targets in initialization differ in signedness
amixer.c:424: warning: pointer targets in initialization differ in signedness
amixer.c:428: warning: pointer targets in initialization differ in signedness
amixer.c:432: warning: pointer targets in initialization differ in signedness
amixer.c:434: warning: pointer targets in initialization differ in signedness
amixer.c:440: warning: pointer targets in initialization differ in signedness
amixer.c:442: warning: pointer targets in initialization differ in signedness
amixer.c:448: warning: pointer targets in initialization differ in signedness
amixer.c:450: warning: pointer targets in initialization differ in signedness
amixer.c:456: warning: pointer targets in initialization differ in signedness
amixer.c:458: warning: pointer targets in initialization differ in signedness
amixer.c:464: warning: pointer targets in initialization differ in signedness
amixer.c:466: warning: pointer targets in initialization differ in signedness
amixer.c:472: warning: pointer targets in initialization differ in signedness
amixer.c:474: warning: pointer targets in initialization differ in signedness
amixer.c:480: warning: pointer targets in initialization differ in signedness
amixer.c:482: warning: pointer targets in initialization differ in signedness
amixer.c:486: warning: pointer targets in initialization differ in signedness
amixer.c:491: warning: pointer targets in initialization differ in signedness
amixer.c:499: warning: pointer targets in initialization differ in signedness
amixer.c:506: warning: pointer targets in initialization differ in signedness
amixer.c:508: warning: pointer targets in initialization differ in signedness
amixer.c:512: warning: pointer targets in initialization differ in signedness
amixer.c:516: warning: pointer targets in initialization differ in signedness
amixer.c:518: warning: pointer targets in initialization differ in signedness
amixer.c:521: warning: pointer targets in initialization differ in signedness
amixer.c:525: warning: pointer targets in initialization differ in signedness
amixer.c:527: warning: pointer targets in initialization differ in signedness
amixer.c:533: warning: pointer targets in initialization differ in signedness
amixer.c:535: warning: pointer targets in initialization differ in signedness
amixer.c:538: warning: pointer targets in initialization differ in signedness
amixer.c:542: warning: pointer targets in initialization differ in signedness
amixer.c:544: warning: pointer targets in initialization differ in signedness
amixer.c:547: warning: pointer targets in initialization differ in signedness
amixer.c:554: warning: pointer targets in initialization differ in signedness
amixer.c:559: warning: pointer targets in initialization differ in signedness
amixer.c:567: warning: pointer targets in initialization differ in signedness
amixer.c:576: warning: pointer targets in initialization differ in signedness
amixer.c:583: warning: pointer targets in initialization differ in signedness
amixer.c:588: warning: pointer targets in initialization differ in signedness
amixer.c:594: warning: pointer targets in initialization differ in signedness
amixer.c:596: warning: pointer targets in initialization differ in signedness
amixer.c:599: warning: pointer targets in initialization differ in signedness
amixer.c: In function ‘get_rec_sel’:
amixer.c:638: warning: assignment from incompatible pointer type
amixer.c: At top level:
amixer.c:734: warning: pointer targets in initialization differ in signedness
amixer.c: In function ‘snd_ctalsa_put_record_mux’:
amixer.c:690: warning: ‘i’ may be used uninitialized in this function
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/lib/modules/2.6.20-16-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -DALSA_VERSION_CODE=65550 -c asynth.c
asynth.c:36:6: warning: backslash and newline separated by space
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/lib/modules/2.6.20-16-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -DALSA_VERSION_CODE=65550 -c ctalsa_main.c
ctalsa_main.c:51: warning: pointer targets in initialization differ in signedness
ctalsa_main.c:53: warning: pointer targets in initialization differ in signedness
ctalsa_main.c:55: warning: pointer targets in initialization differ in signedness
ctalsa_main.c: In function ‘ctalsa_HwObj_new’:
ctalsa_main.c:309: warning: passing argument 3 of ‘pci_read_config_byte’ from incompatible pointer type
ctalsa_main.c: In function ‘snd_ctalsa_probe’:
ctalsa_main.c:278: warning: ‘dwIOBase’ may be used uninitialized in this function
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/lib/modules/2.6.20-16-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -DALSA_VERSION_CODE=65550 -c dummy.c
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/lib/modules/2.6.20-16-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -DALSA_VERSION_CODE=65550 -c pcm.c
pcm.c:240: warning: ‘caculate_offset’ defined but not used
ld -m elf_x86_64 -e stext -r amidi.o amixer.o asynth.o ctalsa_main.o dummy.o pcm.o -o lin-ctalsa.o
ld -m elf_x86_64 -e stext -Ur ../../arch/x86_64/begin.o \
../../src/ctalsa/lin-ctalsa.o \
../../arch/x86_64/ctdriver.a \
../../arch/x86_64/utils.a \
../../arch/x86_64/end.o -o ctalsa.o_shipped
make -C /lib/modules/2.6.20-16-generic/build SUBDIRS=/home/patrik/XFiDrv_Linux_US-1.04/src/ctalsa modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.20-16-generic'
LD [M] /home/patrik/XFiDrv_Linux_US-1.04/src/ctalsa/ctalsa.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: could not find /home/patrik/XFiDrv_Linux_US-1.04/src/ctalsa/.ctalsa.o_shipped.cmd for /home/patrik/XFiDrv_Linux_US-1.04/src/ctalsa/ctalsa.o_shipped
WARNING: "heap_free" [/home/patrik/XFiDrv_Linux_US-1.04/src/ctalsa/ctalsa.ko] undefined!
WARNING: "ioctl_dispatch" [/home/patrik/XFiDrv_Linux_US-1.04/src/ctalsa/ctalsa.ko] undefined!
WARNING: "heap_alloc" [/home/patrik/XFiDrv_Linux_US-1.04/src/ctalsa/ctalsa.ko] undefined!
WARNING: "get_ossrv" [/home/patrik/XFiDrv_Linux_US-1.04/src/ctalsa/ctalsa.ko] undefined!
WARNING: "bytes_to_order" [/home/patrik/XFiDrv_Linux_US-1.04/src/ctalsa/ctalsa.ko] undefined!
CC /home/patrik/XFiDrv_Linux_US-1.04/src/ctalsa/ctalsa.mod.o
LD [M] /home/patrik/XFiDrv_Linux_US-1.04/src/ctalsa/ctalsa.ko
make[2]: Leaving directory `/usr/src/linux-headers-2.6.20-16-generic'
make[1]: Leaving directory `/home/patrik/XFiDrv_Linux_US-1.04/src/ctalsa'
cp -f /home/patrik/XFiDrv_Linux_US-1.04/src/ctalsa/ctalsa.ko .
cd /home/patrik/XFiDrv_Linux_US-1.04/src/plugins/ct20xut; make
make[1]: Entering directory `/home/patrik/XFiDrv_Linux_US-1.04/src/plugins/ct20xut'
cd ../../../src/plugins; make
make[2]: Entering directory `/home/patrik/XFiDrv_Linux_US-1.04/src/plugins'
../../globalrules.mk:60: .depend: No such file or directory
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/lib/modules/2.6.20-16-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -M pluginutils.c > .depend
make[2]: Leaving directory `/home/patrik/XFiDrv_Linux_US-1.04/src/plugins'
make[2]: Entering directory `/home/patrik/XFiDrv_Linux_US-1.04/src/plugins'
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.20-16-generic/build/include -I/lib/modules/2.6.20-16-generic/build/include/asm/mach-default -I/lib/modules/2.6.20-16-generic/build/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -D__CT_BOUND_64BIT -c pluginutils.c
ld -m elf_x86_64 -e stext -Ur pluginutils.o -o lin-plugin.o
make[2]: Leaving directory `/home/patrik/XFiDrv_Linux_US-1.04/src/plugins'
ld -m elf_x86_64 -e stext -Ur ../../../arch/x86_64/begin.o \
../../../src/plugins/lin-plugin.o \
../../../arch/x86_64/ct20xut_ar.o \
../../../arch/x86_64/utils.a \
../../../arch/x86_64/ct20xut.a \
../../../arch/x86_64/end.o -o ct20xut.o_shipped
make -C /lib/modules/2.6.20-16-generic/build SUBDIRS=/home/patrik/XFiDrv_Linux_US-1.04/src/plugins/ct20xut modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.20-16-generic'
LD [M] /home/patrik/XFiDrv_Linux_US-1.04/src/plugins/ct20xut/ct20xut.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: could not find /home/patrik/XFiDrv_Linux_US-1.04/src/plugins/ct20xut/.ct20xut.o_shipped.cmd for /home/patrik/XFiDrv_Linux_US-1.04/src/plugins/ct20xut/ct20xut.o_shipped
WARNING: "InterlockedDecrement" [/home/patrik/XFiDrv_Linux_US-1.04/src/plugins/ct20xut/ct20xut.ko] undefined!
WARNING: "register_plugin" [/home/patrik/XFiDrv_Linux_US-1.04/src/plugins/ct20xut/ct20xut.ko] undefined!
WARNING: "heap_free" [/home/patrik/XFiDrv_Linux_US-1.04/src/plugins/ct20xut/ct20xut.ko] undefined!
WARNING: "unregister_plugin" [/home/patrik/XFiDrv_Linux_US-1.04/src/plugins/ct20xut/ct20xut.ko] undefined!
WARNING: "heap_alloc" [/home/patrik/XFiDrv_Linux_US-1.04/src/plugins/ct20xut/ct20xut.ko] undefined!
WARNING: "InterlockedIncrement" [/home/patrik/XFiDrv_Linux_US-1.04/src/plugins/ct20xut/ct20xut.ko] undefined!
CC /home/patrik/XFiDrv_Linux_US-1.04/src/plugins/ct20xut/ct20xut.mod.o
LD [M] /home/patrik/XFiDrv_Linux_US-1.04/src/plugins/ct20xut/ct20xut.ko
make[2]: Leaving directory `/usr/src/linux-headers-2.6.20-16-generic'
make[1]: Leaving directory `/home/patrik/XFiDrv_Linux_US-1.04/src/plugins/ct20xut'
cp -f /home/patrik/XFiDrv_Linux_US-1.04/src/plugins/ct20xut/ct20xut.ko .
cd /home/patrik/XFiDrv_Linux_US-1.04/src/plugins/ctexfifx; make
make[1]: Entering directory `/home/patrik/XFiDrv_Linux_US-1.04/src/plugins/ctexfifx'
cd ../../../src/plugins; make
make[2]: Entering directory `/home/patrik/XFiDrv_Linux_US-1.04/src/plugins'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/patrik/XFiDrv_Linux_US-1.04/src/plugins'
ld -m elf_x86_64 -e stext -Ur ../../../arch/x86_64/begin.o \
../../../src/plugins/lin-plugin.o \
../../../arch/x86_64/ctexfifx_ar.o \
../../../arch/x86_64/utils.a \
../../../arch/x86_64/ctexfifx.a \
../../../arch/x86_64/end.o -o ctexfifx.o_shipped
make -C /lib/modules/2.6.20-16-generic/build SUBDIRS=/home/patrik/XFiDrv_Linux_US-1.04/src/plugins/ctexfifx modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.20-16-generic'
LD [M] /home/patrik/XFiDrv_Linux_US-1.04/src/plugins/ctexfifx/ctexfifx.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: could not find /home/patrik/XFiDrv_Linux_US-1.04/src/plugins/ctexfifx/.ctexfifx.o_shipped.cmd for /home/patrik/XFiDrv_Linux_US-1.04/src/plugins/ctexfifx/ctexfifx.o_shipped
WARNING: "heap_free" [/home/patrik/XFiDrv_Linux_US-1.04/src/plugins/ctexfifx/ctexfifx.ko] undefined!
WARNING: "InterlockedIncrement" [/home/patrik/XFiDrv_Linux_US-1.04/src/plugins/ctexfifx/ctexfifx.ko] undefined!
WARNING: "heap_alloc" [/home/patrik/XFiDrv_Linux_US-1.04/src/plugins/ctexfifx/ctexfifx.ko] undefined!
WARNING: "unregister_plugin" [/home/patrik/XFiDrv_Linux_US-1.04/src/plugins/ctexfifx/ctexfifx.ko] undefined!
WARNING: "register_plugin" [/home/patrik/XFiDrv_Linux_US-1.04/src/plugins/ctexfifx/ctexfifx.ko] undefined!
WARNING: "InterlockedDecrement" [/home/patrik/XFiDrv_Linux_US-1.04/src/plugins/ctexfifx/ctexfifx.ko] undefined!
CC /home/patrik/XFiDrv_Linux_US-1.04/src/plugins/ctexfifx/ctexfifx.mod.o
LD [M] /home/patrik/XFiDrv_Linux_US-1.04/src/plugins/ctexfifx/ctexfifx.ko
make[2]: Leaving directory `/usr/src/linux-headers-2.6.20-16-generic'
make[1]: Leaving directory `/home/patrik/XFiDrv_Linux_US-1.04/src/plugins/ctexfifx'
cp -f /home/patrik/XFiDrv_Linux_US-1.04/src/plugins/ctexfifx/ctexfifx.ko .
cd /home/patrik/XFiDrv_Linux_US-1.04/src/plugins/cthwiut; make
make[1]: Entering directory `/home/patrik/XFiDrv_Linux_US-1.04/src/plugins/cthwiut'
cd ../../../src/plugins; make
make[2]: Entering directory `/home/patrik/XFiDrv_Linux_US-1.04/src/plugins'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/patrik/XFiDrv_Linux_US-1.04/src/plugins'
ld -m elf_x86_64 -e stext -Ur ../../../arch/x86_64/begin.o \
../../../src/plugins/lin-plugin.o \
../../../arch/x86_64/cthwiut_ar.o \
../../../arch/x86_64/utils.a \
../../../arch/x86_64/cthwiut.a \
../../../arch/x86_64/end.o -o cthwiut.o_shipped
make -C /lib/modules/2.6.20-16-generic/build SUBDIRS=/home/patrik/XFiDrv_Linux_US-1.04/src/plugins/cthwiut modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.20-16-generic'
LD [M] /home/patrik/XFiDrv_Linux_US-1.04/src/plugins/cthwiut/cthwiut.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: could not find /home/patrik/XFiDrv_Linux_US-1.04/src/plugins/cthwiut/.cthwiut.o_shipped.cmd for /home/patrik/XFiDrv_Linux_US-1.04/src/plugins/cthwiut/cthwiut.o_shipped
WARNING: "InterlockedDecrement" [/home/patrik/XFiDrv_Linux_US-1.04/src/plugins/cthwiut/cthwiut.ko] undefined!
WARNING: "register_plugin" [/home/patrik/XFiDrv_Linux_US-1.04/src/plugins/cthwiut/cthwiut.ko] undefined!
WARNING: "heap_free" [/home/patrik/XFiDrv_Linux_US-1.04/src/plugins/cthwiut/cthwiut.ko] undefined!
WARNING: "unregister_plugin" [/home/patrik/XFiDrv_Linux_US-1.04/src/plugins/cthwiut/cthwiut.ko] undefined!
WARNING: "heap_alloc" [/home/patrik/XFiDrv_Linux_US-1.04/src/plugins/cthwiut/cthwiut.ko] undefined!
WARNING: "InterlockedIncrement" [/home/patrik/XFiDrv_Linux_US-1.04/src/plugins/cthwiut/cthwiut.ko] undefined!
CC /home/patrik/XFiDrv_Linux_US-1.04/src/plugins/cthwiut/cthwiut.mod.o
LD [M] /home/patrik/XFiDrv_Linux_US-1.04/src/plugins/cthwiut/cthwiut.ko
make[2]: Leaving directory `/usr/src/linux-headers-2.6.20-16-generic'
make[1]: Leaving directory `/home/patrik/XFiDrv_Linux_US-1.04/src/plugins/cthwiut'
cp -f /home/patrik/XFiDrv_Linux_US-1.04/src/plugins/cthwiut/cthwiut.ko .
again thanks on the How-To and thanks for trying to figure this out ...
Danger
Danger7789
October 20th, 2007, 12:13 AM
ok so now i feel kinda silly ... if i load up Volume Control and switch to Creative X-Fi (Alsa mixer) and unmute the microphone, it work perfectly. but i still get no sound from ubuntu, no start up sound and no sound when playing an mp3. also i had to re run" sudo /etc/init.d/ctsound start" after doing a restart to get the Device option in Volume Control. do i have to load the X-Fi driver like that ever time i boot, or is this not supost to happen ...
hope this helps you help me ...
Danger
NullHead
October 20th, 2007, 06:01 PM
double post somehow ...
NullHead
October 20th, 2007, 06:03 PM
ok so now i feel kinda silly ... if i load up Volume Control and switch to Creative X-Fi (Alsa mixer) and unmute the microphone, it work perfectly. but i still get no sound from ubuntu, no start up sound and no sound when playing an mp3. also i had to re run" sudo /etc/init.d/ctsound start" after doing a restart to get the Device option in Volume Control. do i have to load the X-Fi driver like that ever time i boot, or is this not supost to happen ...
hope this helps you help me ...
Danger
Well this is normal to not start up as expected. The driver doesn't like to behave with the startup sounds ... so I recommend that you disable the statup sound and use xmms to play music because you can easily select the audio driver you want to use ... for the x-fi you want to use alsa. If you want the driver to start automatically you can type sudo modprobe ctsoundand it should work like you want.
Gelupah
October 21st, 2007, 04:15 PM
Is there a How-to for gutsy? I am struggling, I get errors at the "make" stages - and I've no idea about the whole "recompiling Kernel" thing!
amtam
October 21st, 2007, 05:54 PM
Is there a How-to for gutsy? I am struggling, I get errors at the "make" stages - and I've no idea about the whole "recompiling Kernel" thing!
I already made a HOWTO about compiling the kernel with SLAB in the other X-Fi thread, but some ******* started flaming me because he didn't read the entire HOWTO before he started with it...
Anyway, I'll give it another shot. For me, it works 100%, but ofcourse, YMMV... ;)
So read the entire howto before starting.
-----------------------------------------------------------
For people using Gutsy, you wil have to re-compile your kernel to use the X-Fi driver.
That is because the Gutsy-kernel uses the SLUB-allocator instead of the SLAB-allocator and you need the latter. This is how I do it, there may be other (better?) ways of doing this. But it works for me.
I use the root-account to compile, so I don't have to sudo all the time. If you don't, remember to put sudo in front of all the commands!
First, you should use /bin/bash instead of /bin/sh, because that shell can sometimes cause problems when compiling software.
rm -f /bin/sh
ln -s /bin/bash /bin/sh
Then, be sure to update the system:
apt-get update
Some necessary packages:
apt-get install kernel-package libncurses5-dev fakeroot wget bzip2
You may also need to
apt-get install build-essential
Download the vanilla kernel-sources to /usr/src, unpack it and create a symlink to it
I found that the newest 2.6.23-kernel doesn't work with the X-Fi driver, so go with the latest 2.6.22:
cd /usr/src
wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.22.10.tar.bz2
tar xjf linux-2.6.22.10.tar.bz2
ln -s linux-2.6.22.10 linux
cd /usr/src/linux
Use the config from your working, default kernel as a basis for the new kernel:
cp /boot/config-`uname -r` ./.config
Then run:
make menuconfig
Go to Load Alternate Config File and choose .config (in the lower part of the main menu)
In General Setup (first item in main menu) select "Choose SLAB Allocator" and the SLAB instead of the pre-selected SLUB. Thats all you have to do for this HOWTO, but you can make other changes if you want. I always change stuff like processor-architecture. But if you don't really know what your doing, leave everything untouched because you can seriously screw up things... ;-)
Exit the main-menu and save the new kernel-configuration (it will ask you to).
Then build the kernel with the following two commands:
make-kpkg clean
fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers
This can take a while, depending on the speed of your system. It takes about 40 minutes on my Core 2 Duo@ 3GHz.
Installing the new kernel.
There are now 2 .deb-packages in /usr/src.
cd /usr/src
ls -l
The are called something like:
linux-image-2.6.22.10-custom_2.6.22.10-custom-10.00.Custom_amd64.deb and
linux-headers-2.6.22.10-custom_2.6.22.10-custom-10.00.Custom_amd64.deb
Install them with these commands:
dpkg -i linux-image-2.6.22.10-custom_2.6.22.10-custom-10.00.Custom_amd64.deb
dpkg -i linux-headers-2.6.22.10-custom_2.6.22.10-custom-10.00.Custom_amd64.deb
Check /boot/grub/menu.lst to see if the new kernel is present.
Reboot the system with 'shutdown -r now' and after that, check with uname -r if the new kernel is active.
Then you can proceed with compiling the X-Fi-driver using the HOWTO in this thread (http://ubuntuforums.org/showthread.php?t=571656).
NullHead
October 22nd, 2007, 12:32 AM
I've updated the How-to for gutsy with amtam's hwoto now. Please let us all know how things go when you install it :)
svarreby
October 22nd, 2007, 06:47 AM
Now I've failed once again ... for the 5th/6th time (I've lost track). I'm running 7.10 with a fresh install + all updates. Tried the 2.6.22.10 kernel. Everything went smooth until that awful "make" ...
Here's what the terminal threw at me:
-----------------------------------------------------------------------------------------------------------------------------------------------------
svarre@ubuntudesktop:~/XFiDrv_Linux_US-1.04$ make
cd /tmp/xfisrc/src/utils/alsaver; make clean
make[1]: Entering directory `/home/svarre/XFiDrv_Linux_US-1.04/src/utils/alsaver'
rm -f alsaver
make[1]: Leaving directory `/home/svarre/XFiDrv_Linux_US-1.04/src/utils/alsaver'
rm -f alsaver
cd /tmp/xfisrc/src/ossrv; make clean
make[1]: Entering directory `/home/svarre/XFiDrv_Linux_US-1.04/src/ossrv'
rm -rf ctossrv_main.o LinuxReg.o LinuxSys.o osutils.o *.o *.ko *.o_shipped *.mod.c *~ .*cmd .tmp_versions .depend
make[1]: Leaving directory `/home/svarre/XFiDrv_Linux_US-1.04/src/ossrv'
rm -f ctossrv.o
cd /tmp/xfisrc/src/emupia; make clean
make[1]: Entering directory `/home/svarre/XFiDrv_Linux_US-1.04/src/emupia'
/tmp/xfisrc/src/emupia/../../globalrules.mk:60: .depend: No such file or directory
gcc -Wall -fomit-frame-pointer -Os -fno-strict-aliasing -pipe -D__CT_SYS_LINUX -DNO_SWSYNTH -D__CT_LITTLE_ENDIAN -fno-stack-protector -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -I../../include -isystem /lib/modules/2.6.22.10-custom/source/include -I/lib/modules/2.6.22.10-custom/source/include/asm/mach-default -I/lib/modules/2.6.22.10-custom/source/include -D__KERNEL__ -DMODULE -mcmodel=kernel -D__x86_64__ -m64 -mno-red-zone -fno-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables -D__CT_SYS_LINUX_AMD64 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -D__CT_BOUND_64BIT -M emupia_guids.c emupia_main.c > .depend
In file included from /lib/modules/2.6.22.10-custom/source/include/linux/notifier.h:14,
from /lib/modules/2.6.22.10-custom/source/include/linux/memory_hotplug.h:7,
from /lib/modules/2.6.22.10-custom/source/include/linux/mmzone.h:466,
from /lib/modules/2.6.22.10-custom/source/include/linux/gfp.h:4,
from /lib/modules/2.6.22.10-custom/source/include/linux/slab.h:14,
from /lib/modules/2.6.22.10-custom/source/include/linux/percpu.h:5,
from /lib/modules/2.6.22.10-custom/source/include/asm/local.h:4,
from /lib/modules/2.6.22.10-custom/source/include/linux/module.h:19,
from emupia_main.c:17: I've also got the infamous Realtek ALC850 sound chip wich is also a dead end.
/lib/modules/2.6.22.10-custom/source/include/linux/rwsem.h:24:65: error: asm/rwsem.h: No such file or directory
make[1]: *** [.depend] Error 1
make[1]: Leaving directory `/home/svarre/XFiDrv_Linux_US-1.04/src/emupia'
make: *** [emupiaclean] Error 2
svarre@ubuntudesktop:~/XFiDrv_Linux_US-1.04$
---------------------------------------------------------------------------------------------------------------------------------