LinuxQuestions.org
Visit Jeremy's Blog.
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 11-28-2007, 02:20 PM   #1
dexternl
LQ Newbie
 
Registered: Jul 2007
Posts: 6

Rep: Reputation: 0
Xfi; how to downgrade gcc in debian?


Hello all, I would like to install the linux 64 bit Xfi driver but it's very hard.

First the installer script said i was not running a 64bit system. I fixed this by changing uname -i to uname -m in the script.

Now i get this error
Code:
Installation is in progress. Please wait...
tar: XFiDrv_Linux_US-1.04: time stamp 2009-09-20 08:31:00 is 57143566.837188 s in the future
/opt/Creative/XFiDrv_Linux_US-1.04
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /opt/Creative/XFiDrv_Linux_US-1.04
checking cross compile...
checking for directory with kernel source... /lib/modules/2.6.18-5-amd64/build
checking for directory with kernel build...
checking for directory with ALSA include files... /lib/modules/2.6.18-5-amd64/build/include
checking for kernel linux/version.h... yes
checking for kernel linux/autoconf.h... yes
checking for kernel version... 0.0.0
checking for GCC version... Kernel compiler: gcc 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) Used compiler: gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
checking for built-in ALSA... no
checking for existing ALSA module... yes
checking to modify of kernel linux/kmod.h... no
checking for kernel linux/compiler.h... yes
checking for kernel linux/pm.h... yes
checking for kernel linux/spinlock.h... yes
checking for kernel linux/irq.h... yes
checking for kernel linux/threads.h... yes
checking for kernel linux/rwsem.h... yes
checking for kernel linux/gameport.h... yes
checking for kernel linux/devfs_fs_kernel.h... no
Creating a dummy <linux/devfs_fs_kernel.h>...
checking for kernel linux/highmem.h... yes
checking for kernel linux/workqueue.h... yes
checking for kernel linux/dma-mapping.h... yes
checking for kernel asm/hw_irq.h... yes
checking for kernel linux/device.h... yes
checking for kernel linux/platform_device.h... yes
checking for kernel linux/jiffies.h... yes
checking for kernel linux/compat.h... yes
checking for kernel linux/adb.h... yes
checking for kernel linux/cuda.h... yes
checking for kernel linux/pmu.h... yes
checking for kernel linux/moduleparam.h... yes
checking for kernel linux/syscalls.h... yes
checking for kernel linux/firmware.h... yes
checking for kernel linux/err.h... yes
checking for kernel linux/bitmap.h... yes
checking for kernel linux/mutex.h... yes
checking for exported symbol dump_stack... grep: /lib/modules/2.6.18-5-amd64/build/kernel/ksyms.c: No such file or directory
no
checking for kernel module symbol versions... yes
checking for PCI support in kernel... yes
checking for I2C driver in kernel... module
checking for firmware loader... module
checking for directory to store kernel modules... /lib/modules/0.0.0/misc
checking for processor type... x86_64
checking for SMP... yes
checking for strlcpy... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for scnprintf... yes
checking for sscanf... yes
checking for vmalloc_to_page... yes
checking for old kmod... no
checking for PDE... yes
checking for pci_set_consistent_dma_mask... yes
checking for pci_dev_present... yes
checking for msleep... yes
checking for msleep_interrupt... yes
checking for msecs_to_jiffies... yes
checking for tty->count is the atomic type... no
checking for io_remap_pfn_range... yes
checking for kcalloc... yes
checking for kstrdup... yes
checking for kzalloc... yes
checking for create_workqueue with flags... no
checking for saved_config_space in pci_dev... yes
checking for new pci_save_state... yes
checking for register_sound_special_device... yes
checking for old kill_fasync... no
checking for dma_addr_t... yes
checking for MUTEX macros... no
checking for RTC callback support in kernel... may be buggy, skipped
checking for HPET support... yes
checking for Procfs support... yes
configure: creating ./config.status
config.status: creating Makefile.conf
cd /tmp/xfisrc/src/utils/alsaver; make clean
make[1]: Entering directory `/opt/Creative/XFiDrv_Linux_US-1.04/src/utils/alsaver'
rm -f alsaver
make[1]: Leaving directory `/opt/Creative/XFiDrv_Linux_US-1.04/src/utils/alsaver'
rm -f alsaver
cd /tmp/xfisrc/src/ossrv; make clean
make[1]: Entering directory `/opt/Creative/XFiDrv_Linux_US-1.04/src/ossrv'
/tmp/xfisrc/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 -I../../include -isystem /lib/modules/2.6.18-5-amd64/build/include -I/lib/modules/2.6.18-5-amd64/build/include/asm/mach-default -I/lib/modules/2.6.18-5-amd64/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 -M ctossrv_main.c LinuxReg.c LinuxSys.c osutils.c   > .depend
In file included from /lib/modules/2.6.18-5-amd64/build/include/linux/sched.h:49,
                 from /lib/modules/2.6.18-5-amd64/build/include/linux/module.h:9,
                 from ctossrv_main.c:16:
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:33:3: error: #error You lose.
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:254:46: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:265:46: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:278:46: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:291:46: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
In file included from /lib/modules/2.6.18-5-amd64/build/include/linux/rwsem.h:24,
                 from /lib/modules/2.6.18-5-amd64/build/include/asm/semaphore.h:43,
                 from /lib/modules/2.6.18-5-amd64/build/include/linux/sched.h:57,
                 from /lib/modules/2.6.18-5-amd64/build/include/linux/module.h:9,
                 from ctossrv_main.c:16:
/usr/include/asm/rwsem.h:8:3: error: #error This header is not available for x86_64
In file included from /lib/modules/2.6.18-5-amd64/build/include/linux/rwsem.h:24,
                 from /lib/modules/2.6.18-5-amd64/build/include/linux/notifier.h:14,
                 from /lib/modules/2.6.18-5-amd64/build/include/linux/memory_hotplug.h:7,
                 from /lib/modules/2.6.18-5-amd64/build/include/linux/mmzone.h:339,
                 from /lib/modules/2.6.18-5-amd64/build/include/linux/gfp.h:4,
                 from /lib/modules/2.6.18-5-amd64/build/include/linux/slab.h:14,
                 from LinuxReg.c:16:
/usr/include/asm/rwsem.h:8:3: error: #error This header is not available for x86_64
In file included from /lib/modules/2.6.18-5-amd64/build/include/linux/sched.h:49,
                 from /lib/modules/2.6.18-5-amd64/build/include/linux/module.h:9,
                 from LinuxSys.c:20:
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:33:3: error: #error You lose.
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:254:46: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:265:46: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:278:46: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:291:46: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
In file included from /lib/modules/2.6.18-5-amd64/build/include/linux/rwsem.h:24,
                 from /lib/modules/2.6.18-5-amd64/build/include/asm/semaphore.h:43,
                 from /lib/modules/2.6.18-5-amd64/build/include/linux/sched.h:57,
                 from /lib/modules/2.6.18-5-amd64/build/include/linux/module.h:9,
                 from LinuxSys.c:20:
/usr/include/asm/rwsem.h:8:3: error: #error This header is not available for x86_64
In file included from /lib/modules/2.6.18-5-amd64/build/include/linux/sched.h:49,
                 from /lib/modules/2.6.18-5-amd64/build/include/linux/module.h:9,
                 from osutils.c:17:
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:33:3: error: #error You lose.
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:254:46: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:265:46: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:278:46: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:291:46: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:385:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:416:6: error: division by zero in #if
In file included from /lib/modules/2.6.18-5-amd64/build/include/linux/rwsem.h:24,
                 from /lib/modules/2.6.18-5-amd64/build/include/asm/semaphore.h:43,
                 from /lib/modules/2.6.18-5-amd64/build/include/linux/sched.h:57,
                 from /lib/modules/2.6.18-5-amd64/build/include/linux/module.h:9,
                 from osutils.c:17:
/usr/include/asm/rwsem.h:8:3: error: #error This header is not available for x86_64
make[1]: *** [.depend] Error 1
make[1]: Leaving directory `/opt/Creative/XFiDrv_Linux_US-1.04/src/ossrv'
make: *** [ctossrvclean] Error 2
Copy module files...
cp: cannot stat `ctossrv.o': No such file or directory
cp: cannot stat `emupia.o': No such file or directory
cp: cannot stat `ctsfman.o': No such file or directory
cp: cannot stat `haxfi.o': No such file or directory
cp: cannot stat `ctalsa.o': No such file or directory
cp: cannot stat `ct20xut.o': No such file or directory
cp: cannot stat `ctexfifx.o': No such file or directory
cp: cannot stat `cthwiut.o': No such file or directory
make: *** [copy_modules] Error 1
Installation Unsuccessful
I think (guessing) it's because the driver wont install with gcc 4x, I am willing to downgrade to 3x but don't know how to do this. I would the appreciate help,

