LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mandrake 9.1 kernel location (https://www.linuxquestions.org/questions/linux-newbie-8/mandrake-9-1-kernel-location-121316/)

Strider99 11-30-2003 02:26 PM

mandrake 9.1 kernel location
 
here' s my problem.
i was trying to install via audio drivers for my built in audio chipset
i found the driver and downloaded it... but when i try to rebuild the driver.. KERNEL PANIC
this is the exact command and msges i get ;
[root@localhost viaudiocombo-2.2-3]# rpm --rebuild viaudiocombo-2.2-3.src.rpm
Installing viaudiocombo-2.2-3.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.77965
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf viaudiocombo-2.2
+ /bin/gzip -dc /usr/src/RPM/SOURCES/viaudiocombo-2.2.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd viaudiocombo-2.2
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.77965
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd viaudiocombo-2.2
+ ./install.sh
Could not find Linux directory, please link it with /usr/src/linux
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.77965
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd viaudiocombo-2.2
+ rm -rf /usr/src/RPM/BUILD/viaudiocombo-root
+ mkdir -p /usr/src/RPM/BUILD/viaudiocombo-root/etc/init.d
+ mkdir -p /usr/src/RPM/BUILD/viaudiocombo-root/lib/modules/2.4.21-0.13mdk/kernel/drivers/sound
+ install viasound /usr/src/RPM/BUILD/viaudiocombo-root/etc/init.d/viasound
++ uname -r
+ install -m 644 viaudiocombo.o /usr/src/RPM/BUILD/viaudiocombo-root/lib/modules/2.4.21-0.13mdk/kernel/drivers/sound/viaudiocombo.o
install: impossibile fare stat di `viaudiocombo.o': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.77965 (%install)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.77965 (%install)

???????????????????
where's my kernel location?
i looked up in usr/src and there's no linux directory.........
how do I fix this???

Strider99 11-30-2003 02:55 PM

ok ok............
i got that i have to install the kernel rmp
lets try if it works.


All times are GMT -5. The time now is 10:14 AM.