Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] 1.7.4rc1 build failure: FreeBSD-9
From: Ralph Castain (rhc_at_[hidden])
Date: 2013-12-19 19:43:07


Fixed and cmr'd

thanks!

On Dec 19, 2013, at 3:10 PM, Paul Hargrove <phhargrove_at_[hidden]> wrote:

> 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 PHHargrove_at_[hidden]
> Future Technologies Group
> Computer and Data Sciences Department Tel: +1-510-495-2352
> Lawrence Berkeley National Laboratory Fax: +1-510-486-6900
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel