There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
access audio avg avg 8 bios blue screen boot bsod computer connection cpu crash css dell desktop dma driver drivers dvd email error excel explorer firefox firefox 3 freeze gimp graphics hard drive hardware hijackthis hjt install internet internet explorer itunes keyboard laptop macro malware monitor motherboard network networking outlook outlook 2003 outlook 2007 outlook express pio problem problems router seo server slow sound sp3 spyware trojan usb video virtumonde virus vista vundo windows windows vista windows xp winxp wireless
UNIX/Linux
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Operating Systems > UNIX/Linux >
Ndiswrapper "make" error?


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

 
Thread Tools
jstarks4444's Avatar
Junior Member with 5 posts.
 
Join Date: Nov 2006
23-Nov-2006, 09:18 AM #1
Ndiswrapper "make" error?
Hey, I'm trying to configure a Linksys WUSB54G network adapter to work on Xubuntu. If I'm not mistaken the default drivers don't work and I need to install "ndiswrapper". I downloaded version 1.8 and unarchived it. When I tried

sudo make distclean
sudo make
sudo make install

however I was getting various errors such as "implicit declaration of function --"

How can I fix this problem? All help appreciated!
lotuseclat79's Avatar
Distinguished Member with 10,037 posts.
 
Join Date: Sep 2003
Location: -71.45091, 42.27841
24-Nov-2006, 11:02 AM #2
Quote:
Originally Posted by jstarks4444
Hey, I'm trying to configure a Linksys WUSB54G network adapter to work on Xubuntu. If I'm not mistaken the default drivers don't work and I need to install "ndiswrapper". I downloaded version 1.8 and unarchived it. When I tried

sudo make distclean
sudo make
sudo make install

however I was getting various errors such as "implicit declaration of function --"

How can I fix this problem? All help appreciated!
Hi jstarks4444,

Without posting the detail of your make output, its difficult to help.

Typically, I capture make's output by using the C-shell command:
make >& make.all

If you are using the bash shell, then you need to do something like what is required for capturing the output of make using the Bourne Shell, i.e. /bin/sh which /bin/bash can process, such as:
make 1>out.1 2>out.2 or something like that (I need to look it up as I haven't used sh in a while).

Implicit declaration of function may mean that you do not have some standard header files installed or may be for some other reason - can't tell by what you posted.

List the detail of your make output if you want further help.

-- Tom
__________________
The independence created by philosophical insight is - in my opinion - the mark of distinction between a mere artisan or specialist and a real seeker after truth. - Einstein wrote in 1944.

Some say knowledge is power, I say knowledge without action is powerless. - lotuseclat79

Don't confuse action with movement. - Hemingway to Gardner

Imagination is more important than knowledge. - Einstein
jstarks4444's Avatar
Junior Member with 5 posts.
 
Join Date: Nov 2006
24-Nov-2006, 01:05 PM #3
You see, the problem with using aptitude and synaptic is that I am not connected to the Internet in the first place! I need to find another way to install any necessary packages....I read somewhere that one needs "libc-dev", might that have anything to do with it?

Some of the error messages are:

loadndisdriver.c:605: error: 'LOG_CONS' undeclared (first use in this function)
loadndisdriver.c:611:warning: implicit declaration of function 'strncmp'
make [1]: *** [loadndisdriver] Error 1
lotuseclat79's Avatar
Distinguished Member with 10,037 posts.
 
Join Date: Sep 2003
Location: -71.45091, 42.27841
24-Nov-2006, 02:26 PM #4
Quote:
Originally Posted by jstarks4444
You see, the problem with using aptitude and synaptic is that I am not connected to the Internet in the first place! I need to find another way to install any necessary packages....I read somewhere that one needs "libc-dev", might that have anything to do with it?

Some of the error messages are:

loadndisdriver.c:605: error: 'LOG_CONS' undeclared (first use in this function)
loadndisdriver.c:611:warning: implicit declaration of function 'strncmp'
make [1]: *** [loadndisdriver] Error 1
It very much looks like it might be the case.

One thing you can do is to google for "stmcmp" and locate which header file it is declared in and thus which library it might be a part of that implements the function, such that you would have to install both the header file to get through the compilation for ndiswrapper and the (shared? dynamic library) to provide the runtime link to the function that would get loaded into memory.

-- Tom
__________________
The independence created by philosophical insight is - in my opinion - the mark of distinction between a mere artisan or specialist and a real seeker after truth. - Einstein wrote in 1944.

Some say knowledge is power, I say knowledge without action is powerless. - lotuseclat79

Don't confuse action with movement. - Hemingway to Gardner

Imagination is more important than knowledge. - Einstein
jstarks4444's Avatar
Junior Member with 5 posts.
 
Join Date: Nov 2006
24-Nov-2006, 08:36 PM #5
Is there anyway I can install the necessary files without hardwiring the computer to the router?
lotuseclat79's Avatar
Distinguished Member with 10,037 posts.
 
Join Date: Sep 2003
Location: -71.45091, 42.27841
25-Nov-2006, 12:09 PM #6
Get the files from another system and copy them to media that is compatible with your system, then copy/install them to your system using CD/DVD/floppy.

-- Tom
fenderfreek's Avatar
Computer Specs
Senior Member with 201 posts.
 
Join Date: Mar 2006
Location: Raleigh, NC
Experience: Advanced
29-Nov-2006, 06:25 PM #7
Make sure you run
Code:
./configure
first. That sets up the objects and libs you need to compile for your particular system. If you're missing a particular library, it will usually tell you.
Check your GCC version too. Try using an older version, b/c 2.96 has known issues with libraries and interfaces and such.
__________________
NCSU CSC Major
Registered Linux user #433004
  • Dell Vostro 1500 with Ubuntu 7.10
  • Intel Q6600 Quad Desktop running XP Pro
If this helped you, please take the time to rate the value of this post: http://rate.affero.net/fenderfreek/

Windows [n.] - A thirty-two bit extension and GUI shell to a sixteen bit patch to an eight bit operating system originally coded for a four bit microprocessor and sold by a two-bit company that can't stand one bit of competition.
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are Off
Refbacks are Off

You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 06:01 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.