[Scilab-users] Can't compile the HEAD

Masaru Nomiya nomiya at galaxy.dti.ne.jp
Thu Apr 25 08:33:27 CEST 2013


Hello,

In the Message; 

  Subject    : Re: [Scilab-users] Can't compile the HEAD
  Message-ID : <5178C991.8090202 at scilab-enterprises.com>
  Date & Time: Thu, 25 Apr 2013 08:13:37 +0200

Sylvestre Ledru <sylvestre.ledru at scilab-enterprises.com> has written:

>> On 25/04/2013 04:37, Masaru Nomiya wrote:
>> Hello,
>> 
>> I got the very latest git of scilab, then tried to compile.
>> But, I got errors;
[...]
> That is really surprising.
> Could you copy and paste the full command line of the compiler ?
> (I cannot see the compiler).

Here we are.

[...]
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../modules/core/includes -I./includes/ -I./src/jni/ -I./src/cpp/ -I./src/c/ -I../../modules/jvm/includes/ -I../../modules/output_stream/includes/ -I../../modules/commons/src/jni/ -I../../modules/localization/includes/ -I../../modules/fileio/includes/ -I../../modules/scicos_blocks/src/jni/ -I../../modules/api_scilab/includes/ -I/usr/lib64/jvm/java/include -I/usr/lib64/jvm/java/include/linux -DNDEBUG -fno-stack-protector -fpermissive -MT libscixcos_la-sci_Xcos.lo -MD -MP -MF .deps/libscixcos_la-sci_Xcos.Tpo -c sci_gateway/cpp/sci_Xcos.cpp  -fPIC -DPIC -o .libs/libscixcos_la-sci_Xcos.o
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../modules/core/includes -I./includes/ -I./src/jni/ -I./src/cpp/ -I./src/c/ -I../../modules/jvm/includes/ -I../../modules/output_stream/includes/ -I../../modules/commons/src/jni/ -I../../modules/localization/includes/ -I../../modules/fileio/includes/ -I../../modules/scicos_blocks/src/jni/ -I../../modules/api_scilab/includes/ -I/usr/lib64/jvm/java/include -I/usr/lib64/jvm/java/include/linux -DNDEBUG -fno-stack-protector -fpermissive -MT libscixcos_la-sci_closeXcosFromScilab.lo -MD -MP -MF .deps/libscixcos_la-sci_closeXcosFromScilab.Tpo -c sci_gateway/cpp/sci_closeXcosFromScilab.cpp  -fPIC -DPIC -o .libs/libscixcos_la-sci_closeXcosFromScilab.o
mv -f .deps/libscixcos_algo_la-Xcos.Tpo .deps/libscixcos_algo_la-Xcos.Plo
/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../modules/core/includes  -I./includes/ -I./src/jni/ -I./src/cpp/ -I./src/c/ -I../../modules/jvm/includes/ -I../../modules/output_stream/includes/ -I../../modules/commons/src/jni/ -I../../modules/localization/includes/ -I../../modules/fileio/includes/ -I../../modules/scicos_blocks/src/jni/ -I../../modules/api_scilab/includes/ -I/usr/lib64/jvm/java/include -I/usr/lib64/jvm/java/include/linux   -DNDEBUG -fno-stack-protector -fpermissive -MT libscixcos_la-sci_xcosDiagramToScilab.lo -MD -MP -MF .deps/libscixcos_la-sci_xcosDiagramToScilab.Tpo -c -o libscixcos_la-sci_xcosDiagramToScilab.lo `test -f 'sci_gateway/cpp/sci_xcosDiagramToScilab.cpp' || echo './'`sci_gateway/cpp/sci_xcosDiagramToScilab.cpp
sci_gateway/cpp/sci_warnBlockByUID.cpp:27:17: error: ‘org_scilab_modules_xcos’ is not a namespace-name
sci_gateway/cpp/sci_warnBlockByUID.cpp:27:40: error: expected namespace-name before ‘;’ token
sci_gateway/cpp/sci_warnBlockByUID.cpp: In function ‘int sci_warnBlockByUID(char*, long unsigned int)’:
sci_gateway/cpp/sci_warnBlockByUID.cpp:59:5: error: ‘Xcos’ has not been declared
make[3]: *** [libscixcos_la-sci_warnBlockByUID.lo] エラー 1
make[3]: *** 未完了のジョブを待っています....
mv -f .deps/libscixcos_algo_la-Modelica.Tpo .deps/libscixcos_algo_la-Modelica.Plo
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../modules/core/includes -I./includes/ -I./src/jni/ -I./src/cpp/ -I./src/c/ -I../../modules/jvm/includes/ -I../../modules/output_stream/includes/ -I../../modules/commons/src/jni/ -I../../modules/localization/includes/ -I../../modules/fileio/includes/ -I../../modules/scicos_blocks/src/jni/ -I../../modules/api_scilab/includes/ -I/usr/lib64/jvm/java/include -I/usr/lib64/jvm/java/include/linux -DNDEBUG -fno-stack-protector -fpermissive -MT libscixcos_la-sci_xcosDiagramToScilab.lo -MD -MP -MF .deps/libscixcos_la-sci_xcosDiagramToScilab.Tpo -c sci_gateway/cpp/sci_xcosDiagramToScilab.cpp  -fPIC -DPIC -o .libs/libscixcos_la-sci_xcosDiagramToScilab.o
mv -f .deps/libscixcos_algo_la-Palette.Tpo .deps/libscixcos_algo_la-Palette.Plo
sci_gateway/cpp/sci_Xcos.cpp:28:17: error: ‘org_scilab_modules_xcos’ is not a namespace-name
sci_gateway/cpp/sci_Xcos.cpp:28:40: error: expected namespace-name before ‘;’ token
sci_gateway/cpp/sci_Xcos.cpp: In function ‘int callXcos(char*, char*, char*)’:
sci_gateway/cpp/sci_Xcos.cpp:220:9: error: ‘Xcos’ has not been declared
sci_gateway/cpp/sci_closeXcosFromScilab.cpp:30:17: error: ‘org_scilab_modules_xcos’ is not a namespace-name
sci_gateway/cpp/sci_closeXcosFromScilab.cpp:30:40: error: expected namespace-name before ‘;’ token
sci_gateway/cpp/sci_closeXcosFromScilab.cpp: In function ‘int sci_closeXcosFromScilab(char*, long unsigned int)’:
sci_gateway/cpp/sci_closeXcosFromScilab.cpp:43:13: error: ‘Xcos’ has not been declared
make[3]: *** [libscixcos_la-sci_Xcos.lo] エラー 1
make[3]: *** [libscixcos_la-sci_closeXcosFromScilab.lo] エラー 1
sci_gateway/cpp/sci_xcosDiagramToScilab.cpp:28:17: error: ‘org_scilab_modules_xcos’ is not a namespace-name
sci_gateway/cpp/sci_xcosDiagramToScilab.cpp:28:40: error: expected namespace-name before ‘;’ token
sci_gateway/cpp/sci_xcosDiagramToScilab.cpp: In function ‘int sci_xcosDiagramToScilab(char*, long unsigned int)’:
sci_gateway/cpp/sci_xcosDiagramToScilab.cpp:93:16: error: ‘Xcos’ has not been declared
make[3]: *** [libscixcos_la-sci_xcosDiagramToScilab.lo] エラー 1
make[3]: ディレクトリ `/tmp/source/scilab/scilab/modules/xcos' から出ます
make[2]: *** [all] エラー 2
make[2]: ディレクトリ `/tmp/source/scilab/scilab/modules/xcos' から出ます
make[1]: *** [all-recursive] エラー 1
make[1]: ディレクトリ `/tmp/source/scilab/scilab/modules' から出ます
make: *** [all-recursive] エラー 1

> Are you sure you have a C++ compiler ?

Yes, there exists.

> By the way, this discussion would be more appropriate on
> dev at lists.scilab.org ;)

Sorry, but I'll subscript.

Regards,

---
┏━━┓彡 Masaru Nomiya             mail-to: nomiya @ galaxy.dti.ne.jp
┃\/彡
┗━━┛ "Bill! You married with Computers.
          Not with Me!"
         "No..., with money."



More information about the users mailing list