(toppers-users 2188) サンプルプログラムの構築においてのエラー

松田 緩子 yururu53 @ yahoo.co.jp
2005年 10月 6日 (木) 23:02:49 JST


初めて投稿させて頂きます。松田と申します。

 

ITRON1.3をSH4(SH7750) CQ RISC評価キット/SH-4(CQ出版)で

動作させようとしているのですが、configureでエラーが出てしまいます。

 

環境はCygwin を用い、BINUTILS、GCC-CORE、GDBはTOPPERSプロジェクトのHPにある環境バイナリパッケージをダウンロードし、/usr/local/sh/binにパスを通しました。

 

Configureの実行結果は以下のとおりです。

 

$ ../configure #8211;C sh3 #8211;S kz_sh4 #8211;P /usr /local/sh

configure: Generating Makefile form ../sample/Makefile.

configure: Generating sample1.c form ../sample/sample1.c.

configure: Generating sample1.h form ../sample/sample1.h.

configure: Generating sample1.cfg form ../sample/sample1.cfg.

configure: Generating ../cfg/Makefile.sh3-kz_sh4 from ../cfg/Makefile.template.

configure: Generating configuration tools.

G++ -02 #8211;Wall #8211;I/usr/local/sh/bin/sh-hitachi-elf/bfd #8211;I/home/jsp/OBJ/.. #8211;I. #8211;I./jsp #8211;c parser.cpp

In file included from /usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/backward/strstream:51,

              From parser.cpp:41:

/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/backward_warning.h:32:2:

warning; #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use #8211;Wno-deprecated.

parser.cpp: In member function ‘bool Paser::parseDirectives(Token&, int, bool)’:

parser.cpp:292: error: no matching function for call to ‘Messsage::Message(Message)’

except.h:83: note: candidates are: Message::Message(Message&)

except.h:82: note:  Message::Message(const char*, ...)

parser.cpp:292: error: no matching function for call to ‘Messsage::Message(Message)’

except.h:83: note: candidates are: Message::Message(Message&)

except.h:82: note:  Message::Message(const char*, ...)

parser.cpp: In static member function ‘static void ParseUnit::printList(voidd*)’:

parser.cpp:818: error: no matching function for call to ‘Messsage::Message(Message)’

except.h:83: note: candidates are: Message::Message(Message&)

except.h:82: note:  Message::Message(const char*, ...)

parser.cpp: In member function ‘virtual void ParserComponent::parseOption(Directory&)’:

parser.cpp:1045: error: no matching function for call to ‘Messsage::Message(Message)’

except.h:83: note: candidates are: Message::Message(Message&)

except.h:82: note:  Message::Message(const char*, ...)

parser.cpp:1051: error: no matching function for call to ‘Messsage::Message(Message)’

except.h:83: note: candidates are: Message::Message(Message&)

except.h:82: note:  Message::Message(const char*, ...)

parser.cpp: In member function ‘bool PaserComponent::parseStaticAPI(Parser&, Directory&, Token,std::string)’:

parser.cpp:1129: error: no matching function for call to ‘Messsage::Message(Message)’

except.h:83: note: candidates are: Message::Message(Message&)

except.h:82: note:  Message::Message(const char*, ...)

make: ***[parser.o] Error1

 

と出てしまい、configureができません。

 

また、ITRON1.4.1においても同じ環境において動作させようとしました。

ITRON1.4.1においては configure と makeは 通り、ターゲットファイル jsp.out 

を生成することができたのですが、

PARTNER_J にロードする際、「デバッグ情報のフォーマットが不正です」と出てきてしまいます。

ITRON1.4.1ではPARTNER_J において動作させることはできないのでしょうか?



 

何か問題点や解決策がありましたら、教えていただけないでしょうか。

よろしくお願い致します。





---------------------------------
Know more about Breast Cancer
-------------- next part --------------
HTMLの添付ファイルを保管しました...
URL: <http://www.toppers.jp/pipermail/users/attachments/20051006/b074f0d5/attachment.html>