LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   mandrake10 install kernel source code /radeon 9800xtpro drivers (https://www.linuxquestions.org/questions/mandriva-30/mandrake10-install-kernel-source-code-radeon-9800xtpro-drivers-190834/)

UberNo0ber 06-07-2004 05:18 PM

mandrake10 install kernel source code /radeon 9800xtpro drivers
 
Hi guys. I'm trying to understand whats going on here with building or compiling a kernel source code ( in mandrake10 ) inorder to link up my newly obtained driver for my ati Radeon 9800xt pro.( they are the latest)
I've read the readme file that came with the kernel source code (confusing)
I've been to http ://blahserver.greatnow.com/atihowto.html (not enough info as to whats going on)
I have as a source code > linux-2.6.6 < unzipped in /home/pauly/desktop/downloads
I have the source code patch > patch-2.6.6 < unzipped in the same directory
I have the ati radeon driver > fglrx-4.3.0-3.9.0.i386.rpm<unzipped in the same director as above.
So at this point I feel I'm ready to start umm building a kernel source code, i think.
To my limited understanding I believe I'm suppose to go into /home/pauly/desktop/downloads and in this window I'm to click TOOLS then OPEN TERMINAL . From here the dirctories shell konsole comes up.
[pauly@ujan downloads]$
From here I type > su - < to go after root, so i can be at a place where I can actually make the changes work.
ie. [pauly@ujan downloads]$ su -
then the password comes up
ie. password:
then the following comes up
ie. [root@ujan downloads]#
and its here I'm unsure as to what to do. they're is some confusion here. In this forum it say /usr/src/linux <--( i don't know what this is for ) I think its the next step but I'm unsure. and if so the Readme file that came with the kernel source code says Do Not use the /usr/src/linux because this area has a usually incomplete set of kernel headers that are used by the library header files. they should match the library, and not get messed up by whatever the kernel -du-jour happens to be.
UPDATE: Seeing that the forums say to do it, I did it ( /usr/src/linux ) and as it turns out they say this is where your kernel source code directory is at.
Continue from: [root@ujan downloads]#
ie. [root@ujan downloads]#cd /usr/src/linux
then press enter. note: they're is a space between cd and /usr/src/linux
then the following comes up
[root@ujan linux]# note: take note of the directory changing from "downloads" to "linux"
cont. next i type > make mrproper < ( i don't know why but I do it and walk into the unknown)
ie. [root@ujan linux]# make mrproper
then press enter. and the following comes up.
CLEAN scripts/genksyms
CLEAN scripts/kconfig
CLEAN scripts
RM $(CLEAN_FILES)
Making mrproper in the srctree
RM $(MRPROPER_DIRS) + $(MRPROPER_FILES)
So from here I type > make clean < to my understanding its so you don't have several unneeded kernel source codes confusing things on your system.
ie. [root@ujan linux]# make clean
then press enter. The following comes up.
RM $(CLEAN_FILES)
At this my unassured walk is gaining some confidence.
cont. next type > make xconfig < (I don't know why but the forums say so.)
ie. [root@ujan linux]# make xconfig
then press enter. the following comes up.
HOSTCC scripts/fixdep
SHIPPED scripts/kconfig/zconf.tab.h
HOSTCC scripts/kconfig/conf.o
sed < scripts/kconfig/lkc_proto.h > scripts/kconfig/lkc_defs.h 's/P(\([^,]*\),.*/#define \1 (\*\1_p)/'
HOSTCC scripts/kconfig/kconfig_load.o
HOSTCC scripts/kconfig/mconf.o
/usr/lib/qt3//bin/moc -i scripts/kconfig/qconf.h -o scripts/kconfig/qconf.moc
HOSTCXX scripts/kconfig/qconf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
HOSTCC -fPIC scripts/kconfig/zconf.tab.o
HOSTLLD -shared scripts/kconfig/libkconfig.so
HOSTLD scripts/kconfig/qconf
scripts/kconfig/qconf arch/i386/Kconfig
3rdparty/bcm4400/Kconfig:5:warning: 'select' used by config symbol 'BCM4400' refer to undefined symbol '3RDPARTY'
3rdparty/ivtv/Kconfig:5:warning: 'select' used by config symbol 'IVTV' refer to undefined symbol '3RDPARTY'
3rdparty/video-rivatv/Kconfig:13:warning: 'select' used by config symbol 'VIDEO_RIVATV' refer to undefined symbol '3RDPARTY'
3rdparty/viahss/Kconfig:4:warning: 'select' used by config symbol 'VIAHSS' refer to undefined symbol '3RDPARTY'
3rdparty/w9968cf/Kconfig:4:warning: 'select' used by config symbol 'W9968CF' refer to undefined symbol '3RDPARTY'
3rdparty/fuse/Kconfig:4:warning: 'select' used by config symbol 'FUSE' refer to undefined symbol '3RDPARTY'
3rdparty/svgalib_helper/Kconfig:4:warning: 'select' used by config symbol 'SVGALIB_HELPER' refer to undefined symbol '3RDPARTY'
#
# using defaults found in /boot/config-2.6.3-7mdk

So all this comes up and aswell a > X qconf < window, wanting me to do something. but I don't know what. I don't what I'm suppose to configure inorder to make everything work. This is where I'm at. This is where I'm stuck.
I believe i need a properly working qconf for my radeon 9800xt pro card
Thank you all who help in advance !!!
:Uban the UberNo0ber linux user


All times are GMT -5. The time now is 08:49 PM.