Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[Solved] emerge ndiswrapper fails

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
Taldor
Tux's lil' helper
Tux's lil' helper
Posts: 96
Joined: Wed Jan 19, 2005 1:57 pm
Location: Belgium, EU

[Solved] emerge ndiswrapper fails

  • Quote

Post by Taldor » Thu Aug 04, 2005 8:27 am

This is the output I get:

Code: Select all

localhost conf.d # emerge ndiswrapper
Calculating dependencies ...done!
>>> emerge (1 of 1) net-wireless/ndiswrapper-1.1-r1 to /
>>> md5 files   ;-) ndiswrapper-1.1-r1.ebuild
>>> md5 files   ;-) ndiswrapper-1.2.ebuild
>>> md5 files   ;-) files/ndiswrapper-1.2-suspend2.patch
>>> md5 files   ;-) files/digest-ndiswrapper-1.1-r1
>>> md5 files   ;-) files/digest-ndiswrapper-1.2
>>> md5 src_uri ;-) ndiswrapper-1.1.tar.gz
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.12-gentoo-r6
 * Checking for suitable kernel configuration options
>>> Unpacking source...
>>> Unpacking ndiswrapper-1.1.tar.gz to /var/tmp/portage/ndiswrapper-1.1-r1/work
 * Converting ndiswrapper-1.1/driver/Makefile to use M= instead of SUBDIRS= ...                                                                        [ ok ]>>> Source unpacked.
cc -Wall -g -DNDISWRAPPER_VERSION=\"1.1\"    -c -o loadndisdriver.o loadndisdriver.c
gcc -o loadndisdriver loadndisdriver.o
 * Preparing ndiswrapper module
make -C //usr/src/linux M=/var/tmp/portage/ndiswrapper-1.1-r1/work/ndiswrapper-1.1/driver \
        NDISWRAPPER_VERSION=1.1 \
        EXTRA_VERSION= modules
make[1]: Entering directory `/usr/src/linux-2.6.12-gentoo-r6'

  WARNING: Symbol version dump /usr/src/linux-2.6.12-gentoo-r6/Module.symvers
           is missing; modules will have no dependencies and modversions.

  CC [M]  /var/tmp/portage/ndiswrapper-1.1-r1/work/ndiswrapper-1.1/driver/hal.o
  CC [M]  /var/tmp/portage/ndiswrapper-1.1-r1/work/ndiswrapper-1.1/driver/iw_ndis.o
  CC [M]  /var/tmp/portage/ndiswrapper-1.1-r1/work/ndiswrapper-1.1/driver/loader.o
  CC [M]  /var/tmp/portage/ndiswrapper-1.1-r1/work/ndiswrapper-1.1/driver/misc_funcs.o
  CC [M]  /var/tmp/portage/ndiswrapper-1.1-r1/work/ndiswrapper-1.1/driver/ndis.o
  CC [M]  /var/tmp/portage/ndiswrapper-1.1-r1/work/ndiswrapper-1.1/driver/ntoskernel.o
  CC [M]  /var/tmp/portage/ndiswrapper-1.1-r1/work/ndiswrapper-1.1/driver/pe_linker.o
  CC [M]  /var/tmp/portage/ndiswrapper-1.1-r1/work/ndiswrapper-1.1/driver/proc.o
  CC [M]  /var/tmp/portage/ndiswrapper-1.1-r1/work/ndiswrapper-1.1/driver/wrapper.o
  CC [M]  /var/tmp/portage/ndiswrapper-1.1-r1/work/ndiswrapper-1.1/driver/usb.o
  CC [M]  /var/tmp/portage/ndiswrapper-1.1-r1/work/ndiswrapper-1.1/driver/divdi3.o
  LD [M]  /var/tmp/portage/ndiswrapper-1.1-r1/work/ndiswrapper-1.1/driver/ndiswrapper.o
  Building modules, stage 2.
  MODPOST
/bin/sh: scripts/mod/modpost: Onbekend bestand of map
make[2]: *** [__modpost] Fout 127
make[1]: *** [modules] Fout 2
make[1]: Leaving directory `/usr/src/linux-2.6.12-gentoo-r6'
make: *** [default] Fout 2

!!! ERROR: net-wireless/ndiswrapper-1.1-r1 failed.
!!! Function linux-mod_src_compile, Line 491, Exitcode 2
!!! Unable to make                                  KSRC=//usr/src/linux KVERS=26 all.
!!! If you need support, post the topmost build error, NOT this status message.
('Fout' is Dutch for 'Error' and 'Onbekend bestand of map' means 'Unknown file or folder')
As the title says, it fails and I don't know what could have caused it. Since now ndiswrapper doesn't work, I don't have an internet connection under Gentoo.

My kernel version is 2.6.12-gentoo-r6.
My make.conf:

Code: Select all

CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
USE="-kde -qt alsa gnome gtk hal howl ipv6 nvidia symlink X x86"
SYNC="rsync://rsync.be.gentoo.org/gentoo-portage"
Last edited by Taldor on Sun Jun 18, 2006 10:06 am, edited 2 times in total.
Top
azuriel
Apprentice
Apprentice
User avatar
Posts: 166
Joined: Sun Feb 27, 2005 9:14 pm
Contact:
Contact azuriel
Website

  • Quote

Post by azuriel » Thu Aug 04, 2005 4:27 pm

Looks like your /usr/src/linux is a bit messed up. Have you done a

Code: Select all

make bzImage && make modules_install
yet? It's looking for files that aren't there...so it's either this, or you need to re-get the kernel sources.
Adopt an unanswered post
TJGames.org

