Stranica: 1/1.

instalacija drivera za x-fi

Postano: 11 lip 2008, 16:58
Postao/la zole052
trebala bi mi pomoc... napokon su izdali beta drivere za moju x-fi i tako ih skinuo ja....

e sada pokrenem instalaciju i:

Installation is in progress. Please wait...
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
make: *** [all] Error 2
make: *** [install] Error 2
Installation Unsuccessful
zzankola@zzankola-desktop:

ne razumijem u cemu je problem i di se nalazi taj nesretni "config.log" u kojem ima vise datalja :(

Re: instalacija drivera za x-fi

Postano: 11 lip 2008, 19:01
Postao/la Tux Slave
Dali mozda nemas libc6-dev? Usput probaj re/instalirati gcc(kompajler), build-essential(za njega ces trebati vjerojatno CD od Ubuntua u DVD pogonu) i binutils-dev(assembler i linker). To sve obavis s ovom komandom.

Kod: Označi sve

sudo apt-get install libc6-dev gcc build-essential binutils-dev
btw, daj link od stranice gdje si skinuo driver ili direktan link za download, ili tocno ime driver-a.

Re: instalacija drivera za x-fi

Postano: 11 lip 2008, 19:46
Postao/la zole052
oho... ja malo pocetnik... sto sam tocno napravio sa naredbom "sudo apt-get install libc6-dev gcc build-essential binutils-dev"?

driveri su skinuti sa http://opensource.creative.com/ , tocno ovi http://hr.europe.creative.com/support/d ... iDrv_Linux

uglavnom napravio sam to, instaliro sam taj libc6-dev ili sto vec:)

dao sam mu opet da instlira drivere i ovaj put izbaci ovo:

Installation is in progress. Please wait...
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.18/drivers
checking cross compile...
checking for directory with kernel source... /lib/modules/2.6.24-18-generic/build
checking for directory with kernel build...
checking for directory with ALSA include files... /lib/modules/2.6.24-18-generic/build/include
checking for kernel linux/version.h... yes
checking for kernel linux/autoconf.h... yes
checking for kernel version... 2.6.24-18-generic
checking for GCC version... Kernel compiler: Used compiler: gcc (GCC) 4.2.3 (Ubuntu 4.2.3-2ubuntu7)

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

*** Please make sure that the same compiler version was used for building kernel.

checking for built-in ALSA... no
checking for existing ALSA module... no
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 kernel module symbol versions... yes
checking for PCI support in kernel... yes
checking for I2C driver in kernel... module
checking for firmware loader... yes
checking for input subsystem in kernel... yes
checking for directory to store kernel modules... /lib/modules/2.6.24-18-generic/kernel/sound
checking for ISA support in kernel... yes
checking for processor type... i586
checking for ISA DMA API... yes
checking for SMP... yes
checking for Video device support in kernel... yes
checking for strlcpy... no
checking for snprintf... no
checking for vsnprintf... no
checking for scnprintf... no
checking for sscanf... no
checking for vmalloc_to_page... no
checking for old kmod... yes
checking for PDE... no
checking for pci_set_consistent_dma_mask... no
checking for pci_dev_present... no
checking for msleep... no
checking for msecs_to_jiffies... no
checking for tty->count is the atomic type... no
checking for video_get_drvdata... no
checking for io_remap_pfn_range... no
checking for new io_remap_page_range... no
checking for kcalloc... no
checking for kstrdup... no
checking for kzalloc... no
checking for create_workqueue with flags... no
checking for saved_config_space in pci_dev... no
checking for register_sound_special_device... no
checking for RTC callback support in kernel... no
checking for HPET support... yes
checking for Procfs support... yes
checking for class_simple... no
checking for old driver suspend/resume callbacks... no
checking for removal of page-reservation for nopage/mmap... no
checking for nested class_device... no
checking for new unlocked/compat_ioctl... no
configure: creating ./config.status
config.status: creating Makefile.conf
make: *** [all] Error 2
make: *** [install] Error 2
Installation Unsuccessful

Re: instalacija drivera za x-fi

Postano: 11 lip 2008, 21:17
Postao/la Tux Slave
Pokreni ovu komandu i napisi ispis ovdje:

Kod: Označi sve

gcc -V
Takodjer i ovu:

Kod: Označi sve

lspci
A i taj driver je beta. Znaci biti ce cestog rusenja i slicno. Vjerojatno imas i zvucnu na maticnoj - ona vjerojatno radi iz prve. Tu karticu ces jako tesko natjerati da radi. Biti ce muke.

Re: instalacija drivera za x-fi

Postano: 11 lip 2008, 21:23
Postao/la Grof
gcc kompajler koji imaš instaliran nije iste verzije kao onaj s kojim je kompajliran kernel.
Zašto nije, ne znam. Ne znam da li si dodatno instaliravao kakav gcc. Po meni trebao si instalirati build-essential i sve development ovisne librerije koje ti pišu u kakvoj install ili readme datoteci koja dođe u paketu sa sourceom od tvojih drivera...

Re: instalacija drivera za x-fi

