[Scilab-users] Fwd: Error installing HART toolbox in ubuntu14.04 LTS

Jegan Amirthalingam ecejegan at gmail.com
Thu Sep 18 17:29:30 CEST 2014


Hi,

I am trying to install HART toolbox on ubuntu14.04LTS.

I just followed the instalation procedure from
http://hart.sourceforge.net/rtai/installation_14_04_64bit_woc.html

when i am trying to apply 'make' for the HART tool box i am getting the
following error...

root at SCADTPC:/usr/lib/hart/hart_0.4.6# make
echo "execute builder.sce in scilab"
execute builder.sce in scilab
/usr/bin/scilab -nw -nb -f prepare_toolbox.sce;
libEGL warning: failed to create a pipe screen for i965
-- Creation of [baselib] (Macros) --
genlib: Processing file: copynewerfile.sci
genlib: Processing file: guimaker.sci
genlib: Processing file: hart_edit_scicosblock.sci
genlib: Processing file: hart_module_creator.sci
genlib: Processing file: help_from_scicosblock.sci
genlib: Processing file: inputui.sci
genlib: Regenerate names and lib

 Build modules

 Preparing module: RTAI

 Error in comedi module! Could not found libcomedi.so!

 Not able to build module: comedi

 Not able to build module: daqmx

 Preparing module: hart_base

 Preparing module: portaudio

 rtpreempt-module will not build, as RTAI is installed! But it is possible
to use rtpreempt codegeneration besides RTAI!

 Not able to build module: rtpreempt
/usr/bin/scilab -nw -nb -f builder.sce;
libEGL warning: failed to create a pipe screen for i965
Building macros...
-- Creation of [baselib] (Macros) --
genlib: Processing file: copynewerfile.sci
genlib: Processing file: guimaker.sci
genlib: Processing file: hart_edit_scicosblock.sci
genlib: Processing file: hart_module_creator.sci
genlib: Processing file: help_from_scicosblock.sci
genlib: Processing file: inputui.sci
genlib: Regenerate names and lib
-- Creation of [RtaiCodeGenlib] (Macros) --
-- Creation of [RTAIlib] (Macros) --
Building blocks...
-- Creation of [hart_baselib] (Macros) --
Building blocks...
-- Creation of [portaudiolib] (Macros) --
Building blocks...
Building sources...
   Generate a loader file
   Generate a Makefile
   ilib_gen_Make: Copy compilation files (Makefile*, libtool...) to TMPDIR
   ilib_gen_Make: Copy getstr.c to TMPDIR
   ilib_gen_Make: Copy serial_linux.cpp to TMPDIR
   ilib_gen_Make: Copy rtai_sinus.c to TMPDIR
   ilib_gen_Make: Copy rtai_square.c to TMPDIR
   ilib_gen_Make: Copy rtai_step.c to TMPDIR
   ilib_gen_Make: Copy hart_soft_realtime.c to TMPDIR
   ilib_gen_Make: Copy hart_par2ser.c to TMPDIR
   ilib_gen_Make: Copy hart_ser2par.c to TMPDIR
   ilib_gen_Make: Copy iir_filter.c to TMPDIR
   ilib_gen_Make: Copy hart_filtfilt.c to TMPDIR
   ilib_gen_Make: Copy hart_socket.c to TMPDIR
   ilib_gen_Make: Copy hart_socketin.c to TMPDIR
   ilib_gen_Make: Copy hart_flagtest.c to TMPDIR
   ilib_gen_Make: Copy hart_portaudio_in.c to TMPDIR
   ilib_gen_Make: Copy hart_portaudio_out.c to TMPDIR
   ilib_gen_Make: configure : Generate Makefile.
   ilib_gen_Make: Modification of the Makefile in TMPDIR.
   Running the Makefile
 !--error 10000
ilib_compile: An error occurred during the compilation:
hart_par2ser.c: In function 'init':
hart_par2ser.c:43:17: warning: incompatible implicit declaration of
built-in function 'printf' [enabled by default]
                 printf("par2ser: ipar error\n");
                 ^
hart_ser2par.c: In function 'init':
hart_ser2par.c:43:3: warning: incompatible implicit declaration of built-in
function 'printf' [enabled by default]
   printf("ser2par: ipar error\n");
   ^
