uLinux image compiling error

Support for Bloader and Screamer

Moderator: phalanx

Post Reply
daveh
Posts: 9
Joined: Sat Aug 01, 2009 5:04 pm
Contact:

uLinux image compiling error

Post by daveh » Mon Aug 24, 2009 2:33 pm

While compiling uLinux image, i am getting folloing error.
Can you suggest how to resolve it ?

drivers/rtc/rtc-lpc22xx.c: In function `lpc22xx_rtc_interrupt':
drivers/rtc/rtc-lpc22xx.c:278: error: structure has no member named `class_dev'

sunnysmith70
Posts: 3
Joined: Tue Sep 08, 2009 3:07 am

Post by sunnysmith70 » Tue Sep 08, 2009 3:15 am

Hi daveh,

I have same problem some times ago but I do following action.

Possible solutions would be:

1) Do nothing. We cannot anticipate for changes in the network API. Instead, we should insist that whoever changes it should also provide an easy way to extract or copy the physical device information.

2) Save the physical device data in MadWifi and get it from there. Don't rely on existence of class_dev. That's the paranoid approach. We would protect MadWifi against breakage that happened just in one -mm kernel and may never happen again.

3) Don't use SET_NETDEV_DEV for VAP.

I prefer to do nothing for now. The responsibility for fixing broken code should be primarily on the shoulders of those making the change. If code changes are needed, drivers/net/wireless/hostap/hostap_main.c has similar code, so we can copy the change from that file.

daveh
Posts: 9
Joined: Sat Aug 01, 2009 5:04 pm
Contact:

Problem solved

Post by daveh » Tue Sep 08, 2009 1:15 pm

Hello;

I removed options for all networking componets during make menuconfig options. I think; it might me networking API issues.

Post Reply