(toppers-users 3030) Re: バージョンアップでの不具合
大澤 国
oosawa.kuni @ amber.plala.or.jp
2009年 9月 16日 (水) 17:42:06 JST
今井様
ありがとうございます。
tmp_script.plのファイルです。
・ビルドできた場合(サンプルプログラムの場合です。)
&define_inh(24,"timer_handler");
&define_inh(57,"sio_in_handler");
&define_inh(58,"sio_out_handler");
&define_inh(53,"sio_in2_handler");
&define_inh(54,"sio_out2_handler");
1;
・ビルドできない場合(私がmakeしたいプログラムです。)
&define_inh(24,{TA_HLNG,timer_handler");
&define_inh(57,{TA_HLNG,sio_in_handler");
&define_inh(58,{TA_HLNG,sio_out_handler");
&define_inh(53,{TA_HLNG,sio_in2_handler");
&define_inh(54,{TA_HLNG,sio_out2_handler");
&define_inh(17,{TA_HLNG,if_ed_handler");
1;
ツールのバージョンの調べ方ありがとうございます。
・Cygwin
Owner @ WINXP ~/jsp1.4.3/jsp/APL
$ uname -a
CYGWIN_NT-5.1 WINXP 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin
・gcc
Owner @ WINXP ~/jsp1.4.3/jsp/APL
$ h8300-hms-gcc -v
Reading specs from /opt/toppers_jsp/lib/gcc/h8300-hms/3.4.1/specs
Configured with: ../configure --target=h8300-hms --disable-nls
--prefix=/opt/top
pers_jsp --with-gnu-as --with-gnu-ld --with-newlib
--enable-languages=c,c++ --wi
th-headers=../../newlib-1.16.0/newlib/libc/include
Thread model: single
gcc version 3.4.1
・binutils
Owner @ WINXP ~/jsp1.4.3/jsp/APL
$ h8300-hms-as -v
GNU assembler version 2.16.1 (h8300-hms)
・perl
Owner @ WINXP ~
$ perl -v
This is perl, v5.10.0 built for cygwin-thread-multi-64int
(with 6 registered patches, see perl -V for more detail)
Copyright 1987-2007, Larry Wall
Perl may be copied only under the terms of either the Artistic
License or the
GNU General Public License, which may be found in the Perl 5 source
kit.
Complete documentation for Perl, including FAQ lists, should be
found on
this system using "man perl" or "perldoc perl". If you have access
to the
Internet, point your browser at http://www.perl.org/, the Perl Home
Page.
・make
Owner @ WINXP ~
$ make -v
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
his is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for i686-pc-cygwin
以上です。大澤 国
-----Original Message-----
From: 今井和彦 [mailto:imai-ka648 @ pref.miyagi.jp]
Sent: Wednesday, September 16, 2009 2:19 PM
To: users @ toppers.jp
Subject: (toppers-users 3029) Re: バージョンアップでの不具合
大澤様
> TOPPERS/JSPカーネル(1.4.3)単体でのサンプルのmakeも、TCP/IP プロトコルス
> タック(TINET)(1.4)のminsvもmakeできています。
ツールのバージョンが原因ではなさそうですね。
> ../../utils/h8/genvector.pl \
> -z -s 64 >> vector.S
> String found where operator expected at ./tmp_script.pl line 2, near
> "&define_inh(57,{TA_HLNG,sio_in_handler""
> (Might be a runaway multi-line "" string starting on line 1)
> (Missing semicolon on previous line?)
というエラーメッセージなので、
・ビルドできた場合
・ビルドできない場合
それぞれのtmp_script.plを見せて頂けるでしょうか。
そのままでは、tmp_script.plが削除されるので、
jsp\config\h8\Makefile.configの97行目
rm -f tmpfile1 tmp_script.pl
をコメントアウトして下さい。
> ホストに関する情報ですが、
> ・OSのバージョンは XPのSP3
> ・コンパイラなどの開発環境のバージョン
> Cygwinは、よく分かりません。「ここをクリック」というところでインストール
し
> ました。
> Gccは、3.4.1
> Binutilsは、2.16.1
> Newlibは、1.14.0です。
> make, perlは、Cygwinインストール時に入っているとのことなので何もしていま
せ
> ん。
ツールのバージョンの調べ方を記します。
・Cygwin
uname -aを実行します。
・gcc
クロスコンパイラのバージョン
h8300-hms-gcc -vを実行します。
・binutils
h8300-hms-as -vを実行します。
・perl
perl -vを実行します。
・make
make -vを実行します。
------------------------
宮城県産業技術総合センター
今井和彦
E-mail: imai-ka648 @ pref.miyagi.jp
TEL 022-377-8700
FAX 022-377-8712