[SCore-users-jp] コンパイル時のワーニングについて

小堀 貴彦(NESI) kohori-t @ nesi.co.jp
2006年 3月 9日 (木) 21:08:39 JST


小堀と申します。

いつもお世話になっております。

テストプログラム「hello」のコンパイルを実施したところ、下記のような
ワーニングが出力されました。

[root @ server mttl]# mpc++ hello.cc
/opt/score5.8.3/lib/i386-fedoracore3-linux2_6/libpm.a(pm_loader.o)(.text+0xad): 
In function `pmLoaderLoadModule':
: warning: Using 'dlopen' in statically linked applications requires at 
runtime the shared libraries from the glibc version used for linking
/opt/score5.8.3/lib/i386-fedoracore3-linux2_6/libscorecommon.a(utility.o)(.text+0x48f): 
In function `score_gethostname':
: warning: Using 'gethostbyname' in statically linked applications requires 
at runtime the shared libraries from the glibc version used for linking
/opt/score5.8.3/lib/i386-fedoracore3-linux2_6/libscorecommon.a(utility.o)(.text+0x267): 
In function `score_set_tcp_nodelay':
: warning: Using 'getprotobyname' in statically linked applications requires 
at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc/i386-redhat-linux/3.4.4/../../../libc.a(rcmd.o)(.text+0x1c7): 
In function `rcmd_af':
: warning: Using 'getaddrinfo' in statically linked applications requires at 
runtime the shared libraries from the glibc version used for linking


mpiccで他のプログラムをコンパイルしても同様のワーニング
が出力されます。
プログラムが作成されていますのでコンパイルは完了しているよう
なのですが、動作としては正常なのでしょうか。



SCore-users-jp メーリングリストの案内