ORBIT-USER: libmac compile error?

Rodney Berriman Rodney.Berriman at nicta.com.au
Tue Oct 24 02:00:12 EDT 2006


Hi Kishore,

I'm getting a compile error building libmac:

In file included from ./libmac_cmn.h:132,
                 from ./libmac.h:36,
                 from libmac_ifparams.c:13:
/usr/include/linux/socket.h:7:2: warning: #warning "You should include 
<sys/socket.h>. This time I will do it for you."
libmac_ifparams.c: In function `mac_append_params':
libmac_ifparams.c:584: *error: syntax error before "__user"*

the line is:
     iwr.u.data.pointer = (void __user *) plist;

Similar error occurring at libmac_ifinfo.c:368


changing *(void __user *)* to *(void *)* compiles OK, but is it correct?


many thanks,
Rodney




--------------------------------------------------------------------------
This email and any attachments may be confidential. They may contain legally
privileged information or copyright material. You should not read, copy,
use or disclose them without authorisation. If you are not an intended
recipient, please contact us at once by return email and then delete both
messages. We do not accept liability in connection with computer virus,
data corruption, delay, interruption, unauthorised access or unauthorised
amendment. This notice should not be removed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://orbit-lab.org/pipermail/orbit-user/attachments/20061024/8c60ecb0/attachment.htm 


More information about the orbit-user mailing list