Caciano, could You please check whether the following fixes it? Index: orte/mca/snapc/full/snapc_full_app.c =================================================================== --- orte/mca/snapc/full/snapc_full_app.c (revision 21099) +++ orte/mca/snapc/full/snapc_full_app.c (working copy) @@ -36,6 +36,7 @@
#include "orte/runtime/orte_cr.h" #include "orte/runtime/orte_globals.h" +#include "opal/runtime/opal_cr.h" #include "opal/util/output.h" #include "opal/util/opal_environ.h" #include "opal/mca/mca.h" Thanks, Rainer On Tuesday 28 April 2009 11:15:37 pm Caciano Machado wrote: > Hi, > > I'm getting the folowing error compiling the svn trunk. > > Regards, > Caciano Machado > > root@debompi:/usr/local/src/ompi-trunk# make distclean && ./autogen.sh && > ./configure --prefix=/usr/local/openmpi --with-ft=cr > --with-blcr=/usr/local/blcr -enable-mpi-threads --enable-trace && make > ... > gcc -DHAVE_CONFIG_H -I. -I../../../../opal/include > -I../../../../orte/include -I../../../../ompi/include > -I../../../../opal/mca/paffinity/linux/plpa/src/libplpa -I../../../.. -g > -Wall -Wundef -Wno-long-long -Wsign-compare -Wmissing-prototypes > -Wstrict-prototypes -Wcomment -pedantic > -Werror-implicit-function-declaration -finline-functions > -fno-strict-aliasing -pthread -fvisibility=hidden -MT snapc_full_app.lo -MD > -MP -MF .deps/snapc_full_app.Tpo -c snapc_full_app.c -fPIC -DPIC -o > .libs/snapc_full_app.o > snapc_full_app.c:57: error: expected ‘)’ before ‘resp’ > snapc_full_app.c:59: error: expected declaration specifiers or ‘...’ before > ‘opal_cr_ckpt_cmd_state_t’ > snapc_full_app.c: In function ‘app_coord_init’: > snapc_full_app.c:75: error: ‘opal_cr_notify_callback_fn_t’ undeclared > (first use in this function) > snapc_full_app.c:75: error: (Each undeclared identifier is reported only > once > snapc_full_app.c:75: error: for each function it appears in.) > snapc_full_app.c:75: error: expected ‘;’ before ‘prev_notify_func’ > snapc_full_app.c:76: warning: ISO C90 forbids mixed declarations and code > snapc_full_app.c:85: error: implicit declaration of function > ‘opal_cr_reg_notify_callback’ > snapc_full_app.c:85: error: ‘snapc_full_app_notify_response’ undeclared > (first use in this function) > snapc_full_app.c:85: error: ‘prev_notify_func’ undeclared (first use in > this function) > snapc_full_app.c:90: error: ‘opal_cr_pipe_dir’ undeclared (first use in > this function) > snapc_full_app.c:90: error: ‘OPAL_CR_NAMED_PROG_R’ undeclared (first use in > this function) > snapc_full_app.c:91: error: ‘OPAL_CR_NAMED_PROG_W’ undeclared (first use in > this function) > snapc_full_app.c:97: error: ‘opal_cr_entry_point_signal’ undeclared (first > use in this function) > snapc_full_app.c: In function ‘snapc_full_app_signal_handler’: > snapc_full_app.c:145: error: ‘opal_cr_entry_point_signal’ undeclared (first > use in this function) > snapc_full_app.c:155: error: ‘opal_cr_checkpoint_request’ undeclared (first > use in this function) > snapc_full_app.c:155: error: ‘OPAL_CR_STATUS_REQUESTED’ undeclared (first > use in this function) > snapc_full_app.c: At top level: > snapc_full_app.c:164: error: expected ‘)’ before ‘resp’ > snapc_full_app.c:366: error: expected declaration specifiers or ‘...’ > before ‘opal_cr_ckpt_cmd_state_t’ > snapc_full_app.c: In function ‘snapc_full_app_ckpt_handshake_start’: > snapc_full_app.c:383: error: ‘resp’ undeclared (first use in this function) > snapc_full_app.c:394: error: ‘OPAL_CHECKPOINT_CMD_IN_PROGRESS’ undeclared > (first use in this function) > snapc_full_app.c:403: error: ‘OPAL_CHECKPOINT_CMD_NULL’ undeclared (first > use in this function) > snapc_full_app.c:413: error: ‘OPAL_CHECKPOINT_CMD_ERROR’ undeclared (first > use in this function) > snapc_full_app.c: In function ‘app_coord_ft_event’: > snapc_full_app.c:595: error: ‘opal_cr_pipe_dir’ undeclared (first use in > this function) > snapc_full_app.c:595: error: ‘OPAL_CR_NAMED_PROG_R’ undeclared (first use > in this function) > snapc_full_app.c:596: error: ‘OPAL_CR_NAMED_PROG_W’ undeclared (first use > in this function) > snapc_full_app.c:602: error: ‘opal_cr_entry_point_signal’ undeclared (first > use in this function) > make[2]: *** [snapc_full_app.lo] Error 1 > make[2]: Leaving directory `/usr/local/src/ompi-trunk/orte/mca/snapc/full' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/usr/local/src/ompi-trunk/orte' > make: *** [all-recursive] Error 1 -- ------------------------------------------------------------------------ Rainer Keller, PhD Tel: +1 (865) 241-6293 Oak Ridge National Lab Fax: +1 (865) 241-4811 PO Box 2008 MS 6164 Email: kel...@ornl.gov Oak Ridge, TN 37831-2008 AIM/Skype: rusraink