Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 169276 - net-wireless/ndiswrapper:-1.38 fails to build on amd64 w/ kernel-2.6.20
Summary: net-wireless/ndiswrapper:-1.38 fails to build on amd64 w/ kernel-2.6.20
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Piotr Jaroszyński (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-04 12:36 UTC by Alexis Lahouze
Modified: 2007-03-04 14:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexis Lahouze 2007-03-04 12:36:14 UTC
Ndiswrapper thinks my architecture is amd64 but this doesn't exist in /usr/src/linux/arch directory...

This is the last input:
gcc -g -Wall -I../driver -o loadndisdriver loadndisdriver.c
 * Preparing ndiswrapper module
make -C /usr/src/linux M=/var/tmp/portage/net-wireless/ndiswrapper-1.38/work/ndiswrapper-1.38/driver
make[1]: Entering directory `/usr/src/linux-2.6.20-gentoo'
Makefile:491: /usr/src/linux-2.6.20-gentoo/arch/amd64/Makefile: No such file or directory
make[1]: *** No rule to make target `/usr/src/linux-2.6.20-gentoo/arch/amd64/Makefile'.  Stop.
make[1]: Leaving directory `/usr/src/linux-2.6.20-gentoo'
make: *** [default] Error 2


I think target should be /usr/src/linux-2.6.20-gentoo/arch/x86_64/Makefile...



Reproducible: Always

Steps to Reproduce:
1. emerge ndiswrapper



my emerge --info
ange linux # emerge --info
Portage 2.1.2-r13 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.18-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 03 Mar 2007 11:50:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://cesium.di.uminho.pt/pub/gentoo/ http://mirror.gentoo.gr.jp"
LANG="fr_FR.UTF-8"
LINGUAS="fr en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 apache apache2 automount bash-completion berkdb bitmap-fonts bonjour bzip2 cairo cdr cli cpudetection cracklib crypt cups dbus divx dri dv dvb dvd dvdr dvdread eds emboss encode esd exif fam ffmpeg firefox flac fontconfig fortran fuse gdbm gif gmedia gnome gnutls gpm gstreamer gtk gtk2 hal iconv imagemagick injection insecure-savers ipv6 isdnlog java java5 javascript jpeg libcaca libg++ lm_sensors logrotate mad maildir matroska midi mikmod mp3 mpeg msn musepack ncurses new-login nls nptl nptlonly ntfs nvidia ogg opengl oss pam parse-clocks pcre pdf perl plugins png posix postfix ppds pppd python quicktime readline realmedia reflection reiserfs sdl sensord session slang spell spl ssl startup-notification syslog tcl tcpd tga theora threads tk truetype truetype-fonts type1-fonts unicode usb vcd vorbis widescreen wifi wmp x264 xanim xcomposite xforms xine xinerama xml xorg xpm xscreensaver xv xvid xvmc" ALSA_CARDS="via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CBUILD, CHOST, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Piotr Jaroszyński (RETIRED) gentoo-dev 2007-03-04 14:27:56 UTC
Please set CHOST in your /etc/make.conf.
I suppose you want CHOST="x86_64-pc-linux-gnu"