The folly of mistaking a torrent of verbiage for a spring of capital truths, and oneself for an oracle, is inborn in us. -Valery
Top
Taldor
Tux's lil' helper
Tux's lil' helper
Posts: 96
Joined: Wed Jan 19, 2005 1:57 pm
Location: Belgium, EU

  • Quote

Post by Taldor » Thu Aug 04, 2005 5:01 pm

azuriel wrote:

Code: Select all

make bzImage && make modules_install
I use genkernel, so I think that's not nessecary then. So most likely I did something wrong with (using) genkernel?
Top
azuriel
Apprentice
Apprentice
User avatar
Posts: 166
Joined: Sun Feb 27, 2005 9:14 pm
Contact:
Contact azuriel
Website

  • Quote

Post by azuriel » Thu Aug 04, 2005 6:06 pm

I hate to make you do this, but compiling a kernel by hand might be the way to go...I seriously have never had a kernel compilation fail, under any circumstances. Try getting a vanilla kernel from kernel.org and compiling that. It's really not all that hard to do, if you know your hardware and have google handy.
Adopt an unanswered post
TJGames.org

The folly of mistaking a torrent of verbiage for a spring of capital truths, and oneself for an oracle, is inborn in us. -Valery
Top
Taldor
Tux's lil' helper
Tux's lil' helper
Posts: 96
Joined: Wed Jan 19, 2005 1:57 pm
Location: Belgium, EU

  • Quote

Post by Taldor » Thu Aug 04, 2005 7:15 pm

azuriel wrote:I seriously have never had a kernel compilation fail, under any circumstances.
I don't think it's a compilation fail, but rather that I did not select the correct kernel options.
azuriel wrote:It's really not all that hard to do, if you know your hardware and have google handy.
A bit & no: I need ndiswrapper to get internet access under Gentoo.

EDIT: I was able to emerge things again, after I manually compiled my kernel and changed a few options. Thanks for the help!
Top
sanmartin
Tux's lil' helper
Tux's lil' helper
Posts: 138
Joined: Wed Aug 10, 2005 10:42 pm
Location: Massachusetts

  • Quote

Post by sanmartin » Wed Oct 19, 2005 10:09 pm

I'm having this problem now and I was wondering if you know which specific kernel options you had to change to make it compile? If I get it working and figure out how I'll post another reply.
Top
sanmartin
Tux's lil' helper
Tux's lil' helper
Posts: 138
Joined: Wed Aug 10, 2005 10:42 pm
Location: Massachusetts

  • Quote

Post by sanmartin » Wed Oct 19, 2005 10:26 pm

I had to make clean, bzImage and modules_install. No changes to my kernel config and I was able to emerge ndiswrapper after.
Top
jimonade
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 92
Joined: Wed Apr 21, 2004 11:18 pm
Location: USA, West Lafayette, IN
Contact:
Contact jimonade
Website

  • Quote

Post by jimonade » Sun Oct 23, 2005 4:52 pm

related thread [SOLVED]: http://forums.gentoo.org/viewtopic-t-38 ... ight-.html

im having trouble with emerging ndiswrapper with kernel 2.6.13-r3. see below...

Code: Select all

bud ~ # emerge ndiswrapper -uDNva

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] net-wireless/ndiswrapper-1.2  -debug 146 kB

Total size of downloads: 146 kB

Do you want me to merge these packages? [Yes/No] yes
>>> emerge (1 of 1) net-wireless/ndiswrapper-1.2 to /
*** Adjusting cvs-src permissions for portage user...
>>> Downloading http://gentoo.osuosl.org/distfiles/ndiswrapper-1.2.tar.gz
--11:42:18--  http://gentoo.osuosl.org/distfiles/ndiswrapper-1.2.tar.gz
           => `/usr/portage/distfiles/ndiswrapper-1.2.tar.gz'
Resolving gentoo.osuosl.org... 140.211.166.134
Connecting to gentoo.osuosl.org|140.211.166.134|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 150,068 (147K) [application/x-gzip]

100%[====================================>] 150,068       87.40K/s

11:42:20 (87.23 KB/s) - `/usr/portage/distfiles/ndiswrapper-1.2.tar.gz' saved [150068/150068]

>>> md5 files   ;-) ndiswrapper-1.2.ebuild
>>> md5 files   ;-) files/digest-ndiswrapper-1.2
>>> md5 files   ;-) files/ndiswrapper-1.2-suspend2.patch
>>> md5 src_uri ;-) ndiswrapper-1.2.tar.gz
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.13-gentoo-r3
 * Checking for suitable kernel configuration options:
find: invalid predicate `-quit'
 *
 * The version of GCC you are using (3.3.6) does
 * not match the version of GCC used to compile the
 * kernel ().
 *
 * Build will not continue, because you will experience problems.
 * To fix this either change the version of GCC you wish to use
 * to match the kernel, or recompile the kernel first.

!!! ERROR: net-wireless/ndiswrapper-1.2 failed.
!!! Function check_vermagic, Line 130, Exitcode 0
!!! GCC Version Mismatch.
!!! If you need support, post the topmost build error, NOT this status message.
i had ndiswrapper working earlier. i was using a genkernel. i usually install gentoo with a genkernel and later config it myself. after reading this thread i was careful and did...

Code: Select all

emerge -C ndiswrapper;
cd /usr/src/linux
make clean; make mrproper
cp /tmp/config.working /usr/src/linux/.config
make && make modules_install
kernel built, copied stuff to /boot, rebooted, and then here we are at ndiswrapper failing.

as an aside, im using a pcmcia wireless card with ndiswrapper: netgear wg511 v2, and it works really well. (when i can manage to install ndiswrapper!)

-j
Top
Post Reply

8 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic