As I keep trying to install OpenMPI in Cygwin, I found another instance where RTFD_NEXT is assumed to be present. Will keep trying...
Gustavo. ============================= Making all in vtlib make[5]: Entering directory `/home/seabra/local/openmpi-1.3b1/ompi/contrib/vt/vt/vtlib' gcc -DHAVE_CONFIG_H -I. -I.. -I../tools/opari/lib -I../extlib/otf/otflib -I../extlib/otf/otflib -D_REENTRANT -DBINDIR=\"/home/seabra/local/openmpi-1.3b1/bin\" -DDATADIR=\"/home/seabra/local/openmpi-1.3b1/share/vampirtrace\" -DRFG -DVT_BFD -DVT_IOWRAP -O3 -DNDEBUG -finline-functions -fno-strict-aliasing -MT vt_comp_gnu.o -MD -MP -MF .deps/vt_comp_gnu.Tpo -c -o vt_comp_gnu.o vt_comp_gnu.c mv -f .deps/vt_comp_gnu.Tpo .deps/vt_comp_gnu.Po gcc -DHAVE_CONFIG_H -I. -I.. -I../tools/opari/lib -I../extlib/otf/otflib -I../extlib/otf/otflib -D_REENTRANT -DBINDIR=\"/home/seabra/local/openmpi-1.3b1/bin\" -DDATADIR=\"/home/seabra/local/openmpi-1.3b1/share/vampirtrace\" -DRFG -DVT_BFD -DVT_IOWRAP -O3 -DNDEBUG -finline-functions -fno-strict-aliasing -MT vt_iowrap.o -MD -MP -MF .deps/vt_iowrap.Tpo -c -o vt_iowrap.o vt_iowrap.c vt_iowrap.c: In function `vt_iowrap_init': vt_iowrap.c:105: error: `RTLD_NEXT' undeclared (first use in this function) vt_iowrap.c:105: error: (Each undeclared identifier is reported only once vt_iowrap.c:105: error: for each function it appears in.) vt_iowrap.c: In function `open': vt_iowrap.c:188: error: `RTLD_NEXT' undeclared (first use in this function) [...and a bunch of messages just like those last 2 lines...]