LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-18-2008, 04:23 AM   #1
easye190
LQ Newbie
 
Registered: Aug 2008
Location: down south
Distribution: mandriva
Posts: 5

Rep: Reputation: 0
Question 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
 
Old 08-18-2008, 04:44 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Hi,
Welcome to LQ!

The command to make is just make, not makefile.


Cheers,
Tink
 
Old 08-18-2008, 04:49 AM   #3
easye190
LQ Newbie
 
Registered: Aug 2008
Location: down south
Distribution: mandriva
Posts: 5

Original Poster
Rep: Reputation: 0
i have tried the command make and still get command not found thanks ed :]

Last edited by easye190; 08-18-2008 at 04:51 AM.
 
Old 08-18-2008, 05:30 AM   #4
matthalliday
Member
 
Registered: Jan 2006
Location: Brisbane, Australia
Distribution: Suse, Mandrake, IPCop, Debian, Slackware
Posts: 34

Rep: Reputation: 15
I might be guessing that the 'make' package is not currently on your distro.
 
Old 08-18-2008, 08:20 AM   #5
meglioilmarco
LQ Newbie
 
Registered: Aug 2008
Location: ITALY
Distribution: Ubuntu 10.04
Posts: 22

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

bye
 
Old 08-18-2008, 09:44 AM   #6
estabroo
Senior Member
 
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,125
Blog Entries: 2

Rep: Reputation: 124Reputation: 124
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
 
Old 08-18-2008, 02:12 PM   #7
easye190
LQ Newbie
 
Registered: Aug 2008
Location: down south
Distribution: mandriva
Posts: 5

Original Poster
Rep: Reputation: 0
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
 
Old 08-18-2008, 02:32 PM   #8
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Check whether there's any development tools (compiler(s),
make, autoconf, ... ) on your installation media.
 
Old 08-18-2008, 03:18 PM   #9
easye190
LQ Newbie
 
Registered: Aug 2008
Location: down south
Distribution: mandriva
Posts: 5

Original Poster
Rep: Reputation: 0
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
 
Old 08-18-2008, 04:09 PM   #10
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 54
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)?

Last edited by jomen; 08-18-2008 at 04:14 PM.
 
Old 08-19-2008, 03:35 AM   #11
easye190
LQ Newbie
 
Registered: Aug 2008
Location: down south
Distribution: mandriva
Posts: 5

Original Poster
Rep: Reputation: 0
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
 
Old 08-19-2008, 04:56 PM   #12
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 54
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.
 
Old 08-28-2008, 01:31 PM   #13
meglioilmarco
LQ Newbie
 
Registered: Aug 2008
Location: ITALY
Distribution: Ubuntu 10.04
Posts: 22

Rep: Reputation: 15
Post the output of the command:
Code:
ls
after you are entered in the directory
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in compiling a device driver program p.arun Linux - Kernel 4 01-23-2008 02:14 AM
Problem compiling RT73 driver maxmike83 Fedora 1 11-29-2006 10:20 AM
Problem compiling r8169 driver BeGosV Linux - Networking 2 02-23-2006 03:25 PM
problem compiling cx88 driver EchO Linux - Software 1 02-05-2006 12:02 AM
Problem with compiling modem driver csspcman Linux - Software 1 08-14-2003 02:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration