LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem compiling driver (https://www.linuxquestions.org/questions/linux-newbie-8/problem-compiling-driver-663527/)

easye190 08-18-2008 03:23 AM

problem compiling driver
 
i am very new to linux, and am trying to learn as i go but i have hit a (hopefully small roadblock) if anybody could help (this Idiot) get over this hump i wont be able to say Thank You enough,
  1. build instructions
  • unpack driver sources and go to the Module dir:
    $tar -xvzf rt73-cvs-daily.tar.gz
    $ cd ./rt73-cvs-yyyymmddhh/Module
  1. Compile the driver sources:
  • $ make
this is where my problem is
[ed@localhost tmp]$cd ./rt73-cvs-2008081111/Module
[ed@localhost Modules]$ makefile
bash: makefile: command not found
[ed@localhost Modules]$ ls
assoc.c Makefile rt2x00debug.c rtmp.h rtmp_wep.c TESTING
auth.c md5.c rt2x00debug.h rtmp_infor.c rtusb_bulk.c wpa.c
auth_rsp.c md5.h rt73.bin rtmp_init.c rtusb_data.c wpa.h
i have tried for hours different ways and still no go any help i would be very grateful
:confused:

Tinkster 08-18-2008 03:44 AM

Hi,
Welcome to LQ!

The command to make is just make, not makefile.


Cheers,
Tink

easye190 08-18-2008 03:49 AM

i have tried the command make and still get command not found thanks ed :]

matthalliday 08-18-2008 04:30 AM

I might be guessing that the 'make' package is not currently on your distro.

meglioilmarco 08-18-2008 07:20 AM

Which distro do you use?
Have you read files like INSTALL or README inside the tarball?
Porbably is not necessary "give" a make...

bye

estabroo 08-18-2008 08:44 AM

if this is debian or ubuntu for compiling kernel modules its easiest to install module-assistant and then type m-a prepare
that installs build-essentials and the proper kernel headers for your running kernel

easye190 08-18-2008 01:12 PM

the distro i'm usins is mantriva. kernel 2.6.24 i have looked in files and folders and cannot locate any 'make command' i dont have internet access on this comp. untill i get my wireless going

Tinkster 08-18-2008 01:32 PM

Check whether there's any development tools (compiler(s),
make, autoconf, ... ) on your installation media.

easye190 08-18-2008 02:18 PM

in my system files i have
compiler usr/lib/python2.5 size 4,096 read-only
autoconf proc/sys/net/ipv6 size 0 read-only
and zero on the make
again thank everybody for the help

jomen 08-18-2008 03:09 PM

You are trying to get wireless to work? A Ralink rt73 device?

What distribution is it you are using?

[edit]
sorry - overlooked that you said it was mandriva
[/edit]

The device is supported in recent distributions (it's more a matter of what kernel these use - in 2.6.26 it is definitely supported).

Is wireless the _only_ way to access the net?
Do you have CD's from which you could install the needed software (development tools)?

easye190 08-19-2008 02:35 AM

i can download to CD's at work no problem there just don't know what else it is that i need, when i go to software management..... in that list there is nothing to pick for development

jomen 08-19-2008 03:56 PM

I don't know what the GUI for installing software in Mandriva looks like.
You need so called "development tools" like a compiler (gcc), make and autoconf to be able to compile software from source - which is what you try to do.
Look for those names.

Or:look for a newer kernel.
As I said - the chipset is supported in 2.6.26. With this kernel you would not need to compile anything.

meglioilmarco 08-28-2008 12:31 PM

Post the output of the command:
Code:

ls
after you are entered in the directory


All times are GMT -5. The time now is 04:40 PM.