I am running Debian etch amd64.
Thank you!

Last edited by dexternl; 11-28-2007 at 02:39 PM.
 
Old 11-28-2007, 04:49 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,918

Rep: Reputation: 176Reputation: 176
No need to downgrade in Debian various versions of gcc can be installed at the same time. Install the gcc-3.3 package then in your shell just before doing anything else use export CC=/usr/bin/gcc-3.3 to have it use that version when compiling. Although looking at your output where the error first happens it looks more like a fundamental programming error in the source you are trying to compile as it runs into this.
Code:
n file included from /lib/modules/2.6.18-5-amd64/build/include/linux/sched.h:49,
                 from /lib/modules/2.6.18-5-amd64/build/include/linux/module.h:9,
                 from ctossrv_main.c:16:
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:33:3: error: #error You lose.
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
/lib/modules/2.6.18-5-amd64/build/include/linux/jiffies.h:210:31: error: division by zero in #if
Code:
#if HZ >= 12 && HZ < 24
# define SHIFT_HZ       4
#elif HZ >= 24 && HZ < 48
# define SHIFT_HZ       5
#elif HZ >= 48 && HZ < 96
# define SHIFT_HZ       6
#elif HZ >= 96 && HZ < 192
# define SHIFT_HZ       7
#elif HZ >= 192 && HZ < 384
# define SHIFT_HZ       8
#elif HZ >= 384 && HZ < 768
# define SHIFT_HZ       9
#elif HZ >= 768 && HZ < 1536
# define SHIFT_HZ       10
#else
# error You lose.        <------- here

