LinuxQuestions.org
Help answer threads with 0 replies.
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 02-12-2009, 04:23 AM   #1
noiz354
LQ Newbie
 
Registered: Feb 2009
Posts: 18

Rep: Reputation: 0
Talking error when instaling ndiswrapper


i'm new in this forum
and i'm confusing in installing ndiswrapper in 2.6.25-14.fc9.i686
or fedora 9 i686
before i install ndiswrapper, i should install kernel-devel-2.6.25-14.fc9.i686.rpm and install gcc
and when it's done
i read INTALL in ndiswrapper ndiswrapper-1.54
it says
Quote:
Prerequisites
=============

You need a recent kernel, at least 2.6.16, with header files for the
kernel. Make sure there is a link to the kernel source from the modules
directory. The command

ls /lib/modules/`uname -r`/build

should have at least 'include' directory and '.config' file.
and when i check
Quote:
[root@localhost ndiswrapper-1.54]# ls /lib/modules/`uname -r`/build
arch drivers init lib Module.markers samples sound
block fs ipc Makefile Module.symvers scripts System.map
crypto include kernel mm net security usr
there is no ".config" file

and then i just ignored it & follow next instruction
and i very confused when i do that;
Quote:
norman@localhost ndiswrapper-1.54]$ make uninstall
which: no loadndisdriver in (/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/home/norman/bin)
which: no loadndisdriver in (/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/home/norman/bin)
which: no loadndisdriver in (/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/home/norman/bin)
which: no ndiswrapper in (/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/home/norman/bin)
which: no ndiswrapper in (/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/home/norman/bin)
which: no ndiswrapper in (/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/home/norman/bin)
which: no ndiswrapper-buginfo in (/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/home/norman/bin)
which: no ndiswrapper-buginfo in (/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/home/norman/bin)
which: no ndiswrapper-buginfo in (/usr/kerberos/bin:/usr/local/bin:/usr/bin:/bin:/home/norman/bin)
NOTE: Not all installed files are removed, as different distributions install ndiswrapper files at different places.
Run uninstall as many times as necessary until no "removing" messages appear below.
[norman@localhost ndiswrapper-1.54]$ make
make -C driver
make[1]: Entering directory `/home/norman/Documents/ndiswrapper-1.54/driver'


*** WARNING: This kernel uses 4K stack size option
(CONFIG_4KSTACKS); many Windows drivers will not work
with this option enabled. Disable CONFIG_4KSTACKS
in kernel's .config file, recompile and install kernel


make -C /usr/src/kernels/2.6.25-14.fc9.i686 M=/home/norman/Documents/ndiswrapper-1.54/driver
make[2]: Entering directory `/usr/src/kernels/2.6.25-14.fc9.i686'
rm: cannot remove `/home/norman/Documents/ndiswrapper-1.54/driver/.tmp_versions/ndiswrapper.mod': Permission denied
make[2]: *** [crmodverdir] Error 1
make[2]: Leaving directory `/usr/src/kernels/2.6.25-14.fc9.i686'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/home/norman/Documents/ndiswrapper-1.54/driver'
make: *** [all] Error 2

