LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 02-07-2008, 04:24 PM   #1
newellrp1
Member
 
Registered: Apr 2004
Posts: 34

Rep: Reputation: 15
Sound Blaster X-Fi driver compilation trouble on OpenSuse 10.3 64 bit


Hello, I couldn't find anything similar in the forums, so I'm starting a new thread because I'm having trouble compiling the driver for my Soundblaster X-Fi XtremeGamer. My motherboard is a Gigabye GA-P35-DS3R. I was following the instructions from:

http://blackbox.lostwave.net/x-fi/readme.txt

I managed to overcome most of the issues that cropped up with an intense afternoon of googling, but there is one problem still (that I know of). When I issue the "make" command I get:

Code:
balthasar:/home/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04 # make
cd /home/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/utils/alsaver; make clean
make[1]: Entering directory `/home/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/utils/alsaver'
rm -f alsaver
make[1]: Leaving directory `/home/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/utils/alsaver'
rm -f alsaver
cd /home/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/ossrv; make clean
make[1]: Entering directory `/home/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/ossrv'
/home/bob/XFiDrv_Linux_US-1.04/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 -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.22.16-0.2-default/source/include -I/lib/modules/2.6.22.16-0.2-default/source/include/asm/mach-default -I/lib/modules/2.6.22.16-0.2-default/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 -D__CT_BOUND_64BIT -M ctossrv_main.c LinuxReg.c LinuxSys.c osutils.c   > .depend
make[1]: Leaving directory `/home/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/ossrv'
make[1]: Entering directory `/home/bob/XFiDrv_Linux_US-1.04/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/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/ossrv'
rm -f ctossrv.ko
cd /home/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/emupia; make clean
make[1]: Entering directory `/home/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/emupia'
/home/bob/XFiDrv_Linux_US-1.04/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 -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.22.16-0.2-default/source/include -I/lib/modules/2.6.22.16-0.2-default/source/include/asm/mach-default -I/lib/modules/2.6.22.16-0.2-default/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 -D__CT_BOUND_64BIT -M emupia_guids.c emupia_main.c   > .depend
make[1]: Leaving directory `/home/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/emupia'
make[1]: Entering directory `/home/bob/XFiDrv_Linux_US-1.04/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/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/emupia'
rm -f emupia.ko
cd /home/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/sfman; make clean
make[1]: Entering directory `/home/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/sfman'
/home/bob/XFiDrv_Linux_US-1.04/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 -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.22.16-0.2-default/source/include -I/lib/modules/2.6.22.16-0.2-default/source/include/asm/mach-default -I/lib/modules/2.6.22.16-0.2-default/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 -D__CT_BOUND_64BIT -M ctsfman_main.c   > .depend
make[1]: Leaving directory `/home/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/sfman'
make[1]: Entering directory `/home/bob/XFiDrv_Linux_US-1.04/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/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/sfman'
rm -f ctsfman.ko
cd /home/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/haxfi; make clean
make[1]: Entering directory `/home/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/haxfi'
/home/bob/XFiDrv_Linux_US-1.04/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 -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.22.16-0.2-default/source/include -I/lib/modules/2.6.22.16-0.2-default/source/include/asm/mach-default -I/lib/modules/2.6.22.16-0.2-default/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 -D__CT_BOUND_64BIT -M haxfi_main.c   > .depend
make[1]: Leaving directory `/home/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/haxfi'
make[1]: Entering directory `/home/bob/XFiDrv_Linux_US-1.04/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/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/haxfi'
rm -f haxfi.ko
cd /home/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/ctalsa; make clean
make[1]: Entering directory `/home/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/ctalsa'
/home/bob/XFiDrv_Linux_US-1.04/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 -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.22.16-0.2-default/source/include -I/lib/modules/2.6.22.16-0.2-default/source/include/asm/mach-default -I/lib/modules/2.6.22.16-0.2-default/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 -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/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/ctalsa'
make[1]: Entering directory `/home/bob/XFiDrv_Linux_US-1.04/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/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/ctalsa'
rm -f ctalsa.ko
cd /home/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/plugins/ct20xut; make clean
make[1]: Entering directory `/home/bob/XFiDrv_Linux_US-1.04/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/bob/XFiDrv_Linux_US-1.04/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 -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.22.16-0.2-default/source/include -I/lib/modules/2.6.22.16-0.2-default/source/include/asm/mach-default -I/lib/modules/2.6.22.16-0.2-default/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 -D__CT_BOUND_64BIT -M pluginutils.c   > .depend
make[2]: Leaving directory `/home/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/plugins'
make[2]: Entering directory `/home/bob/XFiDrv_Linux_US-1.04/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/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/plugins'
make[1]: Leaving directory `/home/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/plugins/ct20xut'
rm -f ct20xut.ko
cd /home/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/plugins/ctexfifx; make clean
make[1]: Entering directory `/home/bob/XFiDrv_Linux_US-1.04/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/bob/XFiDrv_Linux_US-1.04/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 -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.22.16-0.2-default/source/include -I/lib/modules/2.6.22.16-0.2-default/source/include/asm/mach-default -I/lib/modules/2.6.22.16-0.2-default/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 -D__CT_BOUND_64BIT -M pluginutils.c   > .depend
make[2]: Leaving directory `/home/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/plugins'
make[2]: Entering directory `/home/bob/XFiDrv_Linux_US-1.04/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/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/plugins'
make[1]: Leaving directory `/home/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/plugins/ctexfifx'
rm -f ctexfifx.ko
cd /home/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/plugins/cthwiut; make clean
make[1]: Entering directory `/home/bob/XFiDrv_Linux_US-1.04/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/bob/XFiDrv_Linux_US-1.04/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 -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.22.16-0.2-default/source/include -I/lib/modules/2.6.22.16-0.2-default/source/include/asm/mach-default -I/lib/modules/2.6.22.16-0.2-default/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 -D__CT_BOUND_64BIT -M pluginutils.c   > .depend
make[2]: Leaving directory `/home/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/plugins'
make[2]: Entering directory `/home/bob/XFiDrv_Linux_US-1.04/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/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/plugins'
make[1]: Leaving directory `/home/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/plugins/cthwiut'
rm -f cthwiut.ko
cd /home/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/utils/alsaver; make
make[1]: Entering directory `/home/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/utils/alsaver'
gcc -Wall -O  alsaver.c -o alsaver
make[1]: Leaving directory `/home/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/utils/alsaver'
cp -f /home/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/utils/alsaver/alsaver .
cd /home/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/ossrv; make
make[1]: Entering directory `/home/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/ossrv'
/home/bob/XFiDrv_Linux_US-1.04/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 -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.22.16-0.2-default/source/include -I/lib/modules/2.6.22.16-0.2-default/source/include/asm/mach-default -I/lib/modules/2.6.22.16-0.2-default/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 -D__CT_BOUND_64BIT -M ctossrv_main.c LinuxReg.c LinuxSys.c osutils.c   > .depend
make[1]: Leaving directory `/home/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/ossrv'
make[1]: Entering directory `/home/bob/XFiDrv_Linux_US-1.04/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 -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.22.16-0.2-default/source/include -I/lib/modules/2.6.22.16-0.2-default/source/include/asm/mach-default -I/lib/modules/2.6.22.16-0.2-default/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 -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 -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.22.16-0.2-default/source/include -I/lib/modules/2.6.22.16-0.2-default/source/include/asm/mach-default -I/lib/modules/2.6.22.16-0.2-default/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 -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 -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.22.16-0.2-default/source/include -I/lib/modules/2.6.22.16-0.2-default/source/include/asm/mach-default -I/lib/modules/2.6.22.16-0.2-default/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 -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: ‘deprecated_irq_flag’ is deprecated (declared at /lib/modules/2.6.22.16-0.2-default/source/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: 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 -DNO_NEWDELETE_OVERLOAD -DUSE_CALLBACKS_EX -DNATIVE_OPENAL -DCTAUDBINARY -DKBUILD_MODNAME=\"x-fi\" -I../../include -isystem /lib/modules/2.6.22.16-0.2-default/source/include -I/lib/modules/2.6.22.16-0.2-default/source/include/asm/mach-default -I/lib/modules/2.6.22.16-0.2-default/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 -D__CT_BOUND_64BIT -c osutils.c
osutils.c:804:1: warning: "udelay" redefined
In file included from /lib/modules/2.6.22.16-0.2-default/source/include/linux/delay.h:12,
                 from /lib/modules/2.6.22.16-0.2-default/source/include/asm/apic.h:5,
                 from /lib/modules/2.6.22.16-0.2-default/source/include/asm/smp.h:14,
                 from /lib/modules/2.6.22.16-0.2-default/source/include/linux/smp.h:19,
                 from /lib/modules/2.6.22.16-0.2-default/source/include/linux/topology.h:33,
                 from /lib/modules/2.6.22.16-0.2-default/source/include/linux/mmzone.h:569,
                 from /lib/modules/2.6.22.16-0.2-default/source/include/linux/gfp.h:4,
                 from /lib/modules/2.6.22.16-0.2-default/source/include/linux/slab.h:14,
                 from /lib/modules/2.6.22.16-0.2-default/source/include/linux/percpu.h:5,
                 from /lib/modules/2.6.22.16-0.2-default/source/include/asm/local.h:4,
                 from /lib/modules/2.6.22.16-0.2-default/source/include/linux/module.h:19,
                 from osutils.c:20:
/lib/modules/2.6.22.16-0.2-default/source/include/asm/delay.h:20:1: warning: this is the location of the previous definition
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.22.16-0.2-default/source SUBDIRS=/home/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/ossrv modules
make[2]: Entering directory `/usr/src/linux-2.6.22.16-0.2'

  WARNING: Symbol version dump /usr/src/linux-2.6.22.16-0.2/Module.symvers
           is missing; modules will have no dependencies and modversions.

  LD [M]  /home/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/ossrv/ctossrv.o
  Building modules, stage 2.
  MODPOST 1 modules
