Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Linux and Unix
Tag Cloud
access audio black screen blue screen boot bsod connection crash dell desktop drivers dvd email error excel excel 2003 firefox hard drive hardware hdmi hijackthis internet keyboard laptop malware monitor motherboard network networking outlook problem recovery router safe mode screen slow sound spyware tdlwsp.dll trojan vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
Ndiswrapper "make" error?

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
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 14,984 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 1944
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 14,984 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 1944
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 14,984 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.
Closed Thread Bookmark and Share

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 02:59 AM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.