iir_filter.c: In function 'dumpIIRfiltToFile':
iir_filter.c:628:3: warning: format '%s' expects argument of type 'char *',
but argument 3 has type 'int' [-Wformat=]
   fprintf(fid, "# %s", ctime(&now));
   ^
hart_flagtest.c: In function 'init':
hart_flagtest.c:35:3: warning: incompatible implicit declaration of
built-in function 'printf' [enabled by default]
   printf("Flag 4: initalisation, t=%f\n",get_scicos_time());
   ^
hart_flagtest.c:35:3: warning: format '%f' expects argument of type
'double', but argument 2 has type 'int' [-Wformat=]
hart_flagtest.c: In function 'state':
hart_flagtest.c:62:6: warning: incompatible implicit declaration of
built-in function 'printf' [enabled by default]
      printf("Flag 0: update state, step=%d,
t=%f\n",comdev->step,comdev->time);
      ^
hart_flagtest.c: In function 'in':
hart_flagtest.c:69:6: warning: incompatible implicit declaration of
built-in function 'printf' [enabled by default]
      printf(" Flag 2 ");
      ^
hart_flagtest.c: In function 'inout':
hart_flagtest.c:83:6: warning: incompatible implicit declaration of
built-in function 'printf' [enabled by default]
      printf("Flag 1: update output, step=%d,
t=%f\n",comdev->step,comdev->time);
      ^
hart_flagtest.c: In function 'eventout':
hart_flagtest.c:104:6: warning: incompatible implicit declaration of
built-in function 'printf' [enabled by default]
      printf("Flag 3: update event output, step=%d,
t=%f\n",comdev->step,comdev->time);
      ^
hart_flagtest.c: In function 'end':
hart_flagtest.c:118:3: warning: incompatible implicit declaration of
built-in function 'printf' [enabled by default]
   printf("Flag 4: ending, step=%d, t=%f\n",comdev->step,comdev->time);
   ^
hart_portaudio_in.c:3:23: fatal error: portaudio.h: No such file or
directory
 #include "portaudio.h"
                       ^
compilation terminated.
make[1]: *** [hart_portaudio_in.lo] Error 1
ilib_compile: The command was:
make  CFLAGS=" -D__SCILAB_TOOLBOX__
-I/usr/share/scilab//../../include/scilab/
-I/usr/share/scilab//../../include/   -I/usr/lib/hart/hart_0.4.6/src/c/
-I/usr/lib/hart/hart_0.4.6/src/c/../../includes
-I/usr/share/scilab//../../include/scilab/scicos/
-I/usr/share/scilab//../../include/scilab/scicos_blocks/
-I/usr/share/scilab//../../include/scilab/ -D_TTY_POSIX_  " CXXFLAGS="
-D__SCILAB_TOOLBOX__ -I/usr/share/scilab//../../include/scilab/
-I/usr/share/scilab//../../include/   -I/usr/lib/hart/hart_0.4.6/src/c/
-I/usr/lib/hart/hart_0.4.6/src/c/../../includes
-I/usr/share/scilab//../../include/scilab/scicos/
-I/usr/share/scilab//../../include/scilab/scicos_blocks/
-I/usr/share/scilab//../../include/scilab/ -D_TTY_POSIX_  "
LDFLAGS="-lpthread -lstdc++ -lm  -lportaudio "
FFLAGS="-I/usr/share/scilab//../../include/scilab/ "
at line     129 of function ilib_compile called by :
at line      94 of function ilib_for_link called by :
at line      28 of function tbx_build_src called by :
tbx_build_src(names, files, 'c', src_c_path
,libs,ldflags,cflags,fflags,cc,libname);
at line      24 of exec file called by :

at line      13 of function tbx_builder called by :
at line      49 of function tbx_builder_src_lang called by :
tbx_builder_src_lang('c', src_dir);
at line       3 of exec file called by :

at line      13 of function tbx_builder called by :
at line      32 of function tbx_builder_src called by :
tbx_builder_src(toolbox_dir);
at line      18 of exec file called by :
exec('SCI/etc/scilab.start',-1);;exec('builder.sce',-1)


-->


Kindly let me know if i am missing anything....Anybody can please help..

 Regards
Jegan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20140918/df0b4971/attachment.htm>


More information about the users mailing list