Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157523 - net-wireless/rt61 does not compile agains kernel 2.6.19
Summary: net-wireless/rt61 does not compile agains kernel 2.6.19
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL: http://rt2x00.serialmonkey.com/phpBB2...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-08 07:56 UTC by Tom E. Gundersen
Modified: 2007-05-09 20:16 UTC (History)
3 users (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 Tom E. Gundersen 2006-12-08 07:56:29 UTC
See more info in the attached link.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-12-08 07:58:48 UTC
Reopen with error messages in English posted here, thanks.
Comment 2 Tom E. Gundersen 2006-12-08 09:07:10 UTC
Sorry, didn't notice that they were in Dutch. Let me know if you need more info.


>>> Emerging (1 of 1) net-wireless/rt61-1.1.0_beta1 to /

......

 * Found sources for kernel version:
 *     2.6.19-gentoo-r1-TEG
 * Checking for suitable kernel configuration options...                             [ ok ]

....

 * Preparing rt61 module
make[1]: Entering directory `/usr/src/linux-2.6.19-gentoo-r1'
  CC [M]  /var/tmp/portage/net-wireless/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/rtmp_main.o
  CC [M]  /var/tmp/portage/net-wireless/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.o
/var/tmp/portage/net-wireless/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/rtmp_main.c: In function 'RT61_probe':
/var/tmp/portage/net-wireless/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/rtmp_main.c:227: warning: format '%lX' expects type 'long unsigned int', but argument 4 has type 'resource_size_t'
/var/tmp/portage/net-wireless/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/rtmp_main.c:256: error: 'struct net_device' has no member named 'get_wireless_stats'
/var/tmp/portage/net-wireless/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/rtmp_main.c:276: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'resource_size_t'
/var/tmp/portage/net-wireless/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/rtmp_main.c: In function 'RT61_open':
/var/tmp/portage/net-wireless/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/rtmp_main.c:374: warning: passing argument 2 of 'request_irq' from incompatible pointer type
/var/tmp/portage/net-wireless/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/rtmp_main.c: In function 'rt61_resume':
/var/tmp/portage/net-wireless/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/rtmp_main.c:1013: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result
make[3]: *** [/var/tmp/portage/net-wireless/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/rtmp_main.o] Error 1
make[3]: *** Waiting for unfinished jobs....
/var/tmp/portage/net-wireless/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.c: In function 'MlmeEnqueueForRecv':
/var/tmp/portage/net-wireless/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module/mlme.c:3051: warning: format '%ld' expects type 'long int', but argument 2 has type 'size_t'
make[2]: *** [_module_/var/tmp/portage/net-wireless/rt61-1.1.0_beta1/work/rt61-1.1.0-b1/Module] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.19-gentoo-r1'
rt61.ko failed to build!
make: *** [debug] Error 1

!!! ERROR: net-wireless/rt61-1.1.0_beta1 failed.
Call stack:
  ebuild.sh, line 1569:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  rt61-1.1.0_beta1.ebuild, line 35:   Called linux-mod_src_compile
  linux-mod.eclass, line 510:   Called die

!!! Unable to make  KERNDIR=/usr/src/linux KERNOUT=/usr/src/linux clean debug.
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2006-12-30 17:54:22 UTC
Upstream CVS includes the fixes required for this. contact me on IRC if you need further guideance.

not in stable tree, removing block on 156669
Comment 4 Piotr Brzozowski 2007-02-14 08:49:26 UTC
(In reply to comment #3)
I have same problem with linux-2.6.19-gentoo-r4, and i don't know how to fix it.
Could you put here some more info about a fix?
Comment 5 Ryan Hill (RETIRED) gentoo-dev 2007-03-04 21:29:46 UTC
We need a CVS snapshot of this driver made.  It won't build w/ GCC 4.1 either (Bug #148917).
Comment 6 Jaco Kroon 2007-05-03 13:50:08 UTC
rt61-1.1.0-b2 has been released, which fixed the compile issues for me, a simple rename of the beta1 ebuild to beta2 worked.  I'm using a vanilla 2.6.21.1 kernel with gcc-4.1.1-r3.

There remains a few printf formatting warnings (size of arguments is the same as the expected type's size, so it's safe) and a few unused variables warnings (gcc should prune that code away).
Comment 7 Stefan Schweizer (RETIRED) gentoo-dev 2007-05-09 20:16:33 UTC
fixed with the new beta, thank you all