[SCore-users-jp] Can't build mpich-1.2.5 on SCore 6.0.1

Ryoichi INAGAKI inagaki @ ueda.info.waseda.ac.jp
2007年 1月 15日 (月) 14:25:56 JST


早稲田大学の稲垣です。

On Mon, 15 Jan 2007 10:08:11 +0900, 
Kameyama Toyohisa <kameyama @ pccluster.org> wrote:

> spec file の dependency が間違っていました.
>     score-6.0.1-user
> も install して作成してください.

score6.0.1-user もインストールして再度コンパイルを行ったのですが、同じ
エラーが発生し、結果は変わりませんでした。 

先のメールで言い忘れていましたが、HW/SW環境は

HW: Proliand DL145 G2 (Opteron * 2)
SW: CentOS 4.4

です。

参考までに
score6-src/mpi/mpich-1.2.5/build.x86_64-centos4-linux2_6_gnu 
以下に作成された config.log を添付してお送りいたします。

# ちなみに yampi はコンパイルできているようです。

-------------- next part --------------
configure:/opt/score/6.0.1/bin/scorecc -compiler=gnu -compiler=gnu conftest.c -o conftest
configure: failed program was:

#define MPE_USE_EXTENSIONS 1
#include "confdefs.h"
int f(double a){return 0;}
int main() { exit(0); }
int t() {  }
/usr/bin/ld: cannot find -lscoreusr
collect2: ld returned 1 exit status
configure:gcc -fPIC -compiler=gnu -compiler=gnu conftest.c -o conftest
configure: failed program was:

#define MPE_USE_EXTENSIONS 1
#define HAS_VOLATILE 1
#include "confdefs.h"
#include <ctype.h>
int main() { exit(0); }
int t() { 
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_gethrtime) || defined (__stub___gethrtime)
choke me
#else
/* Override any gcc2 internal prototype to avoid an error.  */
extern char gethrtime(); gethrtime();
#endif
 }
gcc: unrecognized option `-compiler=gnu'
gcc: unrecognized option `-compiler=gnu'
gcc: unrecognized option `-compiler=gnu'
/tmp/ccE2Pk3d.o(.text+0x18): In function `t':
: undefined reference to `gethrtime'
collect2: ld returned 1 exit status
configure:gcc -fPIC -compiler=gnu -compiler=gnu conftest.c -o conftest
configure: failed program was:

#define MPE_USE_EXTENSIONS 1
#define HAS_VOLATILE 1
#include "confdefs.h"
#include <ctype.h>
int main() { exit(0); }
int t() { 
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_clock_gettime) || defined (__stub___clock_gettime)
choke me
#else
/* Override any gcc2 internal prototype to avoid an error.  */
extern char clock_gettime(); clock_gettime();
#endif
 }
gcc: unrecognized option `-compiler=gnu'
gcc: unrecognized option `-compiler=gnu'
gcc: unrecognized option `-compiler=gnu'
/tmp/ccmk592R.o(.text+0x18): In function `t':
: undefined reference to `clock_gettime'
collect2: ld returned 1 exit status
configure:gcc -fPIC -compiler=gnu -compiler=gnu conftest.c -o conftest
configure: failed program was:

#define MPE_USE_EXTENSIONS 1
#define HAS_VOLATILE 1
#include "confdefs.h"
#include <ctype.h>
int main() { exit(0); }
int t() { 
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_clock_gettime) || defined (__stub___clock_gettime)
choke me
#else
/* Override any gcc2 internal prototype to avoid an error.  */
extern char clock_gettime(); clock_gettime();
#endif
 }
gcc: unrecognized option `-compiler=gnu'
gcc: unrecognized option `-compiler=gnu'
gcc: unrecognized option `-compiler=gnu'
/tmp/ccAZvuIb.o(.text+0x18): In function `t':
: undefined reference to `clock_gettime'
collect2: ld returned 1 exit status
configure:gcc -fPIC -compiler=gnu -compiler=gnu conftest.c -o conftest
configure: failed program was:

#define MPE_USE_EXTENSIONS 1
#define HAS_VOLATILE 1
#include "confdefs.h"
#include <ctype.h>
int main() { exit(0); }
int t() { 
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_clock_getres) || defined (__stub___clock_getres)
choke me
#else
/* Override any gcc2 internal prototype to avoid an error.  */
extern char clock_getres(); clock_getres();
#endif
 }
gcc: unrecognized option `-compiler=gnu'
gcc: unrecognized option `-compiler=gnu'
gcc: unrecognized option `-compiler=gnu'
/tmp/ccOCcqby.o(.text+0x18): In function `t':
: undefined reference to `clock_getres'
collect2: ld returned 1 exit status
configure:gcc -fPIC -compiler=gnu -compiler=gnu conftest.c -o conftest
configure: failed program was:

#define MPE_USE_EXTENSIONS 1
#define HAS_VOLATILE 1
#include "confdefs.h"
#include <ctype.h>
int main() { exit(0); }
int t() { 
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_clock_getres) || defined (__stub___clock_getres)
choke me
#else
/* Override any gcc2 internal prototype to avoid an error.  */
extern char clock_getres(); clock_getres();
#endif
 }
