PDA

View Full Version : [noob] 'make' command help



yelserp87
17th April 2008, 07:43 AM
OK so I am following this tut so I can get my wifi drivers working:

http://madwifi.org/wiki/UserDocs/FirstTimeHowTo

and when I get to to here:

http://madwifi.org/wiki/UserDocs/FirstTimeHowTo#BuildingMadWifi

the make command does not work. it just says:

sudo: make: command not found

I am running Fedora 8 64bit. Any help or direction would be great! Thanks!

Seve
17th April 2008, 07:56 AM
Hello:
Please read some more about the basics of using Fedora ---->The Unofficial Fedora FAQ (http://www.fedorafaq.org/)

sudo, although available is not set up by default
See http://www.mjmwired.net/resources/mjm-fedora-f8.html#sudo to help you with that.

make and other development packages may or may not be isntalled , depending upon your installation ?

try

yum groupinstall "Development Tools" "Legacy Software Development"

using the exact syntax including the quotes

Seve

Nokia
17th April 2008, 09:46 AM
Well, if you want to compile, knock yourself out :)

If interested, you could try
su -l

rpm -Uvh http://rpm.livna.org/livna-release-8.rpm

yum install kmod-madwifi

yelserp87
18th April 2008, 12:35 AM
Well my main problem is I need a driver for fedora so I can connect tot he internet. So yum is a no go. Currently I am duo booting fed8 + xp pro. My tubes work fine on XP but fed doesnt display any wifi networks on fed and it is easy to assume I need to download the linux driver for my pci card to work in linux.

and about sudo...I can only login as root for now (I didnt type in a pass for my user account and but apparently it has default one I dont know about). When I type "make" without sudo it just says bash: make: command not found. I realize now that I need to install make.

I am still running into difficulties with the driver though. I got the file:
http://livna-dl.reloumirrors.net/fedora/8/x86_64/
madwifi-devel-0.9.4-1.lvn8.x86_64.rpm

But for some reason when I tried to run the rpm it wanted to connect to the internet. So I extracted to archive and put each contents in their respectable locations but still have a no go with getting the tubes on fed 8.

BTW does that look like the right driver file? I just now noticed there are like a bunch of madwifi drivers there...

Nokia
18th April 2008, 01:04 AM
Well you're far off track. Don't you have wired access at all ? Your quickest way out of this mess is to follow my previous instructions. Please post
uname -a
lspci -v

yelserp87
18th April 2008, 09:24 PM
[root@localhost ~]# uname -a
Linux localhost.localdomain 2.6.23.1-42.fc8 #1 SMP Tue Oct 30 13:18:33 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost ~]# lspci -v
00:00.0 Host bridge: nVidia Corporation C55 Host Bridge (rev a2)
Subsystem: nVidia Corporation Unknown device 0162
Flags: bus master, 66MHz, fast devsel, latency 0
Capabilities: [40] HyperTransport: Host or Secondary Interface

00:00.1 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
Subsystem: nVidia Corporation Unknown device 0162
Flags: 66MHz, fast devsel

00:00.2 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
Subsystem: nVidia Corporation Unknown device 0162
Flags: 66MHz, fast devsel

00:00.3 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
Subsystem: nVidia Corporation Unknown device 0162
Flags: bus master, 66MHz, fast devsel, latency 0

00:00.4 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
Subsystem: nVidia Corporation Unknown device 0162
Flags: bus master, 66MHz, fast devsel, latency 0

00:00.5 RAM memory: nVidia Corporation C55 Memory Controller (rev a2)
Subsystem: nVidia Corporation Unknown device 0162
Flags: bus master, 66MHz, fast devsel, latency 0

00:00.6 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
Subsystem: nVidia Corporation Unknown device 0162
Flags: 66MHz, fast devsel

00:00.7 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
Subsystem: nVidia Corporation Unknown device 0162
Flags: 66MHz, fast devsel

00:01.0 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
Subsystem: nVidia Corporation Unknown device 0162
Flags: 66MHz, fast devsel

00:01.1 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
Subsystem: nVidia Corporation Unknown device 0162
Flags: 66MHz, fast devsel

00:01.2 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
Subsystem: nVidia Corporation Unknown device 0162
Flags: 66MHz, fast devsel