Postano: 11 lip 2008, 21:30
Postao/la Tux Slave
[quote="zzankola"]oho... ja malo pocetnik... sto sam tocno napravio sa naredbom "sudo apt-get install libc6-dev gcc build-essential binutils-dev"?[quote]

S time si instalirao:
libc6-dev - GNU C Library - library-iji i header fileovi.
gcc - Ovo je kompajler - ovo je rijesilo prvi problem.
build-essential - http://linux.about.com/cs/linux101/g/buildessential.htm
binutils-dev - Ovo je assembler i linker(on se bavi object fileovima koje proizvede gcc) to jest ovo su njegovi development library-iji i header fileovi.

Da pojasnim sta sam sve rekao. na Linuxu ima takozvani "Toolchain" bez kojeg nijedan program nebi radio. Toolchain je samo nakupina par programa bez kojih sistem neradi, a to su glibc, gcc i binutils + kernel(ali on nespada u Toolchain). Zamisli to ovako:

Imas auto, njegov "kernel" je motor(bez njega nista drugo neradi), "glibc" mu je elektronika(nemozes upaliti ako je nema), gcc je izgaranje goriva(nemoze raditi ako nema motora + stvara snagu), a binutils prenosi tu snagu u kotace(na kompu u program). Sve ostalo na tom automobilu je nesto bez cega on moze raditi. Isto tako je na Linuxu - svi programi koje instaliras su opcionalni to jest sistem moze raditi bez problema ako ih obrises.

Ufff, pokusao sam objasniti sto jednostavnije vec kad si pitao. :'D Valjda sam uspio.

Re: instalacija drivera za x-fi

Postano: 11 lip 2008, 21:32
Postao/la Tux Slave
Grof je napisao/la:gcc kompajler koji imaš instaliran nije iste verzije kao onaj s kojim je kompajliran kernel.
Zašto nije, ne znam. Ne znam da li si dodatno instaliravao kakav gcc. Po meni trebao si instalirati build-essential i sve development ovisne librerije koje ti pišu u kakvoj install ili readme datoteci koja dođe u paketu sa sourceom od tvojih drivera...
Problem je u tome sto nije napisan nikakav dependency(ima README, ali nista pametno u njemu). Kao da su sastavljali driver za Linus-a koji zna sistem u malom prstu.

Re: instalacija drivera za x-fi

Postano: 12 lip 2008, 10:51
Postao/la zole052
gcc -v:

Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
zzankola@zzankola-desktop:~$

lspci:

00:00.0 Memory controller: nVidia Corporation CK804 Memory Controller (rev a3)
00:01.0 ISA bridge: nVidia Corporation CK804 ISA Bridge (rev a3)
00:01.1 SMBus: nVidia Corporation CK804 SMBus (rev a2)
00:02.0 USB Controller: nVidia Corporation CK804 USB Controller (rev a2)
00:02.1 USB Controller: nVidia Corporation CK804 USB Controller (rev a3)
00:04.0 Multimedia audio controller: nVidia Corporation CK804 AC'97 Audio Controller (rev a2)
00:06.0 IDE interface: nVidia Corporation CK804 IDE (rev f2)
00:07.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3)
00:08.0 IDE interface: nVidia Corporation CK804 Serial ATA Controller (rev f3)
00:09.0 PCI bridge: nVidia Corporation CK804 PCI Bridge (rev a2)
00:0a.0 Bridge: nVidia Corporation CK804 Ethernet Controller (rev a3)
00:0b.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0c.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0d.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:0e.0 PCI bridge: nVidia Corporation CK804 PCIE Bridge (rev a3)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:05.0 Multimedia audio controller: Creative Labs SB X-Fi
01:06.0 Multimedia video controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder (rev 05)
01:06.2 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [MPEG Port] (rev 05)
01:09.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 80)
05:00.0 VGA compatible controller: nVidia Corporation G71 [GeForce 7900 GS] (rev a1)
zzankola@zzankola-desktop:~$

ma znam da je beta driver, nadam se da ce ga zavrsiti brzo... ma osim sto je razlika u kvaliteti ogromna neda mi se gurati iza kompa svaki put prebacivati zvucnike iz jedne zvucne u drugu

Re: instalacija drivera za x-fi

Postano: 12 lip 2008, 12:52
Postao/la Tux Slave
zzankola je napisao/la: ma znam da je beta driver, nadam se da ce ga zavrsiti brzo... ma osim sto je razlika u kvaliteti ogromna neda mi se gurati iza kompa svaki put prebacivati zvucnike iz jedne zvucne u drugu
A druga zvucna radi?

Na 90 % stranica na kojima sam bio nitko nemoze instalirati te drivere. Nekima je zvucna proradila iz prve(samo dva, tri slucaja), a vecini neradi uopce. Svi config.log-ovi od tih drugih ljudi su s istim problemom. Izgleda da ces morati koristiti onboard zvucnu i/ili pricekati da izadje stable release driver-a.

Re: instalacija drivera za x-fi

Postano: 12 lip 2008, 14:37
Postao/la zole052
druga zvucna radi... izgleda da ce za sada ostati tako dok ne izdaju nove drivere... fala puno u svakom slucaju :)