gcc: unrecognized option `-compiler=gnu'
gcc: unrecognized option `-compiler=gnu'
gcc: unrecognized option `-compiler=gnu'
/tmp/ccq4DO3V.o(.text+0x18): In function `t':
: undefined reference to `clock_getres'
collect2: ld returned 1 exit status
${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >conftest.out 2>&1
Failed program was
#include "confdefs.h"

#pragma weak PFoo = Foo
int Foo(a) { return a; }

int main() { return 0; }
int t() {
return PFoo(1);
; return 0; }
gcc: unrecognized option `-compiler=gnu'
gcc: unrecognized option `-compiler=gnu'
gcc: unrecognized option `-compiler=gnu'
/tmp/cci644hf.o(.text+0x26): In function `t':
: undefined reference to `PFoo'
collect2: ld returned 1 exit status
${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >conftest.out 2>&1
Failed program was
#include "confdefs.h"

#pragma _HP_SECONDARY_DEF Foo  PFoo
int Foo(a) { return a; }

int main() { return 0; }
int t() {
return PFoo(1);
; return 0; }
gcc: unrecognized option `-compiler=gnu'
gcc: unrecognized option `-compiler=gnu'
gcc: unrecognized option `-compiler=gnu'
/tmp/cc2HP9uA.o(.text+0x26): In function `t':
: undefined reference to `PFoo'
collect2: ld returned 1 exit status
${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >conftest.out 2>&1
Failed program was
#include "confdefs.h"

#pragma _CRI duplicate PFoo as Foo
int Foo(a) { return a; }

int main() { return 0; }
int t() {
return PFoo(1);
; return 0; }
gcc: unrecognized option `-compiler=gnu'
gcc: unrecognized option `-compiler=gnu'
gcc: unrecognized option `-compiler=gnu'
/tmp/ccaUEgG0.o(.text+0x26): In function `t':
: undefined reference to `PFoo'
collect2: ld returned 1 exit status
/usr/bin/ld: cannot find -lscoreusr
collect2: ld returned 1 exit status
/usr/bin/ld: cannot find -lscoreusr
collect2: ld returned 1 exit status
gcc: unrecognized option `-compiler=gnu'
gcc: unrecognized option `-compiler=gnu'
/usr/bin/ld: cannot find -lscoreusr
collect2: ld returned 1 exit status
/opt/score/6.0.1/bin/scoref77 -compiler=gnu  -compiler=gnu -o conftest conftest.f conftest1.o   
Error linking
        program main
        end
/usr/bin/ld: cannot find -lscoreusr
collect2: ld returned 1 exit status
/opt/score/6.0.1/bin/scorec++ -o conftest conftest.cc conftest1.o -compiler=gnu   
Error linking
	int main() { return 0; }
#include "confdefs.h"
#include <stdio.h>
#include <stdarg.h>
int func( int a, ... ){
int b;
va_list ap;
va_start( ap );
b = va_arg(ap, int);
printf( "%d-%d\n", a, b );
va_end(ap);
fflush(stdout);
return 0;
}
int main() { func( 1, 2 ); return 0;}
gcc: unrecognized option `-compiler=gnu'
gcc: unrecognized option `-compiler=gnu'
conftest.c:7:14: macro "va_start" requires 2 arguments, but only 1 given
conftest.c: In function `func':
conftest.c:7: error: `va_start' undeclared (first use in this function)
conftest.c:7: error: (Each undeclared identifier is reported only once
conftest.c:7: error: for each function it appears in.)
configure:gcc -fPIC -compiler=gnu -compiler=gnu conftest.c -o conftest
configure: failed program was:

#define MPE_USE_EXTENSIONS 1
#define HAS_VOLATILE 1
#define HAVE_SIGNAL_H 1
#define HAVE_SIGACTION 1
#define HAVE_UNAME 1
#define HAVE_NETDB_H 1
#define HAVE_GETHOSTBYNAME 1
#define MPID_NO_FORTRAN 1
#define HAVE_CATOPEN 1
#define HAVE_CATCLOSE 1
#define HAVE_CATGETS 1
#define HAVE_GENCAT 1
#define HAVE_NL_TYPES_H 1
#define STDC_HEADERS 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_UNISTD_H 1
#define HAVE_STDARG_H 1
#define USE_STDARG 1
#define MALLOC_RET_VOID 1
#define HAVE_SYSTEM 1
#define HAVE_NICE 1
#define HAVE_STRDUP 1
#define HAVE_MEMORY_H 1
#define HAVE_SYS_IOCTL_H 1
#include "confdefs.h"

#include <sys/sockio.h>
int main() { exit(0); }
int t() { main(); }
gcc: unrecognized option `-compiler=gnu'
gcc: unrecognized option `-compiler=gnu'
gcc: unrecognized option `-compiler=gnu'
conftest.c:3:24: sys/sockio.h: No such file or directory
gcc -fPIC -compiler=gnu -compiler=gnu ... test for quotes in defn
gcc: unrecognized option `-compiler=gnu'
gcc: unrecognized option `-compiler=gnu'
gcc -fPIC -compiler=gnu -compiler=gnu -compiler=gnu conftest.o -o conftest foo.a
gcc: unrecognized option `-compiler=gnu'
gcc: unrecognized option `-compiler=gnu'
gcc: unrecognized option `-compiler=gnu'


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