Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77396 - e100 2.3.43 won't compile after upgrading kernel to 2.6.10-r4
Summary: e100 2.3.43 won't compile after upgrading kernel to 2.6.10-r4
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-10 10:42 UTC by Kim Pedersen
Modified: 2005-01-12 14:47 UTC (History)
0 users

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 Kim Pedersen 2005-01-10 10:42:15 UTC
I cannot compile e100 after upgrading the kernel. When trying I get this information:

....
/usr/src/linux/include/asm/system.h: In function `__set_64bit_var':
/usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/src/linux/include/asm/system.h:193: warning: dereferencing type-punned pointer will break strict-aliasing rules
e100_main.c: In function `e100_add_skb_to_end':
e100_main.c:356: warning: implicit declaration of function `pci_dma_sync_single'
e100_main.c: In function `e100_suspend':
e100_main.c:4521: error: too many arguments to function `pci_save_state'
e100_main.c: In function `e100_resume':
e100_main.c:4546: error: too many arguments to function `pci_restore_state'
make: *** [e100_main.o] Error 1

!!! ERROR: net-misc/e100-2.3.43 failed.
!!! Function src_compile, Line 18, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.




Reproducible: Always
Steps to Reproduce:
1.
2.
3.




emerge info (I am now running 2.6.9 again because of the error):

Portage 2.0.51-r3 (default-linux/x86/2004.3
 2.6.9-gentoo-r13 i686)
===========================================
System uname: 2.6.9-gentoo-r13 i686 Intel(R
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-
Headers:  sys-kernel/linux-headers-2.4.21-r
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-fr
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb
/env /usr/kde/3.3/share/config /usr/kde/3.3
r/share/config /usr/share/texmf/dvipdfm/con
usr/share/texmf/tex/generic/config/ /usr/sh
re/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/termin
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache dist
GENTOO_MIRRORS="ftp://ftp.gentoo.diku.dk/ h
//gentoo.osuosl.org http://www.ibiblio.org/
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gento
USE="x86 X acl alsa apm avi berkdb bitmap-f
an gdbm gif gpm gtk gtk2 imagemagick innodb
eg mysql ncurses nls oggvorbis opengl oss p
e readline sdl sse ssl svga tcpd tetex tiff
Comment 1 Kim Pedersen 2005-01-10 10:44:04 UTC
Something went wrong in the copy-paste so here is emerge info again:


Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r13 i686)
=================================================================
System uname: 2.6.9-gentoo-r13 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /usr/share/texmf
/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.gentoo.diku.dk/ http://gentoo.tiscali.nl/gentoo/ http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X acl alsa apm avi berkdb bitmap-fonts cdr crypt emacs encode fam fortran gdbm gif gpm gtk gtk2 imagemagick innodb ipv6 jpeg libwww mad mikmod motif mpeg mysql ncurses nls oggvorbis 
opengl oss pam pdflib perl png python qt quicktime readline sdl sse ssl svga tcpd tetex tiff truetype xml2 xmms xv zlib"
Comment 2 Stefan Schweizer (RETIRED) gentoo-dev 2005-01-10 10:53:03 UTC
you can just use the in-kernel version with your recent kernel no need for external module compilation hassle.
Comment 3 Kim Pedersen 2005-01-10 11:05:26 UTC
I have done that now. But is it not a problem anyway if you choose not to compile in? Should it not work as a module?
Comment 4 Micheal Marineau (RETIRED) gentoo-dev 2005-01-11 01:40:42 UTC
The driver included in the kernel tree can be compiled in or as a module.  The ebuild was for older kernels.
Comment 5 Kim Pedersen 2005-01-11 03:09:55 UTC
#4: Should the documentation [1] not reflect this change? I do not find the hint "If appropriate..." very informative.


[1]:
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=1&chap=7#doc_chap5
Comment 6 Daniel Drake (RETIRED) gentoo-dev 2005-01-12 14:47:29 UTC
It will be, for 2005.0, where 2.6 is default :)