00:01.3 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
Subsystem: nVidia Corporation Unknown device 0162
Flags: 66MHz, fast devsel

00:01.4 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
Subsystem: nVidia Corporation Unknown device 0162
Flags: 66MHz, fast devsel

00:01.5 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
Subsystem: nVidia Corporation Unknown device 0162
Flags: 66MHz, fast devsel

00:01.6 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
Subsystem: nVidia Corporation Unknown device 0162
Flags: 66MHz, fast devsel

00:02.0 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
Subsystem: nVidia Corporation Unknown device 0162
Flags: 66MHz, fast devsel

00:02.1 RAM memory: nVidia Corporation Unknown device 03bc (rev a1)
Subsystem: nVidia Corporation Unknown device 0162
Flags: bus master, 66MHz, fast devsel, latency 0

00:02.2 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
Subsystem: nVidia Corporation Unknown device 0162
Flags: 66MHz, fast devsel

00:03.0 PCI bridge: nVidia Corporation C55 PCI Express bridge (rev a1) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 0000a000-0000afff
Memory behind bridge: ca000000-cdffffff
Prefetchable memory behind bridge: 00000000b0000000-00000000bfffffff
Capabilities: [40] Subsystem: nVidia Corporation Unknown device 0c55
Capabilities: [48] Power Management version 2
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ Queue=0/1 Enable+
Capabilities: [60] HyperTransport: MSI Mapping
Capabilities: [80] Express Root Port (Slot+) IRQ 0

00:06.0 PCI bridge: nVidia Corporation C55 PCI Express bridge (rev a1) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
I/O behind bridge: 00008000-00008fff
Memory behind bridge: cfd00000-cfdfffff
Prefetchable memory behind bridge: 00000000cfa00000-00000000cfafffff
Capabilities: [40] Subsystem: nVidia Corporation Unknown device 0c55
Capabilities: [48] Power Management version 2
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ Queue=0/1 Enable+
Capabilities: [60] HyperTransport: MSI Mapping
Capabilities: [80] Express Root Port (Slot+) IRQ 0

00:07.0 PCI bridge: nVidia Corporation C55 PCI Express bridge (rev a1) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
I/O behind bridge: 0000b000-0000bfff
Memory behind bridge: cf900000-cf9fffff
Prefetchable memory behind bridge: 00000000cfe00000-00000000cfefffff
Capabilities: [40] Subsystem: nVidia Corporation Unknown device 0c55
Capabilities: [48] Power Management version 2
Capabilities: [50] Message Signalled Interrupts: Mask- 64bit+ Queue=0/1 Enable+
Capabilities: [60] HyperTransport: MSI Mapping
Capabilities: [80] Express Root Port (Slot+) IRQ 0

00:09.0 RAM memory: nVidia Corporation MCP51 Host Bridge (rev a2)
Subsystem: nVidia Corporation Unknown device 0162
Flags: bus master, 66MHz, fast devsel, latency 0
Capabilities: [44] HyperTransport: Slave or Primary Interface
Capabilities: [e0] HyperTransport: MSI Mapping

00:0a.0 ISA bridge: nVidia Corporation MCP51 LPC Bridge (rev a3)
Subsystem: nVidia Corporation Unknown device 0162
Flags: bus master, 66MHz, fast devsel, latency 0

00:0a.1 SMBus: nVidia Corporation MCP51 SMBus (rev a3)
Subsystem: nVidia Corporation Unknown device 0162
Flags: 66MHz, fast devsel, IRQ 10
I/O ports at fc00 [size=64]
I/O ports at f800 [size=64]
Capabilities: [44] Power Management version 2

yelserp87
18th April 2008, 09:24 PM
00:0a.2 RAM memory: nVidia Corporation MCP51 Memory Controller 0 (rev a3)
Subsystem: nVidia Corporation Unknown device 0162
Flags: 66MHz, fast devsel

00:0b.0 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3) (prog-if 10 [OHCI])
Subsystem: nVidia Corporation Unknown device 0162
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 22
Memory at cffff000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2

00:0b.1 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3) (prog-if 20 [EHCI])
Subsystem: nVidia Corporation Unknown device 0162
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 23
Memory at cfffe000 (32-bit, non-prefetchable) [size=256]
Capabilities: [44] Debug port
Capabilities: [80] Power Management version 2