In the jiffies.h file so the value is not set/becomes zero and gives you all those divide by zero errors you see. Do you have a link to the source tarball so I can try it here?
 
Old 11-29-2007, 10:38 AM   #3
dexternl
LQ Newbie
 
Registered: Jul 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Hi there thank you for your replie I tried the export CC=/usr/bin/gcc-3.3 But I get the same error. I have the link for you it is http://files2.europe.creative.com/ma...US-1.04.tar.gz
Creative announces it as a beat driver but most people say it is far away from even alpha. I saw you mention something about the code but I didn't understand a bit of it. I am sorry for that. I hope I will get this to work otherwise I have to change back to windows xp , because I really need sound on my system. I hope we can get it to work. Thank You
 
Old 11-29-2007, 11:11 AM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,918

Rep: Reputation: 176Reputation: 176
Nope that piece of junk does the same here I have never seen a configure script that needed to be executed as root in all the years I have used Linux for the programming error I mention in the jiffies.h file the HZ variable needs to be defined within a certain range creative does not do this properly so it fails to build.
 
Old 11-29-2007, 11:19 AM   #5
dexternl
LQ Newbie
 
Registered: Jul 2007
Posts: 6

Original Poster
Rep: Reputation: 0
So you say it's not because of me but because the programmers at creative are lazy and sucky programmers who didn't write a good script? Zomg That's weird "Thank you Creative!". But the script says:
Code:
1) You must have the fully configured source for the Linux kernel and
   ALSA which you want to use for this device driver. Partial installed
   kernels (e.g. From distribution makers) may be unusable for this
   action.


2) Run one of the following commands as root in the terminal:



   ./installer



   OR


   ./installer --with-alsainc=<ALSA_include_directory>



  * ALSA Source Tree



   On 2.6 kernels, the location of the ALSA source include directory

      is parsed automatically from the running kernel.

      If it is not in the standard place, specify the path via

   --with-alsainc=<ALSA_include_directory>.



  On 2.4 kernels, the location of the ALSA source include directory

      must be specified via --with-alsainc=<ALSA_include_directory>.



  * Note
      If integrated ALSA is to be used to build, --with-alsainc option

      must not be specified.
The script could not regonise my kernel so the ALSA location maybe not be parsed by the kernel. Should I try --with-alsainc=<ALSA_include_directory>? (I don't know what or witch ALSA directory they mean, if someone would like to give me that information I would appreciate it) Thank you all!! And not Thank you at Creative

Also the script mentions
Code:
checking for GCC version... Kernel compiler: gcc 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) Used compiler: gcc-3.3 (GCC) 3.3.6 (Debian 1:3.3.6-15)
. Is it still using a part of GCC-4??

Last edited by dexternl; 11-29-2007 at 11:24 AM.
 
Old 11-29-2007, 04:37 PM   #6
dexternl
LQ Newbie
 
Registered: Jul 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Forget about it, I have unistalled linux, put on windows xp made sure that the sound worked on the mainbord (5.1), and dualbooted installed linux debian with no Xfi card used. Thank you creative opensource for you Big support and great drivers!! Pfff lamea*@%$#%@^@$#^@#$%#@%#@$^#@%%#$%#@^&#@$^%@#^!!!!!

:P

Thanks to all the members for supporting me and trying to help me!

Now I am going to cry myself to sleep
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
DOWNgrade gcc. How? KDel Linux - Software 25 10-29-2009 01:53 AM
gcc downgrade during kernel building linuxhippy Fedora 6 03-07-2007 07:55 AM
downgrade of GCC version nelnel Linux - Software 7 06-29-2005 01:10 AM
gcc downgrade: help required ludwig W Linux - Software 12 03-31-2003 02:09 AM
any recomendations to downgrade GCC 2.96 to 2.95? Hano Linux - Distributions 2 06-09-2002 02:11 PM

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

All times are GMT -5. The time now is 09:23 AM.

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