Modify

Opened 6 years ago

Closed 6 years ago

#7987 closed defect (fixed)

carl9170 doesn't build

Reported by: anonymous Owned by: developers
Priority: normal Milestone: Backfire 10.03.1
Component: packages Version: Backfire 10.03
Keywords: carl9170, kirkwood Cc:

Description

after fetching revision 23116 carl9170 doesn't build anymore on my kirkwood based system (Seagate Dockstar).
This is the error message:

.../backfire/build_dir/linux-kirkwood/compat-wireless-2010-09-14/drivers/net/wireless/ath/carl9170/mac.c: In function 'carl9170_update_beacon':
.../backfire/build_dir/linux-kirkwood/compat-wireless-2010-09-14/drivers/net/wireless/ath/carl9170/mac.c:472: error: implicit declaration of function 'list_entry_rcu'
.../backfire/build_dir/linux-kirkwood/compat-wireless-2010-09-14/drivers/net/wireless/ath/carl9170/mac.c:472: error: expected expression before 'typeof'
.../backfire/build_dir/linux-kirkwood/compat-wireless-2010-09-14/drivers/net/wireless/ath/carl9170/mac.c:472: warning: assignment makes pointer from integer without a cast
.../backfire/build_dir/linux-kirkwood/compat-wireless-2010-09-14/drivers/net/wireless/ath/carl9170/mac.c:472: error: expected expression before 'typeof'
.../backfire/build_dir/linux-kirkwood/compat-wireless-2010-09-14/drivers/net/wireless/ath/carl9170/mac.c:472: warning: assignment makes pointer from integer without a cast

Before this Revision carl9170 was build correctly, but returned with error -2, when it was loaded.

Attachments (0)

Change History (11)

comment:1 Changed 6 years ago by anonymous




\"error -2


\" indicates that the driver couldn


\'t load the firmware.
check if you placed it in the right location

comment:2 Changed 6 years ago by anonymous

I just chose carl9170 from menuconfig. But anyway with the current revision the driver doesn't even compile...

comment:3 Changed 6 years ago by anonymous

I have a similar problem.

comment:4 follow-up: Changed 6 years ago by anonymous

I am now using the OpenWrt-trunk, where carl9170 works like a charm. At least in 802.11g mode. 802.11n produces an error.

comment:5 in reply to: ↑ 4 Changed 6 years ago by leonder

Replying to anonymous:

I am now using the OpenWrt-trunk, where carl9170 works like a charm. At least in 802.11g mode. 802.11n produces an error.

Can you give the link and mini-howto or solution?

comment:6 follow-up: Changed 6 years ago by anonymous

Here is the howto: http://wiki.openwrt.org/doc/howto/build
Just use

svn co svn://svn.openwrt.org/openwrt/trunk/

instead of the backfire repo.

I guess you already compiled OpenWrt for yourself, right?

comment:7 in reply to: ↑ 6 Changed 6 years ago by leonder

Replying to anonymous:

I guess you already compiled OpenWrt for yourself, right?

I tried to compile kernel module from "wireless-testing kernel" sources (from git)

comment:8 follow-up: Changed 6 years ago by anonymous

I think the current source only compiles with a >2.6.35 kernel. Backfire uses 2.6.32. So i would say, you just switch to the trunk. It worked for me at once.

comment:9 in reply to: ↑ 8 Changed 6 years ago by leonder

Replying to anonymous:

I think the current source only compiles with a >2.6.35 kernel. Backfire uses 2.6.32. So i would say, you just switch to the trunk. It worked for me at once.

If you lay out your kernel somewhere and I downloaded it - will it work for me? Or it is hard coded to your (others) hardware?

I`m a beginner in linux. I wish simple working device and I does not want compile anything. And my english is bad (I use google-translator), sorry.

comment:10 Changed 6 years ago by anonymous

What kind of hardware are you using? If it is a Seagate Dockstar by coincindece, I really could give you my compiled image, but otherwise i am afraid you have to compile it by yourself. It isn't that hard, though.

comment:11 Changed 6 years ago by agb

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [23716]

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.