00:0d.0 IDE interface: nVidia Corporation MCP51 IDE (rev a1) (prog-if 8a [Master SecP PriP])
Subsystem: Unknown device f0de:0162
Flags: bus master, 66MHz, fast devsel, latency 0
[virtual] Memory at 000001f0 (32-bit, non-prefetchable) [disabled] [size=8]
[virtual] Memory at 000003f0 (type 3, non-prefetchable) [disabled] [size=1]
[virtual] Memory at 00000170 (32-bit, non-prefetchable) [disabled] [size=8]
[virtual] Memory at 00000370 (type 3, non-prefetchable) [disabled] [size=1]
I/O ports at f400 [size=16]
Capabilities: [44] Power Management version 2

00:0e.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev a1) (prog-if 85 [Master SecO PriO])
Subsystem: nVidia Corporation Unknown device 0162
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 21
I/O ports at 09f0 [size=8]
I/O ports at 0bf0 [size=4]
I/O ports at 0970 [size=8]
I/O ports at 0b70 [size=4]
I/O ports at e000 [size=16]
Memory at cfffd000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2
Capabilities: [b0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/2 Enable-
Capabilities: [cc] HyperTransport: MSI Mapping

00:0f.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev a1) (prog-if 85 [Master SecO PriO])
Subsystem: nVidia Corporation Unknown device 0162
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 20
I/O ports at 09e0 [size=8]
I/O ports at 0be0 [size=4]
I/O ports at 0960 [size=8]
I/O ports at 0b60 [size=4]
I/O ports at cc00 [size=16]
Memory at cfffc000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [44] Power Management version 2
Capabilities: [b0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/2 Enable-
Capabilities: [cc] HyperTransport: MSI Mapping

00:10.0 PCI bridge: nVidia Corporation MCP51 PCI Bridge (rev a2) (prog-if 01 [Subtractive decode])
Flags: bus master, 66MHz, fast devsel, latency 0
Bus: primary=00, secondary=04, subordinate=04, sec-latency=32
I/O behind bridge: 00009000-00009fff
Memory behind bridge: cfc00000-cfcfffff
Prefetchable memory behind bridge: cfb00000-cfbfffff
Capabilities: [b8] Subsystem: nVidia Corporation Unknown device cb84
Capabilities: [8c] HyperTransport: MSI Mapping

00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2)
Subsystem: nVidia Corporation Unknown device 0162
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 22
Memory at cfff4000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [44] Power Management version 2
Capabilities: [50] Message Signalled Interrupts: Mask+ 64bit+ Queue=0/0 Enable-
Capabilities: [6c] HyperTransport: MSI Mapping

00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a3)
Subsystem: nVidia Corporation Unknown device 0162
Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 23
Memory at cfffb000 (32-bit, non-prefetchable) [size=4K]
I/O ports at c800 [size=8]
Capabilities: [44] Power Management version 2

01:00.0 VGA compatible controller: nVidia Corporation G80 [GeForce 8800 GTS] (rev a2) (prog-if 00 [VGA])
Subsystem: nVidia Corporation Unknown device 0420
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at cc000000 (32-bit, non-prefetchable) [size=16M]
Memory at b0000000 (64-bit, prefetchable) [size=256M]
Memory at ca000000 (64-bit, non-prefetchable) [size=32M]
I/O ports at ac00 [size=128]
[virtual] Expansion ROM at cd000000 [disabled] [size=128K]
Capabilities: [60] Power Management version 2
Capabilities: [68] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
Capabilities: [78] Express Endpoint IRQ 0

04:08.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
Subsystem: Netgear Unknown device 5a00
Flags: bus master, medium devsel, latency 8, IRQ 11
Memory at cfcf0000 (32-bit, non-prefetchable) [size=64K]
Capabilities: [44] Power Management version 2

Nokia
18th April 2008, 09:34 PM
Well, this http://forums.fedoraforum.org/forum/showthread.php?t=186483 is considered a double post and it's not allowed on any forum.

You already have your answers.

yelserp87
18th April 2008, 09:42 PM
Sorry about that. I made the second because I though it would be more clear to what I was asking. I will continue there.
*requests lock*

Nokia
18th April 2008, 09:45 PM
No problem. Just keep that in mind next time, on any given forum ;)