Project

General

Profile

整備 #3991

coilをVxWorksでビルドする際に発生するコンパイルエラーを修正する

Added by n-miyamoto about 6 years ago. Updated almost 6 years ago.

Status:
終了
Priority:
通常
Assignee:
Target version:
-
Start date:
03/22/2017
Due date:
% Done:

100%

Estimated time:

Description

coilをWind River Workbench上で作成したVXWorks Shared Library Projectでコンパイルした際に発生するエラーを修正する。
以下のエラーはGNUコンパイラを使用した場合のエラー。Diabコンパイラを使用した場合は違うエラーが出る。

In file included from /home/openrtm/WindRiver/workspace/coil_test/ClockManager.cpp:19:
/home/openrtm/coil/include/coil/Time.h:109: error: 'coil::usleep' declared as an 'inline' variable
/home/openrtm/coil/include/coil/Time.h:109: error: 'useconds_t' was not declared in this scope
/home/openrtm/coil/include/coil/Time.h:110: error: expected ',' or ';' before '{' token
/home/openrtm/coil/include/coil/Time.h: In function 'int coil::settimeofday(const timeval*, const coil::timezone*)':
/home/openrtm/coil/include/coil/Time.h:191: error: invalid conversion from 'const timeval*' to 'timeval*'
/home/openrtm/coil/include/coil/Time.h:191: error:   initializing argument 1 of 'int settimeofday(timeval*, void*)'
/home/openrtm/coil/include/coil/Time.h:191: error: invalid conversion from 'const void*' to 'void*'
/home/openrtm/coil/include/coil/Time.h:191: error:   initializing argument 2 of 'int settimeofday(timeval*, void*)'
/home/openrtm/WindRiver/workspace/coil_test/Process.cpp:25:20: error: libgen.h: No such file or directory
/home/openrtm/WindRiver/workspace/coil_test/Process.cpp: In function 'int coil::launch_shell(std::string)':
/home/openrtm/WindRiver/workspace/coil_test/Process.cpp:46: error: 'fork' was not declared in this scope
/home/openrtm/WindRiver/workspace/coil_test/Process.cpp:58: error: 'setsid' was not declared in this scope
/home/openrtm/WindRiver/workspace/coil_test/Process.cpp:70: error: 'execvp' was not declared in this scope
/home/openrtm/WindRiver/workspace/coil_test/Routing.cpp: In function 'bool coil::find_dest_ifname(std::string, std::string&)':
/home/openrtm/WindRiver/workspace/coil_test/Routing.cpp:63: error: 'gethostbyname' was not declared in this scope
In file included from /home/openrtm/WindRiver/workspace/coil_test/UUID.cpp:20:
/home/openrtm/coil/include/coil/UUID.h:53:23: error: uuid/uuid.h: No such file or directory
In file included from /home/openrtm/WindRiver/workspace/coil_test/UUID.cpp:20:
/home/openrtm/coil/include/coil/UUID.h:58: error: 'uuid_t' does not name a type
/home/openrtm/coil/include/coil/UUID.h:62: error: expected `)' before '*' token
/home/openrtm/WindRiver/workspace/coil_test/UUID.cpp: In member function 'coil::UUID* coil::UUID_Generator::generateUUID(int, int)':
/home/openrtm/WindRiver/workspace/coil_test/UUID.cpp:108: error: 'uuid_t' was not declared in this scope
/home/openrtm/WindRiver/workspace/coil_test/UUID.cpp:108: error: expected `;' before 'uuid'
/home/openrtm/WindRiver/workspace/coil_test/UUID.cpp:110: error: 'uuid' was not declared in this scope
/home/openrtm/WindRiver/workspace/coil_test/UUID.cpp:110: error: 'uuid_generate' was not declared in this scope
/home/openrtm/WindRiver/workspace/coil_test/UUID.cpp: In constructor 'coil::UUID::UUID()':
/home/openrtm/WindRiver/workspace/coil_test/UUID.cpp:115: error: 'class coil::UUID' has no member named '_uuid'
/home/openrtm/WindRiver/workspace/coil_test/UUID.cpp:115: error: 'uuid_clear' was not declared in this scope
/home/openrtm/WindRiver/workspace/coil_test/UUID.cpp: At global scope:
/home/openrtm/WindRiver/workspace/coil_test/UUID.cpp:118: error: expected `)' before '*' token
/home/openrtm/WindRiver/workspace/coil_test/UUID.cpp: In member function 'const char* coil::UUID::to_string()':
/home/openrtm/WindRiver/workspace/coil_test/UUID.cpp:123: error: 'class coil::UUID' has no member named '_uuid'
/home/openrtm/WindRiver/workspace/coil_test/UUID.cpp:123: error: 'uuid_unparse' was not declared in this scope

History

#1 Updated by n-miyamoto about 6 years ago

  • Subject changed from coilをVXWorksでビルドする際に発生するコンパイルエラーを修正する to coilをVxWorksでビルドする際に発生するコンパイルエラーを修正する
  • Status changed from 新規 to 担当

#2 Updated by n-miyamoto almost 6 years ago

  • Status changed from 担当 to 解決
  • % Done changed from 0 to 100

#3 Updated by n-ando almost 6 years ago

  • Status changed from 解決 to 終了

Also available in: Atom PDF