[Click] netBSD

Eddie Kohler kohler at CS.UCLA.EDU
Mon Apr 3 14:59:42 EDT 2006


Hi Alex,

I've checked in a potential fix.  Can you update, re-configure, and  
compile again?

Thanks,
Eddie


On Apr 3, 2006, at 11:10 AM, Alex Colvin wrote:

>> Click SHOULD work on NetBSD.  It compiles on OS X, Linux,   
>> Solaris, ....  If it doesn't work, please cut and paste the exact   
>> error so we can fix it -- your description is, shall we say,   
>> insufficiently specific. :)
>
> Sorry.
> Usermode Click fails to compile on netbsd 3.99 using g++ 3.3.3.
> The problem is an invalid last arg to EV_SET in lib/master.cc, a  
> (void*) where (int) is required.
>
> On examination, it appears that the kevent.udata field is defined  
> as intptr_t on netbsd instead of (void*), as on freebsd. So  
> removing the cast to void* fixed the problem on netbsd, but causes  
> trouble on freebsd. I expect that C++'s pointer casting rules are  
> partly to blame.
>
>



More information about the click mailing list