i'm trying to build with a 2.6.26 kernel, and the build fails trying
to build the compat-wireless package, specifically in the source file
compat-wireless-2008-05-26/net/wireless/nl80211.c, at four different
locations, all identical:

/home/rpjday/openwrt/trunk/build_dir/linux-brcm47xx/compat-wireless-2008-05-26/net/wireless/nl80211.c:
In function 'nl80211_send_wiphy':
/home/rpjday/openwrt/trunk/build_dir/linux-brcm47xx/compat-wireless-2008-05-26/net/wireless/nl80211.c:190:
error: void value not ignored as it ought to be
/home/rpjday/openwrt/trunk/build_dir/linux-brcm47xx/compat-wireless-2008-05-26/net/wireless/nl80211.c:
In function 'nl80211_send_iface':
/home/rpjday/openwrt/trunk/build_dir/linux-brcm47xx/compat-wireless-2008-05-26/net/wireless/nl80211.c:276:
error: void value not ignored as it ought to be
/home/rpjday/openwrt/trunk/build_dir/linux-brcm47xx/compat-wireless-2008-05-26/net/wireless/nl80211.c:
In function 'nl80211_send_station':
/home/rpjday/openwrt/trunk/build_dir/linux-brcm47xx/compat-wireless-2008-05-26/net/wireless/nl80211.c:931:
error: void value not ignored as it ought to be
/home/rpjday/openwrt/trunk/build_dir/linux-brcm47xx/compat-wireless-2008-05-26/net/wireless/nl80211.c:
In function 'nl80211_send_mpath':
/home/rpjday/openwrt/trunk/build_dir/linux-brcm47xx/compat-wireless-2008-05-26/net/wireless/nl80211.c:1270:
error: void value not ignored as it ought to be

  the error is:

return genlmsg_cancel(msg, hdr);

  which is wrong since that routine is now declared as returning void
in linux/2.6.26/net/genetlink.h:

static inline void genlmsg_cancel(struct sk_buff *skb, void *hdr)

rday
--


========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
    Have classroom, will lecture.

http://crashcourse.ca                          Waterloo, Ontario, CANADA
========================================================================
_______________________________________________
openwrt-users mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to