Kubuntu: C Library is not installed

Asked by hobbes84k

I am trying to install ndiswrapper to be able to use my wireless router on Kubuntu. The installation creates the following errors:

gcc -g -Wall -I../driver -o loadndisdriver loadndisdriver.c
...: error: stdlib.h: No such file or directory
...: error: stdio.h: No such file or directory

and so on...

I've been able to install gcc and run build-essential through searching the internet, but can't find how to install the C library (that is my problem, right?). One site told me to use 'emerge boost' but I just get the error:

bash: emerge: command not found

Any ideas?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
marcobra (Marco Braida)
Solved:
Last query:
Last reply:
Revision history for this message
hobbes84k (kcrobinson) said :
#1

I found through another thread to run:

$ sudo apt-get install libc6-dev

Unfortunately that didn't seem to fix my problem either.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#2

emerge is a Gentoo command
http://learn.clemsonlinux.org/wiki/Gentoo:emerge
you don't have it on Ubuntu

What is the brand and model of your wireless router...?

Thank you

Revision history for this message
hobbes84k (kcrobinson) said :
#3

D-Link Model DWL-520 v.D

The dlink.com website doesn't have a linux driver for it.

Revision history for this message
Best marcobra (Marco Braida) (marcobra) said :
#4

I think the best solution for you is to install Windows .inf driver for your device using the ndiswrapper Ubuntu package

http://ubuntuforums.org/showthread.php?t=507939

To install ndiswrapper-utils (you must be connect your ubuntu pc with ethernet connection):

Open a Terminal from the menu Applications->Accessories->Terminal and type:

sudo aptitude install ndiswrapper-utils

give your user password when requested, you don't see nothing when you type it, then press enter.

HTH

Revision history for this message
hobbes84k (kcrobinson) said :
#5

Thanks elart.it, that solved my question.