This has been reported previously, I include some pieces from IRC,
saying basically that alex joni had this problem, and I think they did
not solve it, it may be kernel and compiler related. You may want to
ask Alex about it, but it seemed to be an unsolvable strange errror.

2007-05-19T17:39:34Z
the rtai_rtapi.c : 128 returns an error. negative value
anyone know whar kind of problem is
Slackware 11, with kernel 2.6.20.11 successfully patched with RTAI 3.5 Magma
NightHawk_Eng: I heard about a couple of people having issues with 2.6.20
alex_joni : the module hangs here : module_param(msg_level, int,
S_IRUGO | S_IWUGO); -> line #128 of rtai_rtapi.c
alex_joni : /CNC/emc2/src/rtapi/rtai_rtapi.c:128 :error : size of
array 'type name' is negative
probably something changed in the kernel headers between 2.6.12-magma
and this version -- you should troubleshoot
NightHawk_Eng: I looked at 2.6.17 and both S_IRUGO and S_IWUGO are
positive numbers
alex_joni : no is a 32bit system. Vanilla kernel 2.6.20.11 patched with RTAI 3.5





On 10/29/07, garrett beaubien <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I was trying to build a couple of EMC versions.  I tried compiling the 6
> month old one I had for my new kernel, and when that didn't work I got the
> latest 2.1.17 and tried again.  While it was compiling it gave me an error
> message like:
>
> rtai_rtapi.c:128 negative value for array
>
> When I took a look at the source file it had:
>
> module_param(msg_level, int, S_IRUGO | S_IWUGO);
>
> Has anyone else had this problem?  I had no problem building the origional
> EMC version before with 2.6.17 (I believe).  Is there a fix that anyone is
> aware of?  I have kernel version 2.6.20 with the Magma RTAI snapshot (about
> 2 months old).
>
> Thanks very much,
> Garrett.
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Emc-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to