[openrtm-staff:1215] 11/15の作業報告(河内)

河内のぶ n.kawauchi @ aist.go.jp
2017年 11月 15日 (水) 19:22:14 JST


安藤様

河内です

本日の作業内容をお知らせします。
------------
■チケット作業
src/ext 以下の拡張モジュールのヘッダをWindowsインストーラ、
debパッケージに含める
http://redmine.openrtm.org/issues/4368

・昨日のOpenRTM-aistのインストーラmsiの構成見直しで、C++の
 マージモジュールを作り直すことにした
・作り直すならばとこのチケット作業を先に対応することにした

・この作業で該当するファイルは以下のもの
・無印のものはすでにtar.gz, zipパッケージに含まれている
・★マーク:tar.gzへ追加するもの
・※マーク:zipへ追加するもの
-----
OpenRTM-aist/src/ext
│  
├─ec
│  │  
│  ├─artlinux ・・・※
│  │     ArtExecutionContext.h ・・・※
│  │     rtc.conf.sample ・・・★※
│  │    
│  │          
│  ├─logical_time
│  │     LogicalTimeTriggeredEC.h
│  │     LogicalTimeTriggeredEC.idl
│  │          
│  └─rtpreempt ・・・※
│         rtc.conf.sample ・・・★※
│         RTPreemptEC.h ・・・※
│              
├─local_service
│  │  
│  └─nameservice_file
│         FileNameservice.h
│              
├─logger ・・・※
│  │  
│  └─fluentbit_stream ・・・※
│          fluentbit.conf ・・・★※
│          FluentBit.h ・・・※
│          
└─sdo
    │  
    ├─logger ・・・★※
    │      Logger.idl ・・・★※
    │      LoggerConsumer.h ・・・★※
    │      
    └─observer
            ComponentObserver.idl
            ComponentObserverConsumer.h
-----

・まずはtar.gzパッケージに含まれるための修正と確認。OK!
・make distはOKだったが、念のためとmakeしたら通らない!

----- エラー内容
../../../src/lib/rtm/idl -luuid -ldl -lpthread -lomniORB4 -lomnithread -lomniDynamic4
../../../../../src/lib/coil/lib/.libs/libcoil.so: undefined reference to `shm_open'
../../../../../src/lib/coil/lib/.libs/libcoil.so: undefined reference to `shm_unlink'
collect2: error: ld returned 1 exit status
Makefile:510: ターゲット 'LTTSampleComp' のレシピで失敗しました
make[5]: *** [LTTSampleComp] エラー 1
-----

・trunkの最新リビジョンはr3072. これを改めてチェックアウトしてmakeが
 通らないことを確認

・修正を確認して行ったところ、r3058-3062の宮本くんの修正からエラーが
 出ていると判明
・宮本くんに聞いたところ、-luuid のリンクオプションを指定している所に
 -lrtを追加すればOKと聞き、問題箇所を検索する
・該当箇所がかなり多いが、地道に追加しながらビルド動作を確認する
-----
$ find . -name Makefile.am | xargs grep -n luuid
./src/lib/rtm/tests/CorbaNaming/Makefile.am:116:CorbaNamingTests_LDADD   = -lcppunit -lcoil -luuid -lgcov
./src/lib/rtm/tests/Factory/Makefile.am:109:FactoryTests_LDADD   = -lcppunit -lcoil -luuid -lgcov
./src/lib/rtm/tests/PeriodicECSharedComposite/Makefile.am:42:PeriodicECSharedCompositeTests_LDADD   = -lcppunit -lRTC -lcoil -luuid -lgcov
./src/lib/rtm/tests/SdoOrganization/Makefile.am:46:SdoOrganizationTests_LDADD   = -lcppunit -lRTC -lcoil -luuid -lgcov
./src/lib/rtm/tests/ManagerServant/Makefile.am:118:     -luuid
./src/lib/rtm/tests/ManagerServant/Makefile.am:135:         -luuid                                    \
./src/lib/rtm/tests/ManagerServant/Makefile.am:158:         -luuid                                    \
./src/lib/rtm/tests/ManagerServant/Makefile.am:171:     -luuid                                    \
./src/lib/rtm/tests/NamingManager/Makefile.am:108:NamingManagerTests_LDADD   = -lcppunit -lcoil -luuid -lgcov
./src/lib/rtm/tests/CorbaPort/Makefile.am:126:CorbaPortTests_LDADD   = -lcppunit -lcoil -luuid -lgcov
./src/lib/rtm/tests/ExtTrigExecutionContext/Makefile.am:115:ExtTrigExecutionContextTests_LDADD   = -lcppunit -lcoil -luuid -lgcov
./src/lib/rtm/tests/RTObject/Makefile.am:122:RTObjectTests_LDADD   = -lcppunit -lcoil -luuid -lgcov
./src/lib/rtm/tests/SdoConfiguration/Makefile.am:97:SdoConfigurationTests_LDADD   = -lcppunit -lcoil -luuid -lgcov
./src/lib/rtm/tests/PortAdmin/Makefile.am:107:PortAdminTests_LDADD   = -lcppunit -lcoil -luuid -lgcov
./src/lib/rtm/tests/ConnectorListener/Makefile.am:66:ConnectorListenerTests_LDADD   = -lcppunit -lcoil -luuid -lgcov
./src/lib/rtm/tests/SystemLogger/Makefile.am:114:         -luuid
./src/lib/rtm/tests/ECFactory/Makefile.am:95:ECFactoryTests_LDADD   = -lcppunit -lcoil -luuid -lgcov
./src/lib/rtm/tests/ModuleManager/Makefile.am:111:      -luuid
./src/lib/rtm/tests/ModuleManager/Makefile.am:129:         -luuid                                    \
./src/lib/rtm/tests/ModuleManager/Makefile.am:150:         -luuid                                    \
./src/lib/rtm/tests/PortBase/Makefile.am:126:PortBaseTests_LDADD   = -lcppunit -lcoil -luuid -lgcov
./src/lib/rtm/tests/PeriodicExecutionContext/Makefile.am:98:PeriodicExecutionContextTests_LDADD   = -lcppunit -lcoil -luuid -lgcov
./src/lib/rtm/tests/DataInOutPort/Makefile.am:122:DataInOutPortTests_LDADD   = -lcppunit -lcoil -luuid -lgcov
./src/lib/rtm/tests/Manager/Makefile.am:107:    -luuid
./src/lib/rtm/tests/Manager/Makefile.am:126:         -luuid                                    \
./src/lib/rtm/tests/Manager/Makefile.am:150:    -luuid                                    \
./src/lib/rtm/tests/Manager/Makefile.am:163:    -luuid                                    \
./src/lib/rtm/tests/CORBA_IORUtil/Makefile.am:65:CORBA_IORUtilTests_LDADD   = -lcppunit -lcoil -luuid -lgcov
./src/lib/coil/tests/UUID/Makefile.am:35:UUIDTests_LDADD   = -lcppunit -luuid
-----

・上記はローカル環境上で修正済み。これでもエラーは変わらない。
・configure.acは明日確認する予定

以上です。

---------------------------------------------------
河内 のぶ  n.kawauchi @ aist.go.jp
産業技術総合研究所 ロボットイノベーション研究センター
ロボットソフトウエアプラットフォーム研究チーム
テクニカルスタッフ



More information about the openrtm-staff mailing list