[root@localhost ndiswrapper-1.54]# make
make -C driver
make[1]: Entering directory `/home/norman/Documents/ndiswrapper-1.54/driver'


*** WARNING: This kernel uses 4K stack size option
(CONFIG_4KSTACKS); many Windows drivers will not work
with this option enabled. Disable CONFIG_4KSTACKS
in kernel's .config file, recompile and install kernel


make -C /usr/src/kernels/2.6.25-14.fc9.i686 M=/home/norman/Documents/ndiswrapper-1.54/driver
make[2]: Entering directory `/usr/src/kernels/2.6.25-14.fc9.i686'
MKEXPORT /home/norman/Documents/ndiswrapper-1.54/driver/crt_exports.h
CC [M] /home/norman/Documents/ndiswrapper-1.54/driver/crt.o
MKEXPORT /home/norman/Documents/ndiswrapper-1.54/driver/hal_exports.h
CC [M] /home/norman/Documents/ndiswrapper-1.54/driver/hal.o
MKEXPORT /home/norman/Documents/ndiswrapper-1.54/driver/ndis_exports.h
CC [M] /home/norman/Documents/ndiswrapper-1.54/driver/ndis.o
MKEXPORT /home/norman/Documents/ndiswrapper-1.54/driver/ntoskernel_exports.h
CC [M] /home/norman/Documents/ndiswrapper-1.54/driver/ntoskernel.o
MKEXPORT /home/norman/Documents/ndiswrapper-1.54/driver/ntoskernel_io_exports.h
CC [M] /home/norman/Documents/ndiswrapper-1.54/driver/ntoskernel_io.o
MKEXPORT /home/norman/Documents/ndiswrapper-1.54/driver/rtl_exports.h
CC [M] /home/norman/Documents/ndiswrapper-1.54/driver/rtl.o
MKEXPORT /home/norman/Documents/ndiswrapper-1.54/driver/usb_exports.h
CC [M] /home/norman/Documents/ndiswrapper-1.54/driver/usb.o
LD [M] /home/norman/Documents/ndiswrapper-1.54/driver/ndiswrapper.o
Building modules, stage 2.
MODPOST 1 modules
LD [M] /home/norman/Documents/ndiswrapper-1.54/driver/ndiswrapper.ko
make[2]: Leaving directory `/usr/src/kernels/2.6.25-14.fc9.i686'
make[1]: Leaving directory `/home/norman/Documents/ndiswrapper-1.54/driver'
make -C utils
make[1]: Entering directory `/home/norman/Documents/ndiswrapper-1.54/utils'
gcc -g -Wall -I../driver -o loadndisdriver loadndisdriver.c
/usr/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make[1]: *** [loadndisdriver] Error 1
make[1]: Leaving directory `/home/norman/Documents/ndiswrapper-1.54/utils'
make: *** [all] Error 2
and this is my lsusb and lspci
Quote:
[root@localhost ndiswrapper-1.54]# lsusb
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 004: ID 13fe:1d00 Kingston Technology Company Inc. DataTraveler 2.0 1GB/4GB Flash Drive
Bus 002 Device 002: ID 04f2:b070 Chicony Electronics Co., Ltd
Bus 002 Device 003: ID 0bda:8197 Realtek Semiconductor Corp. RTL8187B Wireless Adapter
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

[root@localhost ndiswrapper-1.54]# lspci
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 03)
00:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 6 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
07:00.0 Ethernet controller: Marvell Technology Group Ltd. Unknown device 4355 (rev 12)
0a:01.0 FireWire (IEEE 1394): O2 Micro, Inc. Firewire (IEEE 1394) (rev 02)
0a:01.2 SD Host controller: O2 Micro, Inc. Integrated MMC/SD Controller (rev 02)
0a:01.3 Mass storage controller: O2 Micro, Inc. Integrated MS/xD Controller (rev 01)
[root@localhost ndiswrapper-1.54]# lspci
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 03)
00:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 6 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
07:00.0 Ethernet controller: Marvell Technology Group Ltd. Unknown device 4355 (rev 12)
0a:01.0 FireWire (IEEE 1394): O2 Micro, Inc. Firewire (IEEE 1394) (rev 02)
0a:01.2 SD Host controller: O2 Micro, Inc. Integrated MMC/SD Controller (rev 02)
0a:01.3 Mass storage controller: O2 Micro, Inc. Integrated MS/xD Controller (rev 01)
now my questions are:

1.how to get ".config" file?
2.is there something wrong with my instalation?

thanx, and sorry about my english
 
Old 02-12-2009, 04:38 AM   #2
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Hi Noiz,
You seem to be going about this in an extremely complicated way. Are you try to compile your whole kernel? or just a the ndiswrapper module. If it's the latter option then you need to install the kernel source and kernel headers packages for your kernel. Once you do that you can use module-assistant (I hope fedora has that) to compile and install the ndiswrapper module provide you have the ndiswrapper source package. module-assistant has a nice ncurses interface (used on a command line) that guides you through the whole process.

It probably sounds more complicated than it is and it's a hell of a lot easier than compiling the whole kernel.
Cheers,
jdk
 
