[Rtai] Error installing RTAI
GS
premgrps at gmail.com
Tue Mar 8 17:24:37 CET 2011
I got this resolved partially. I used the version of RTAI downloaded on my
older machine and the installation went fine on the newer machine.
Prior to this, I reinstalled the Live CD and then RTAI, and it resulted in
the same error. So, that part is still unresolved. I still couldn't get this
error resolved:
In file included from include/asm/semaphore.h:2,
from include/linux/device.h:23,
from /usr/src/rtai/base/include/rtai_wrappers.h:126,
from /usr/src/rtai/base/include/rtai_types.h:23,
from /usr/src/rtai/base/include/asm/rtai_hal.h:58,
from /usr/src/rtai/base/arch/i386/hal/hal.c:47:
include/asm/semaphore_32.h:81: error: expected declaration specifiers or
‘...’ before numeric constant
Thanks.
On Tue, Mar 1, 2011 at 4:19 PM, GS <premgrps at gmail.com> wrote:
> Hi,
>
> I am trying to re-install RTAI. After doing a "make menuconfig", I did a
> "make" and below are the errors I get.
>
> I had installed RTAI earlier without these issues.
> Any idea what's going wrong.
>
>
>
> ----------------------------------------------------------------------
> Libraries have been installed in:
> /usr/realtime-2.6.24-16-rtai/lib
>
> If you ever happen to want to link against installed libraries
> in a given directory, LIBDIR, you must either use libtool, and
> specify the full pathname of the library, or use the `-LLIBDIR'
> flag during linking and do at least one of the following:
> - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
> during execution
> - add LIBDIR to the `LD_RUN_PATH' environment variable
> during linking
> - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
> - have your system administrator add LIBDIR to `/etc/ld.so.conf'
>
> See any operating system documentation about shared libraries for
> more information, such as the ld(1) and ld.so(8) manual pages.
> ----------------------------------------------------------------------
> make[4]: Nothing to be done for `install-data-am'.
> make[4]: Leaving directory `/usr/src/magma/base/sched/liblxrt'
> make[3]: Leaving directory `/usr/src/magma/base/sched/liblxrt'
> make[3]: Entering directory `/usr/src/magma/base/sched'
> make[4]: Entering directory `/usr/src/magma/base/arch'
> make[5]: Entering directory `/usr/src/magma/base/arch/i386/hal'
> make[6]: Entering directory `/usr/src/linux-headers-2.6.24-16-rtai'
> CC [M] /usr/src/rtai/base/arch/i386/hal/hal.o
> In file included from include/asm/semaphore.h:2,
> from include/linux/device.h:23,
> from /usr/src/rtai/base/include/rtai_wrappers.h:126,
> from /usr/src/rtai/base/include/rtai_types.h:23,
> from /usr/src/rtai/base/include/asm/rtai_hal.h:58,
> from /usr/src/rtai/base/arch/i386/hal/hal.c:47:
> include/asm/semaphore_32.h:81: error: expected declaration specifiers or
> ‘...’ before numeric constant
> include/asm/semaphore_32.h:82: error: conflicting types for ‘sema_init’
> include/asm/semaphore_32.h:64: error: previous definition of ‘sema_init’
> was here
> include/asm/semaphore_32.h: In function ‘sema_init’:
> include/asm/semaphore_32.h:83: error: too many arguments to function
> ‘sema_init’
> make[7]: *** [/usr/src/rtai/base/arch/i386/hal/hal.o] Error 1
> make[6]: *** [_module_/usr/src/rtai/base/arch/i386/hal] Error 2
> make[6]: Leaving directory `/usr/src/linux-headers-2.6.24-16-rtai'
> make[5]: *** [rtai_hal.ko] Error 2
> make[5]: Leaving directory `/usr/src/magma/base/arch/i386/hal'
> make[4]: *** [rtai_hal.ko] Error 2
> make[4]: Leaving directory `/usr/src/magma/base/arch'
> make[3]: *** [rtai_sched.ko] Error 2
> make[3]: Leaving directory `/usr/src/magma/base/sched'
> make[2]: *** [install-recursive] Error 1
> make[2]: Leaving directory `/usr/src/magma/base/sched'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/usr/src/magma/base'
> make: *** [install-recursive] Error 1
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.rtai.org/pipermail/rtai/attachments/20110308/5207b1ca/attachment.htm>
More information about the Rtai
mailing list