Fedora Linux Support Community & Resources Center
  #1  
Old 22nd June 2007, 05:26 PM
VTLinux Offline
Registered User
 
Join Date: Dec 2006
Posts: 4
Question rt2500 Make error on FC6

I was able to get my Wireless PCI card working under FC6 thanks to this forum.!
I have been keeping up with the kernel updates.
Ever since kernel version 2.6.19-1.2911.6.5.fc6 I have experienced problems with the make utility with rt2500. The error listing (below) references compile problems because of argument passing differences.
I've made no changes to the rt2500 version since.
I can't determine how to fix this and would love some help.

Here is a listing of the errors I get during the most recent make attempt.
[root@localhost Module]# make
make[1]: Entering directory `/usr/src/kernels/2.6.20-1.2952.fc6-xen-i686'
CC [M] /rt2500-1.1.0-b4/Module/rtmp_main.o
/rt2500-1.1.0-b4/Module/rtmp_main.c: In function ‘RT2500_open’:
/rt2500-1.1.0-b4/Module/rtmp_main.c:343: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
CC [M] /rt2500-1.1.0-b4/Module/mlme.o
CC [M] /rt2500-1.1.0-b4/Module/connect.o
CC [M] /rt2500-1.1.0-b4/Module/sync.o
CC [M] /rt2500-1.1.0-b4/Module/assoc.o
CC [M] /rt2500-1.1.0-b4/Module/auth.o
CC [M] /rt2500-1.1.0-b4/Module/auth_rsp.o
CC [M] /rt2500-1.1.0-b4/Module/rtmp_data.o
CC [M] /rt2500-1.1.0-b4/Module/rtmp_init.o
/rt2500-1.1.0-b4/Module/rtmp_init.c:978:62: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/rt2500-1.1.0-b4/Module/rtmp_init.c: In function ‘NICInitializeAdapter’:
/rt2500-1.1.0-b4/Module/rtmp_init.c:978: error: ‘INIT_WORK’ undeclared (first use in this function)
/rt2500-1.1.0-b4/Module/rtmp_init.c:978: error: (Each undeclared identifier is reported only once
/rt2500-1.1.0-b4/Module/rtmp_init.c:978: error: for each function it appears in.)
make[2]: *** [/rt2500-1.1.0-b4/Module/rtmp_init.o] Error 1
make[1]: *** [_module_/rt2500-1.1.0-b4/Module] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.20-1.2952.fc6-xen-i686'
Reply With Quote
  #2  
Old 24th June 2007, 02:50 PM
jcliburn's Avatar
jcliburn Offline
Registered User
 
Join Date: Nov 2004
Location: Mississippi, USA
Posts: 1,180
First and most importantly: I have no experience with wireless in Fedora. However, I do recognize your compile error.

Short answer: Your kernel is too new for the driver you're trying to build.

Long answer: The 2.6.20 version of the Linux kernel changed the internal workqueue API. See this link if you're interested in details. Your driver is coded to use the old API, so it won't build against the 2.6.20 kernel. You need to find a driver for a newer kernel, or stay running an older kernel to maintain compatibility with your existing driver.
Reply With Quote
  #3  
Old 24th June 2007, 03:39 PM
VTLinux Offline
Registered User
 
Join Date: Dec 2006
Posts: 4
Thank you very much jcliburn! At least I know now the reason for the compile error and can pursue getting the driver coded to support the newer kernel.
Reply With Quote
Reply

Tags
error, fc6, make, rt2500

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error: "make: *** No rule to make target `folder'. Stop. " shri19 Using Fedora 5 23rd May 2009 11:11 PM
error while installing an app using make , make install kettaneh Using Fedora 12 18th July 2008 11:39 AM
RT2500 error after installation stinerman Servers & Networking 3 15th July 2005 07:18 PM


Current GMT-time: 23:44 (Tuesday, 18-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat