Couple of things stand out:

1. you definitely don't want to use a copy of the trunk beyond r23924. The 
developer's trunk is undergoing some major change and orcm no longer is in-sync 
with it. I probably won't update orcm to match until later this year (will 
freeze integration at r23924).

2. the configure options don't look right to me - they should simply be:
./configure --prefix=<wherever> --with-platform=contrib/platform/cisco/linux

I believe the errors are caused by confusion due to the various configure 
options.

HTH
Ralph

On Oct 29, 2010, at 3:32 AM, Vasiliy G Tolstov wrote:

> Hello. I'm try to build orcm , in dependencies it need openmpi trunk
> with some options have been enabled.
> 
> Install fails with message:
> Creating orte-migrate.1 man page...
> x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../../opal/include
> -I../../../orte/include
> -I../../../opal/mca/paffinity/hwloc/hwloc/include/private
> -I../../../opal/mca/paffinity/hwloc/hwloc/include/hwloc   -I../../..
> -march=native -pipe -O2 -g -Wall -Wundef -Wno-long-long -Wsign-compare
> -Wmissing-prototypes -Wstrict-prototypes -Wcomment -pedantic
> -Werror-implicit-function-declaration -finline-functions
> -fno-strict-aliasing -pthread
> -I/var/tmp/paludis/build/sys-cluster-openmpi-scm/work/openmpi-scm/opal/mca/paffinity/hwloc/hwloc/include
>  -fvisibility=hidden -c -o orte-migrate.o orte-migrate.c
> make[2]: Leaving directory
> `/var/tmp/paludis/build/sys-cluster-openmpi-scm/work/openmpi-scm/orte/tools/orte-migrate'
> make[1]: Leaving directory
> `/var/tmp/paludis/build/sys-cluster-openmpi-scm/work/openmpi-scm/orte'
> orte-migrate.c:101:39: error: 'ORTE_ERRMGR_MIGRATE_STATE_NONE'
> undeclared here (not in a function)
> orte-migrate.c: In function 'main':
> orte-migrate.c:221:12: error: 'ORTE_ERRMGR_MIGRATE_STATE_FINISH'
> undeclared (first use in this function)
> orte-migrate.c:221:12: note: each undeclared identifier is reported only
> once for each function it appears in
> orte-migrate.c:222:12: error: 'ORTE_ERRMGR_MIGRATE_STATE_ERROR'
> undeclared (first use in this function)
> orte-migrate.c:223:12: error: 'ORTE_ERRMGR_MIGRATE_STATE_ERR_INPROGRESS'
> undeclared (first use in this function)
> orte-migrate.c: In function 'hnp_receiver':
> orte-migrate.c:531:5: error: 'orte_errmgr_tool_cmd_flag_t' undeclared
> (first use in this function)
> orte-migrate.c:531:33: error: expected ';' before 'command'
> orte-migrate.c:532:5: warning: ISO C90 forbids mixed declarations and
> code
> orte-migrate.c:542:56: error: 'command' undeclared (first use in this
> function)
> orte-migrate.c:542:73: error: 'ORTE_ERRMGR_MIGRATE_TOOL_CMD' undeclared
> (first use in this function)
> orte-migrate.c:548:14: error: 'ORTE_ERRMGR_MIGRATE_TOOL_UPDATE_CMD'
> undeclared (first use in this function)
> orte-migrate.c:555:14: error: 'ORTE_ERRMGR_MIGRATE_TOOL_INIT_CMD'
> undeclared (first use in this function)
> orte-migrate.c: In function 'process_ckpt_update_cmd':
> orte-migrate.c:597:9: error: 'ORTE_ERRMGR_MIGRATE_STATE_ERR_INPROGRESS'
> undeclared (first use in this function)
> orte-migrate.c:609:12: error: 'ORTE_ERRMGR_MIGRATE_STATE_FINISH'
> undeclared (first use in this function)
> orte-migrate.c: In function 'notify_hnp':
> orte-migrate.c:622:5: error: 'orte_errmgr_tool_cmd_flag_t' undeclared
> (first use in this function)
> orte-migrate.c:622:33: error: expected ';' before 'command'
> orte-migrate.c:643:55: error: 'command' undeclared (first use in this
> function)
> orte-migrate.c:643:67: error: 'ORTE_ERRMGR_MIGRATE_TOOL_CMD' undeclared
> (first use in this function)
> orte-migrate.c: In function 'pretty_print_status':
> orte-migrate.c:710:5: error: implicit declaration of function
> 'orte_errmgr_base_migrate_state_str'
> make[2]: *** [orte-migrate.o] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1
> 
> 
> Configured with flags:
> configure: OMPI configuring in opal/libltdl
> configure: running /bin/sh './configure'  '--prefix=/usr'
> '--host=x86_64-pc-linux-gnu' '--build=x86_64-pc-linux-gnu'
> '--mandir=/usr/share/man' '--infodir=/usr/share/info'
> '--datadir=/usr/share' '--docdir=/usr/share/doc/openmpi-scm'
> '--sysconfdir=/etc' '--localstatedir=/var/lib'
> '--disable-dependency-tracking' '--disable-silent-rules'
> '--enable-fast-install' '--libdir=/usr/lib64'
> '--sysconfdir=/etc/openmpi' '--enable-pretty-print-stacktrace'
> '--enable-orterun-prefix-by-default'
> '--with-platform=contrib/platform/cisco/ebuild/native'
> '--enable-multicast' '--with-ft=orcm' '--enable-sensors'
> '--enable-heartbeat' '--enable-mpi-threads' '--enable-progress-threads'
> '--disable-mpi-f90' '--disable-mpi-f77' '--enable-contrib-no-build=vt'
> '--disable-io-romio' '--enable-heterogeneous' '--enable-ipv6'
> 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu'
> 'CC=x86_64-pc-linux-gnu-gcc' 'CFLAGS=-march=native -pipe -O2' 'CPP=cpp'
> --enable-ltdl-convenience --disable-ltdl-install --enable-shared
> --disable-static --cache-file=/dev/null --srcdir=.
> --disable-option-checking
> 
> 
> -- 
> Vasiliy G Tolstov <v.tols...@selfip.ru>
> Selfip.Ru
> 
> _______________________________________________
> users mailing list
> us...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/users


Reply via email to