LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-24-2004, 03:17 PM   #1
davidjk
LQ Newbie
 
Registered: Dec 2004
Posts: 10

Rep: Reputation: 0
Talking Here is a real newb question...


How does the "make" command work? Im installing a driver for my wireless network card and in the readme it says:

make

Im running Fedora Core 3.

Thanks,
David
3rd day using Linux and still alive!
 
Old 12-24-2004, 03:23 PM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi there

go to ur source directory(using "cd ") of ur wireless card through shell, and follow the instructions there

like run

make
make install

regards
 
Old 12-24-2004, 03:59 PM   #3
davidjk
LQ Newbie
 
Registered: Dec 2004
Posts: 10

Original Poster
Rep: Reputation: 0
ok, now I have another question. I go to install the program and it gives me this.....

WARNING: Kernel seems to have 4K size stack option (CONFIG_4KSTACKS) removed; ma ny Windows drivers will need at least 8K size stacks. You should read wiki about 4K size stack issue. Don't complain about crashes until you resolve this.


make -C /lib/modules/2.6.9-1.667/build SUBDIRS=/home/david/dlink2/ndiswrapper-0. 12/driver \
NDISWRAPPER_VERSION=0.12 \
EXTRA_VERSION= modules
/lib/modules/2.6.9-1.667/build/scripts/gcc-version.sh: line 11: gcc: command not found
/lib/modules/2.6.9-1.667/build/scripts/gcc-version.sh: line 12: gcc: command not found
make[2]: Entering directory `/lib/modules/2.6.9-1.667/build'
CC [M] /home/david/dlink2/ndiswrapper-0.12/driver/wrapper.o
/bin/sh: gcc: command not found
make[3]: *** [/home/david/dlink2/ndiswrapper-0.12/driver/wrapper.o] Error 127
make[2]: *** [_module_/home/david/dlink2/ndiswrapper-0.12/driver] Error 2
make[2]: Leaving directory `/lib/modules/2.6.9-1.667/build'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/david/dlink2/ndiswrapper-0.12/driver'
make: *** [install] Error 2

What am I doing wrong??
Thanks, David
3rd day linux user and only slightly mad at it.
 
Old 12-24-2004, 04:50 PM   #4
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
whjat i can see is that

u do not have gcc installed
and the kernel source also seems to be missing
these are in there FC3 CDs
for a newbie i recommend going for a full install so that these problems do not bother u

regards
 
Old 12-24-2004, 06:11 PM   #5
davidjk
LQ Newbie
 
Registered: Dec 2004
Posts: 10

Original Poster
Rep: Reputation: 0
Ok, I will do that. Can I do that without formating the hard drive? Also, should I install both of the GUIs?
Thanks,
David
 
Old 12-24-2004, 06:18 PM   #6
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Sure ... just use redhat-config-packages (I think it may be system-config-packages in Fedora, not 100% sure) and select all the packages you didn't install.

You don't really need both KDE and Gnome, but why not install them both to try them out?
 
Old 12-25-2004, 03:06 AM   #7
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
yes

try both if u have some disk space
and as mentioned above u do not need to re-install

regards
 
Old 12-27-2004, 12:22 PM   #8
davidjk
LQ Newbie
 
Registered: Dec 2004
Posts: 10

Original Poster
Rep: Reputation: 0
So yeah...

I tried putting the other software on and it killed the computer. Now it won't boot. I think im going back to windows for now, thanks anyway guys.
David
 
Old 12-27-2004, 02:25 PM   #9
halo14
Senior Member
 
Registered: Apr 2004
Location: Surprise, AZ
Distribution: Debian | CentOS | Arch
Posts: 1,103

Rep: Reputation: 45
"killed thecompter" doesn't give us a very good definition fo your problem. I assume you mean it won't boot up, so whre did it stop?

Since you apparently are pretty new to linux, I assume there was nothing important on there that you lost if your already running back to windows. So do this:

1. reinstall Fedora Core 3 and choose the "everything" option
2. run all of the updates
3. you probably don't actually need to compile the driver for the wireless card, what is the make/model/version?

My bet is that you simply need to go in and activate the wireless card.

Good luck.
 
Old 12-27-2004, 04:04 PM   #10
ssimontis
Member
 
Registered: Apr 2004
Location: USA
Distribution: Fedora Core 3
Posts: 128

Rep: Reputation: 15
Quote:
Originally posted by davidjk
ok, now I have another question. I go to install the program and it gives me this.....

WARNING: Kernel seems to have 4K size stack option (CONFIG_4KSTACKS) removed; ma ny Windows drivers will need at least 8K size stacks. You should read wiki about 4K size stack issue. Don't complain about crashes until you resolve this.


make -C /lib/modules/2.6.9-1.667/build SUBDIRS=/home/david/dlink2/ndiswrapper-0. 12/driver \
NDISWRAPPER_VERSION=0.12 \
EXTRA_VERSION= modules
/lib/modules/2.6.9-1.667/build/scripts/gcc-version.sh: line 11: gcc: command not found
/lib/modules/2.6.9-1.667/build/scripts/gcc-version.sh: line 12: gcc: command not found
make[2]: Entering directory `/lib/modules/2.6.9-1.667/build'
CC [M] /home/david/dlink2/ndiswrapper-0.12/driver/wrapper.o
/bin/sh: gcc: command not found
make[3]: *** [/home/david/dlink2/ndiswrapper-0.12/driver/wrapper.o] Error 127
make[2]: *** [_module_/home/david/dlink2/ndiswrapper-0.12/driver] Error 2
make[2]: Leaving directory `/lib/modules/2.6.9-1.667/build'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/david/dlink2/ndiswrapper-0.12/driver'
make: *** [install] Error 2

What am I doing wrong??
Thanks, David
3rd day linux user and only slightly mad at it.
Get a patch for 8K stack issue. I see you are using ndiswrapper, so do what it says. Go to the ndiswrapper wbesite, and find the distro specific instructions. Then, follow the instructions to fix the 4K statck size option.
 
Old 12-28-2004, 04:42 PM   #11
davidjk
LQ Newbie
 
Registered: Dec 2004
Posts: 10

Original Poster
Rep: Reputation: 0
Sorry about that. I was just mad with it. Well I know I can just reinstall it but by 'killed the computer' I ment that Linex messed up my MBR and now I can only use 1.2gb out of my 80gb! Fdisk says that is all the space I have.(Yes, I am useing an Fdisk that supports FAT32)
The wireless card I was trying to use is a D-Link DWL-G510.
 
  


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
i know, it's a real newb ? neurosys Linux - Software 3 09-30-2004 05:00 AM
a real Newb!...swap and performance questions Kaiowas Slackware 5 06-29-2004 01:44 PM
some real newb questions ach1lles Linux - Software 8 02-28-2004 11:41 PM
dual display question - real real newbie !! Jay_Dee007 Linux - Newbie 1 09-29-2003 09:33 AM
real NEWB question about Wine calimer Linux - Software 2 04-23-2003 02:23 PM


All times are GMT -5. The time now is 11:27 AM.

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