LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Location of the Makefile and Kconfig files on OpenSuse 10.2 (https://www.linuxquestions.org/questions/linux-newbie-8/location-of-the-makefile-and-kconfig-files-on-opensuse-10-2-a-520907/)

morrisfury 01-19-2007 10:48 AM

Location of the Makefile and Kconfig files on OpenSuse 10.2
 
Hi everyone. Can anyone please tell me where I can find the above two files? They are supposed to be in /usr/src/linux-2.6.0/drivers/usb/serial/ but these directories does not exist on 10.2. I'm trying to install usb drivers for a sentech mywireless modem and need to modify them.

Thanks for any help

Morris

colucix 01-20-2007 04:04 AM

These files are provided by the kernel-source package. Check the version of the kernel you are currently running on your machine (command is uname -r) and install the matching kernel-source.

morrisfury 01-21-2007 02:14 AM

Hi. thanks for your reply. the version I have is 2.6.18.2-34-default. What I found strange is that there is no linux directory under /usr/src/ however, there is a directory called linux-2.6.18.2-34-obj. Could this be the kernel installation folder? I went and downloaded the kernel with the same serial number form kernel.org and found this great article on the web:

http://www.linuxheadquarters.com/how...lsources.shtml

Again, the folders did not correlate with what I had but i assumed if I just put the package in the /src directory and un-tar it as the document describes. So I un-tar'ed it there and looked through the new folder and discovered the missing folder I was looking for. I.E. /drivers/usb/serial. Now I just have to figure out how to modify, re-compile and install. The difficult part in learning linux is that docs for the new version of opensuse 10.2 is scarce and I also do not know much about linux. I'm trying to get skilled on linux.

The installation I'm trying to is detailed at:

http://www.neology.co.za/support/MyWirelessLinuxDrivers

If you have further ideas, or things that i should lookout for please reply here. Any help is greatly appreciated. I will post here as I go along. Maybe it will help someone else too.

colucix 01-21-2007 05:23 AM

Hi Morris,

Quote:

Originally Posted by morrisfury
Hi. thanks for your reply. the version I have is 2.6.18.2-34-default. What I found strange is that there is no linux directory under /usr/src/ however, there is a directory called linux-2.6.18.2-34-obj. Could this be the kernel installation folder?

This is a directory which belongs to the installed kernel-default-2.6.18.2-34.

Quote:

I went and downloaded the kernel with the same serial number form kernel.org
This is not what I meant. You can simply install the kernel-source RPM that contains all the files you need. You can do this by YAST/Software Management: search the package kernel-source-2.6.18.2-34 and let YAST install it for you.


Quote:

The installation I'm trying to is detailed at:

http://www.neology.co.za/support/MyWirelessLinuxDrivers
This seems an easy and well detailed HOWTO. So... after you have installed the above RPM you can proceed with the driver installation.

Post your successfull result and... good luck!


All times are GMT -5. The time now is 02:04 AM.