Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38371 - ezusb2131 won't compile with k2.6.x
Summary: ezusb2131 won't compile with k2.6.x
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-15 21:50 UTC by Dave Jumpers
Modified: 2004-10-03 01:05 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 Dave Jumpers 2004-01-15 21:50:06 UTC
#>emerge -D ezusb2131
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/ezusb2131-1.0 to /
>>> md5 src_uri ;-) Ezusb2131-1.0.tar.gz
>>> Unpacking source...
>>> Unpacking Ezusb2131-1.0.tar.gz to /var/tmp/portage/ezusb2131-1.0/work
>>> Source unpacked.
 * /var/tmp/portage/ezusb2131-1.0/work/Ezusb2131
gcc -D__KERNEL__ -DMODULE -DLINUX -DEXPORT_SYMTAB -DCONFIG_PROC_FS -I/usr/src/linux/include -I.  -O2 -pipe  -c ezusb2131.c -o ezusb2131_.o
In file included from /usr/src/linux/include/linux/irq.h:20,
                 from /usr/src/linux/include/asm/hardirq.h:6,
                 from /usr/src/linux/include/linux/interrupt.h:11,
                 from /usr/src/linux/include/linux/usb.h:15,
                 from ezusb2131.c:100:
/usr/src/linux/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /usr/src/linux/include/asm/hardirq.h:6,
                 from /usr/src/linux/include/linux/interrupt.h:11,
                 from /usr/src/linux/include/linux/usb.h:15,
                 from ezusb2131.c:100:
/usr/src/linux/include/linux/irq.h:70: `NR_IRQS' undeclared here (not in a function)
In file included from /usr/src/linux/include/linux/irq.h:72,
                 from /usr/src/linux/include/asm/hardirq.h:6,
                 from /usr/src/linux/include/linux/interrupt.h:11,
                 from /usr/src/linux/include/linux/usb.h:15,
                 from ezusb2131.c:100:
/usr/src/linux/include/asm/hw_irq.h:28: `NR_IRQ_VECTORS' undeclared here (not in a function)
/usr/src/linux/include/asm/hw_irq.h:31: `NR_IRQS' undeclared here (not in a function)
ezusb2131.c:299:42: missing binary operator before '('
ezusb2131.c:320:42: missing binary operator before '('
ezusb2131.c:344:42: missing binary operator before '('
ezusb2131.c:360: warning: initialization from incompatible pointer type
ezusb2131.c:361: warning: initialization from incompatible pointer type
ezusb2131.c:362: unknown field `fops' specified in initializer
ezusb2131.c:363: unknown field `minor' specified in initializer
ezusb2131.c:365:42: missing binary operator before '('
ezusb2131.c:432:42: missing binary operator before '('
ezusb2131.c: In function `setup_ezusb_procfs':
ezusb2131.c:491: structure has no member named `ops'
ezusb2131.c:595:41: missing binary operator before '('
ezusb2131.c:642:42: missing binary operator before '('
ezusb2131.c: In function `ezusb_cleanup':
ezusb2131.c:660: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/src/linux/include/linux/module.h:494)
ezusb2131.c:671: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/src/linux/include/linux/module.h:494)
ezusb2131.c:725:42: missing binary operator before '('
ezusb2131.c:1155:42: missing binary operator before '('
ezusb2131.c: In function `ezusb_probe':
ezusb2131.c:1257: structure has no member named `bConfigurationValue'
ezusb2131.c:1271: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /usr/src/linux/include/linux/module.h:482)
ezusb2131.c:1314:41: missing binary operator before '('
ezusb2131.c:1322:42: missing binary operator before '('
ezusb2131.c:1339:42: missing binary operator before '('
ezusb2131.c:1380:42: missing binary operator before '('
ezusb2131.c:1427:42: missing binary operator before '('
make: *** [ezusb2131.o] Error 1

!!! ERROR: sys-apps/ezusb2131-1.0 failed.
!!! Function src_compile, Line 21, Exitcode 2
!!! (no error message)

Reproducible: Always
Steps to Reproduce:
1. emerge -D ezusb2131
2. Observe errors
3.
Actual Results:  
!!! ERROR: sys-apps/ezusb2131-1.0 failed.
!!! Function src_compile, Line 21, Exitcode 2
!!! (no error message)

Expected Results:  
program shoudl be compiled and installed accordingly

# emerge info
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.6.1-gentoo)
=================================================================
System uname: 2.6.1-gentoo i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=i686 -mcpu=pentium3  -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share
                                                             /config
/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/ge       
                                                      neric/config/
/usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=i686 -mcpu=pentium3  -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://cudlug.cudenver.edu/gentoo/ http://mirror.tucdemonic.org/
                                                             gentoo/
http://gentoo.ccccom.com ftp://gentoo.ccccom.com"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 apm avi crypt cups encode foomaticdb gif gtk2 jpeg gnome libg++ mad mik
                                                             mod mpeg ncurses
nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkht                
                                             ml gdbm berkdb slang readline arts
tetex bonobo svga tcltk guile X sdl gpm tcpd                                   
                           pam libwww ssl perl python esd imlib oggvorbis gtk
motif opengl mozilla cdr scan                                                  
           ner qt kde alsa jack ladspa -oss"
Comment 1 SpanKY gentoo-dev 2004-10-03 01:05:36 UTC
from http://ezusb2131.sourceforge.net/:
There is no need to port this driver to the 2.6 kernel, another method for downloading EZUSB2131 boards in the 2.6 kernel is documented at http://linux-hotplug.sourceforge.net/?selected=usb and http://www.linux-usb.org/ezusb/  (see fxload section in each page). The support is already in the 2.6 kernel. This is great!