J'ai installé avec succès le driver eagle-usb sur une Gentoo avec un kernel 2.4.22. A l'utilisation le driver se comporte très bien car j'ai n'ai aucun soucis.
Puis j'ai décidé d'installer le kernel 2.6, en me basant sur l'ebuild gentoo-dev-sources version 2.6.3-r1. En compilant le driver eagle-usb tel qu'il est indiqué sur cette page, j'ai rencontré le problème suivant (je vous passe les premières lignes) :
Code: Select all
make[2]: Leaving directory `/var/tmp/portage/eagle-usb-1.9.6/work/eagle-usb-1.9.6/driver/user'
CC [M] /var/tmp/portage/eagle-usb-1.9.6/work/eagle-usb-1.9.6/driver/Boot.o
CC [M] /var/tmp/portage/eagle-usb-1.9.6/work/eagle-usb-1.9.6/driver/eu_utils.o
CC [M] /var/tmp/portage/eagle-usb-1.9.6/work/eagle-usb-1.9.6/driver/Pipes.o
CC [M] /var/tmp/portage/eagle-usb-1.9.6/work/eagle-usb-1.9.6/driver/Me.o
CC [M] /var/tmp/portage/eagle-usb-1.9.6/work/eagle-usb-1.9.6/driver/eu_msg.o
CC [M] /var/tmp/portage/eagle-usb-1.9.6/work/eagle-usb-1.9.6/driver/Sm.o
CC [M] /var/tmp/portage/eagle-usb-1.9.6/work/eagle-usb-1.9.6/driver/Dsp.o
CC [M] /var/tmp/portage/eagle-usb-1.9.6/work/eagle-usb-1.9.6/driver/Mpoa.o
CC [M] /var/tmp/portage/eagle-usb-1.9.6/work/eagle-usb-1.9.6/driver/Uni.o
CC [M] /var/tmp/portage/eagle-usb-1.9.6/work/eagle-usb-1.9.6/driver/Sar.o
CC [M] /var/tmp/portage/eagle-usb-1.9.6/work/eagle-usb-1.9.6/driver/Oam.o
CC [M] /var/tmp/portage/eagle-usb-1.9.6/work/eagle-usb-1.9.6/driver/eu_eth.o
LD [M] /var/tmp/portage/eagle-usb-1.9.6/work/eagle-usb-1.9.6/driver/eagle-usb.o
/bin/sh: line 1: .tmp_versions/eagle-usb.mod: Permission non accordée
make[3]: *** [/var/tmp/portage/eagle-usb-1.9.6/work/eagle-usb-1.9.6/driver/eagle-usb.o] Erreur 1
make[2]: *** [/var/tmp/portage/eagle-usb-1.9.6/work/eagle-usb-1.9.6/driver] Erreur 2
make[2]: Leaving directory `/usr/src/linux-2.6.3-gentoo-r1'
make[1]: *** [eagle-usb.ko] Erreur 2
make[1]: Leaving directory `/var/tmp/portage/eagle-usb-1.9.6/work/eagle-usb-1.9.6/driver'
make: *** [build] Erreur 2
!!! ERROR: net-dialup/eagle-usb-1.9.6 failed.
!!! Function src_compile, Line 23, Exitcode 2
!!! emake failed
Code: Select all
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-gentoo-r1)
=================================================================
System uname: 2.6.3-gentoo-r1 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.3.13
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -march=i686 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -march=i686 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox userpriv"
GENTOO_MIRRORS="ftp://gentoo.inode.at/source/ http://212.219.247.19/sites/www.ibiblio.org/gentoo/ ftp://ftp.heanet.ie/pub/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://212.219.247.18/sites/www.ibiblio.org/gentoo/ http://212.219.247.21/sites/www.ibiblio.org/gentoo/ http://212.219.247.12/sites/www.ibiblio.org/gentoo/ http://gentoo.inode.at/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://212.219.247.20/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aalib acpi aim alsa apache2 apm arts avi berkdb cdr crypt cscope cups curl dga directfb doc dvd encode ethereal fbcon ffmpeg flac foomaticdb gd gif gimpprint gphoto2 gpm gstreamer gtk gtk2 icq imagemagick imap imlib innodb jabber jack java jikes joystick jpeg kde kerberos lcms ldap libg++ libwww linguas_fr log4j maildir mikmod mmx motif mozilla moznocompose moznoirc mpeg msn music mysql nas ncurses nls nvidia oggvorbis opengl oss pam pdflib png postgres ppds python qt quicktime readline samba sasl scanner sdl slang speex spell sse ssl theora tiff truetype unicode usb videos wmf wxwindows x86 xml xml2 xmms xosd xv xvid yahoo zlib"
Code: Select all
FEATURES="-sandbox -userpriv" emerge eagle-usb