Old 02-12-2009, 05:43 AM   #3
noiz354
LQ Newbie
 
Registered: Feb 2009
Posts: 18

Original Poster
Rep: Reputation: 0
let me try jdkaye!
maybe it can help me.
 
Old 02-12-2009, 05:53 AM   #4
noiz354
LQ Newbie
 
Registered: Feb 2009
Posts: 18

Original Poster
Rep: Reputation: 0
i think module assistant only have in ubuntu
it says
"I need module assistant, kernel-headers and build essential. ALL free, ALL necessities with Debian."
 
Old 02-12-2009, 06:12 AM   #5
noiz354
LQ Newbie
 
Registered: Feb 2009
Posts: 18

Original Poster
Rep: Reputation: 0
can you help me find this stuff
Quote:
/bin/bash
 /bin/sh
 /sbin/chkconfig
 config(module-init-tools) 3.4-13.fc9
 libc.so.6
 libc.so.6(GLIBC_2.0)
 libc.so.6(GLIBC_2.1)
 libc.so.6(GLIBC_2.1.1)
 libc.so.6(GLIBC_2.2.3)
 libc.so.6(GLIBC_2.3)
 libc.so.6(GLIBC_2.3.4)
 libc.so.6(GLIBC_2.4)
 libc.so.6(GLIBC_2.8)
 rtld(GNU_HASH)
 sh-utils
absolutely in rpm
 
Old 02-12-2009, 08:02 AM   #6
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Quote:
Originally Posted by noiz354 View Post
i think module assistant only have in ubuntu

it says
"I need module assistant, kernel-headers and build essential. ALL free, ALL necessities with Debian."
I am not understanding you. Who says these things? Who is it? I don't use Fedora so I have no idea how its packages work or if it has module-assistant or the equivalent. Maybe somebody else on this forum can answer that. I would guess that Fedora should have some app for building modules but I don't know what its called.
Sorry,
jdk
 
Old 02-12-2009, 08:07 AM   #7
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Quote:
Originally Posted by noiz354 View Post
can you help me find this stuff
absolutely in rpm
Sorry I don't understand your question.
Quote:
/bin/bash
 /bin/sh
 /sbin/chkconfig
 config(module-init-tools) 3.4-13.fc9
 libc.so.6
 libc.so.6(GLIBC_2.0)
 libc.so.6(GLIBC_2.1)
 libc.so.6(GLIBC_2.1.1)
 libc.so.6(GLIBC_2.2.3)
 libc.so.6(GLIBC_2.3)
 libc.so.6(GLIBC_2.3.4)
 libc.so.6(GLIBC_2.4)
 libc.so.6(GLIBC_2.8)
 rtld(GNU_HASH)
 sh-utils
The first three programs you should already have. The libc.so.6 comes from the libc6 package (or whatever it's called in Fedora. Is this what you mean? Doesn't fedora use yum or something like that to install packages?
cheers,
jdk
 
Old 02-12-2009, 08:10 AM   #8
monsm
Member
 
Registered: Feb 2005
Location: London, UK
Distribution: Gentoo
Posts: 568

Rep: Reputation: 37
What distro are you on? Fedora 9?

You should check the package manager (Yum). You can install ndiswrapper from there much easier. GLIBC and all those other things should be in there too.

Mons
 
Old 02-13-2009, 04:53 AM   #9
noiz354
LQ Newbie
 
Registered: Feb 2009
Posts: 18

Original Poster
Rep: Reputation: 0
i'm sorry, i just need museek+ rpm for my fedora 9
 
  


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
Problem instaling ndiswrapper Atreo Slackware 14 06-26-2006 09:08 PM
NO CDROM DEVICE FOUND - error Instaling Mandrake 10.1 yuvicj Mandriva 1 11-03-2005 08:30 AM
xine-lib make/instaling error espo111 Linux - Software 3 07-23-2005 12:45 PM
library error when instaling eterm citrus Linux - General 8 03-09-2004 02:21 PM
library error when instaling eterm citrus Linux - General 1 03-09-2004 08:30 AM


All times are GMT -5. The time now is 08:00 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