![]() |


|
|||||||
| Hardware & Software Discussion Hardware and Software discussion and troubleshooting. Tweakers and Overclockers welcome! |
![]() |
|
|
Thread Tools |
|
|
#1 (permalink) |
|
Join Date: Dec 2004
Location: South east england
Posts: 8,839
|
Complile linux source code?
I've got a device driver that I need to install, but there's zero documentation for linux, just the drivers. How do I install the device?
__________________
BFCL TF2 league admin
![]() |
|
|
|
|
|
#2 (permalink) |
|
Join Date: Feb 2006
Location: United Kingdom
Age: 18
Posts: 2,036
|
Re: Complile linux source code?
To quote my response from your other thread, "You sure it doesn't work anyway? A lot of obscure hardware works with Linux out of the box."
__________________
|TG-E17th|Lorian Member since 18th February 2006 Supporting member since 4th August 2006 PGP public key Processor: Intel Core 2 Duo E6420 Memory: 2x 1GB Corsair XMS2 DDR2-800 RAM Video Card: XFX NVIDIA GeForce 6800 XT 256MB Monitor: 17" Dell CRT and 15" generic LCD Sound Card: Creative X-Fi Xtrememusic and Creative Sound Blaster Live! (no Linux X-Fi drivers yet) ![]() ![]() ![]() ![]() |
|
|
|
| Sponsored links | |
|
|
|
|
|
#3 (permalink) |
|
Join Date: Dec 2004
Location: South east england
Posts: 8,839
|
Re: Complile linux source code?
None of my apps can find the internet, so I'd suggest it's not working. There was no activity to suggest hardware detection when I plugged the device in, nor the following time I started linux.
__________________
BFCL TF2 league admin
![]() |
|
|
|
|
|
#4 (permalink) |
![]() ![]() ![]() ![]() Join Date: Oct 2001
Location: Rhode Island, USA
Age: 36
Posts: 8,991
|
Re: Complile linux source code?
What is the device?
There's two things, you may need to just re-compile the kernel with support for the device and/or if you're rigged for loadable modules you may just need to insmod the driver.
__________________
Diplomacy is the art of saying "good doggie" while looking for a bigger stick.
|
|
|
|
|
|
#5 (permalink) |
|
Join Date: Feb 2006
Location: United Kingdom
Age: 18
Posts: 2,036
|
Re: Complile linux source code?
Go to the command line and type ifconfig, what shows up?
__________________
|TG-E17th|Lorian Member since 18th February 2006 Supporting member since 4th August 2006 PGP public key Processor: Intel Core 2 Duo E6420 Memory: 2x 1GB Corsair XMS2 DDR2-800 RAM Video Card: XFX NVIDIA GeForce 6800 XT 256MB Monitor: 17" Dell CRT and 15" generic LCD Sound Card: Creative X-Fi Xtrememusic and Creative Sound Blaster Live! (no Linux X-Fi drivers yet) ![]() ![]() ![]() ![]() |
|
|
|
|
|
#7 (permalink) |
|
Join Date: Feb 2006
Location: United Kingdom
Age: 18
Posts: 2,036
|
Re: Complile linux source code?
Next to etho1 what does it say next to inet addr:...
Mine says "inet addr:192.168.1.100 Bcast:192.168.1.255 Mask:255.255.255.0" for example.
__________________
|TG-E17th|Lorian Member since 18th February 2006 Supporting member since 4th August 2006 PGP public key Processor: Intel Core 2 Duo E6420 Memory: 2x 1GB Corsair XMS2 DDR2-800 RAM Video Card: XFX NVIDIA GeForce 6800 XT 256MB Monitor: 17" Dell CRT and 15" generic LCD Sound Card: Creative X-Fi Xtrememusic and Creative Sound Blaster Live! (no Linux X-Fi drivers yet) ![]() ![]() ![]() ![]() |
|
|
|
|
|
#8 (permalink) |
|
Join Date: Jul 2005
Posts: 4,494
|
Re: Complile linux source code?
The model of wifi adapter and perhaps a link to the manuf's webpage would really help people help you. Without seeing exactly what you are given, people are just left with guessing at what you need to do.
__________________
Battlefield Admin(BF2 Rules) (BF2142 Rules)
[volun2][medic][defense3][eng2][support] [sg-c1][gchq-c1][tog-c1][ma-c1][taw-c1][tg-c2] Support TG | Write for TacticalWiki | BF2 Sig. Generator | TS Help |
|
|
|
|
|
#10 (permalink) | |
|
Join Date: May 2003
Location: Ottawa, Canada
Posts: 4,625
|
Re: Complile linux source code?
Quote:
For the most part, I'm surprised there isn't any documentation on how to compile it. It's one of the things I hate about linux. There should be a make file you can run somewhere. It's usually make install or something. Are you using ndiswrapper? I've used it before and it supports a variety of wireless cards and adapters. It also has good documentation with it. I guess you're not since the drivers you have don't have docs. |
|
|
|
|
| Sponsored links | |
|
|
|
|
|
#11 (permalink) |
|
Join Date: Dec 2004
Location: South east england
Posts: 8,839
|
Re: Complile linux source code?
Let me see if I understand this correctly.
I know for a fact, that if I load a C file into a DOS C compiler, I can compile the code by going to the correct drop-down menu, and clicking on compile. What you guys are telling me, is that in linux, to compile C code, the answer could be beujolais, it could be avacado, or it could be an entire treatise on african cooking, depending on what the device is????? Surely there has to be an easier way to compile C code under linux?
__________________
BFCL TF2 league admin
![]() |
|
|
|
|
|
#12 (permalink) | |
|
Join Date: May 2003
Location: Ottawa, Canada
Posts: 4,625
|
Re: Complile linux source code?
Quote:
I think the point of this thread is to help you solve the wireless device problem. You only look at one solution (how to compile source code) instead of alternative solutions. Unless, you really just want to know how to compile C code in linux and want to solve the wireless device problem yourself. Now, what drivers are you using? Maybe someone can download them too and figure out where the make file is you have to run to start the compiling process. From my linux experience, every driver I've compiled has been like this. There's a make file and it kick starts the process. |
|
|
|
|
|
|
#13 (permalink) |
|
Join Date: Jul 2005
Posts: 4,494
|
Re: Complile linux source code?
gcc is the C++ compiler.
tar jxvf file.tar.bz2 ; cd file ; make ; make install ; modprobe module That's the best instructions I can give you without knowing what exactly you are working with. Why make this so hard?
__________________
Battlefield Admin(BF2 Rules) (BF2142 Rules)
[volun2][medic][defense3][eng2][support] [sg-c1][gchq-c1][tog-c1][ma-c1][taw-c1][tg-c2] Support TG | Write for TacticalWiki | BF2 Sig. Generator | TS Help |
|
|
|
|
|
#14 (permalink) |
|
Join Date: Feb 2006
Location: United Kingdom
Age: 18
Posts: 2,036
|
Re: Complile linux source code?
If there is an INSTALL file read it, if not, run ./configure if there is a configure file, then make, then sudo make install
__________________
|TG-E17th|Lorian Member since 18th February 2006 Supporting member since 4th August 2006 PGP public key Processor: Intel Core 2 Duo E6420 Memory: 2x 1GB Corsair XMS2 DDR2-800 RAM Video Card: XFX NVIDIA GeForce 6800 XT 256MB Monitor: 17" Dell CRT and 15" generic LCD Sound Card: Creative X-Fi Xtrememusic and Creative Sound Blaster Live! (no Linux X-Fi drivers yet) ![]() ![]() ![]() ![]() |
|
|
|
| Sponsored links | |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to query server list? | Lorian | Battlefield 2 - Technical Support & FAQs | 4 | 03-14-2006 12:22 AM |
| Counter-Strike: Source Update 01.18.06 | poe | Counter-Strike - General Discussion | 2 | 01-25-2006 07:58 PM |
| Day of Defeat Source and Dystopia Servers | Apophis | Tactical Gamer News Items | 8 | 09-28-2005 12:12 AM |
| Counter Strike Source Linux | Mateo | Counter-Strike - General Discussion | 0 | 04-22-2005 01:35 AM |

