I see the failure below when building 1.7.4rc1 on FreeBSD-9 (amd64).
It looks to be just a missing header, probably sys/stat.h.

$ gcc --version
gcc (GCC) 4.2.1 20070831 patched [FreeBSD]

Only configure option passed was --prefix-...

-Paul



Making all in mca/sharedfp/sm
  CC       sharedfp_sm.lo
  CC       sharedfp_sm_component.lo
  CC       sharedfp_sm_seek.lo
  CC       sharedfp_sm_get_position.lo
  CC       sharedfp_sm_request_position.lo
  CC       sharedfp_sm_write.lo
  CC       sharedfp_sm_iwrite.lo
  CC       sharedfp_sm_read.lo
  CC       sharedfp_sm_iread.lo
  CC       sharedfp_sm_file_open.lo
/home/phargrov/OMPI/openmpi-1.7.4rc1-freebsd9-amd64/openmpi-1.7.4rc1/ompi/mca/sharedfp/sm/sharedfp_sm_file_open.c:
In function 'mca_sharedfp_sm_file_open':
/home/phargrov/OMPI/openmpi-1.7.4rc1-freebsd9-amd64/openmpi-1.7.4rc1/ompi/mca/sharedfp/sm/sharedfp_sm_file_open.c:121:
error: 'S_IRUSR' undeclared (first use in this function)
/home/phargrov/OMPI/openmpi-1.7.4rc1-freebsd9-amd64/openmpi-1.7.4rc1/ompi/mca/sharedfp/sm/sharedfp_sm_file_open.c:121:
error: (Each undeclared identifier is reported only once
/home/phargrov/OMPI/openmpi-1.7.4rc1-freebsd9-amd64/openmpi-1.7.4rc1/ompi/mca/sharedfp/sm/sharedfp_sm_file_open.c:121:
error: for each function it appears in.)
/home/phargrov/OMPI/openmpi-1.7.4rc1-freebsd9-amd64/openmpi-1.7.4rc1/ompi/mca/sharedfp/sm/sharedfp_sm_file_open.c:121:
error: 'S_IWUSR' undeclared (first use in this function)
/home/phargrov/OMPI/openmpi-1.7.4rc1-freebsd9-amd64/openmpi-1.7.4rc1/ompi/mca/sharedfp/sm/sharedfp_sm_file_open.c:121:
error: 'S_IRGRP' undeclared (first use in this function)
/home/phargrov/OMPI/openmpi-1.7.4rc1-freebsd9-amd64/openmpi-1.7.4rc1/ompi/mca/sharedfp/sm/sharedfp_sm_file_open.c:121:
error: 'S_IROTH' undeclared (first use in this function)
*** [sharedfp_sm_file_open.lo] Error code 1



-- 
Paul H. Hargrove                          phhargr...@lbl.gov
Future Technologies Group
Computer and Data Sciences Department     Tel: +1-510-495-2352
Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900

Reply via email to