/bin/sh: scripts/mod/modpost: No such file or directory
make[3]: *** [__modpost] Error 127
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.22.16-0.2'
make[1]: *** [module] Error 2
make[1]: Leaving directory `/home/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/ossrv'
make: *** [ctossrv] Error 2
In particular, here is where is seems to go wrong:
Code:
make -C /lib/modules/2.6.22.16-0.2-default/source SUBDIRS=/home/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/ossrv modules
make[2]: Entering directory `/usr/src/linux-2.6.22.16-0.2'

  WARNING: Symbol version dump /usr/src/linux-2.6.22.16-0.2/Module.symvers
           is missing; modules will have no dependencies and modversions.

  LD [M]  /home/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/ossrv/ctossrv.o
  Building modules, stage 2.
  MODPOST 1 modules
/bin/sh: scripts/mod/modpost: No such file or directory
make[3]: *** [__modpost] Error 127
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.22.16-0.2'
make[1]: *** [module] Error 2
make[1]: Leaving directory `/home/bob/XFiDrv_Linux_US-1.04/XFiDrv_Linux_US-1.04/src/ossrv'
make: *** [ctossrv] Error 2
As stated in the topic I am using OpenSuse 10.3 64-bit. I have installed the packages recommended by Suse for compiling (from their wiki) and updated them.

kernel:
2.6.22.16-0.2-default

/sbin/lspci:
Code:
00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 02)
00:01.0 PCI bridge: Intel Corporation 82G33/G31/P35/P31 Express PCI Express Root Port (rev 02)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 02)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation 82801IR (ICH9R) LPC Interface Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 4 port SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02)
00:1f.5 IDE interface: Intel Corporation 82801I (ICH9 Family) 2 port SATA IDE Controller (rev 02)
01:00.0 VGA compatible controller: nVidia Corporation Unknown device 0611 (rev a2)
03:00.0 SATA controller: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02)
03:00.1 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02)
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
05:00.0 Multimedia audio controller: Creative Labs SB X-Fi
The one weird thing that bothers me is that the software management program says the installed kernel and kernel source versions are 2.6.22.16-0.2-default and the installed kernel-headers is 2.6.22.19. Do I need kernel headers if I have then entire kernel source?

Last edited by newellrp1; 02-07-2008 at 04:28 PM. Reason: clarification
 
Old 02-12-2008, 04:06 PM   #2
newellrp1
Member
 
Registered: Apr 2004
Posts: 34

Original Poster
Rep: Reputation: 15
Question

Should I repost this in another forum?
 
Old 03-11-2008, 01:44 AM   #3
lauer
Member
 
Registered: Aug 2003
Location: Germany
Distribution: openSuSE
Posts: 61

Rep: Reputation: 16
I actually got it to compile. I think you missed the part where you have to make sure that there are correctly configured kernel sources. I'm not currently at my linux box, but I think the command is "make oldconfig" under /usr/src/linux.

While I got it to compile, I've still got trouble to actually hear some output
 
  


Reply

Tags
creative, opensuse, opensuse103, xfi


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sound Blaster Live!24-bit not working on OpenSuse 10.2 WDSnav Linux - Hardware 2 12-23-2006 11:09 PM
Need Creative Labs Sound Blaster Live!24-bit driver for linux WDSnav Linux - Newbie 6 12-20-2006 02:49 AM
Integrated 16-bit Sound Blaster Pro compatible audio 24-bit DAC jelgavchik Linux - Laptop and Netbook 2 11-16-2006 09:20 PM
Integrated 16-bit Sound Blaster Pro compatible audio 24-bit DAC jelgavchik Linux - Hardware 1 11-16-2006 05:31 PM


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

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