[LSST|dm-users 662] Re: eups distrib: Failed to build fftw-3.3.3.eupspkg with error: member reference base type 'ticks' (aka 'int') is not a structure or union

Mario Juric mjuric at astro.washington.edu
Fri May 15 13:47:55 PDT 2015


On 5/15/15 12:33 , Phil Marshall wrote:
> 
> This *looks* like a genuine bug,  or maybe an undocumented need for some
> compiler flags. I couldn't find any mention of this error in this email
> list archive. 
> 
> I am following Simon's instructions 
> at https://confluence.lsstcorp.org/display/SIM/Catalogs+and+MAF (like so
> many of us MAF hopefuls) and running Mac OS X Yosemite. 
> 
> The build.log is attached. All suggestions welcome!
> 

Hi Phil,
	I also suspect something is interfering with the normal build. Do you
have other compilers on your path? Special libraries? Do you have CC
and/or CXX defined?

Here's some further evidence pointing to that:

My Yosemite fftw build.log file:
========
....
checking for read_real_time... no
checking for time_base_to_time... no
....
========

and the build.log that you attached:
========
....
checking for read_real_time... yes
checking for time_base_to_time... yes
....
========

Based on some cursory reading on teh internets, read_real_time seems to
be an AIX thing (!?).

-- Mario

> Cheers
> 
> Phil
> 
> 
> pjm% eups distrib install sims_maf -t sims
>   [  1/59 ]  cfitsio 3360.lsst1                                        
> done.
>   [  2/59 ]  doxygen 1.8.5 (already installed)                        
>  done.
>   [  3/59 ]  eigen 3.2.0                                              
>  done.
>   [  4/59 ]  fftw 3.3.3 ...
> 
> ***** error: from
> /Users/pjm/lsst/EupsBuildDir/DarwinX86/fftw-3.3.3/build.log:
>      return (((double)t1.tb_high - (double)t0.tb_high) * 1.0e9 +
>                       ~~^~~~~~~~
> ./cycle.h:125:46: error: member reference base type 'ticks' (aka 'int')
> is not a structure or union
>      return (((double)t1.tb_high - (double)t0.tb_high) * 1.0e9 +
>                                            ~~^~~~~~~~
> ./cycle.h:126:18: error: member reference base type 'ticks' (aka 'int')
> is not a structure or union
>              ((double)t1.tb_low - (double)t0.tb_low));
>                       ~~^~~~~~~
> ./cycle.h:126:38: error: member reference base type 'ticks' (aka 'int')
> is not a structure or union
>              ((double)t1.tb_low - (double)t0.tb_low));
>                                           ~~^~~~~~~
> 2 warnings and 8 errors generated.
> make[2]: *** [timer.lo] Error 1
> make[2]: *** Waiting for unfinished jobs....
> mv -f .deps/tensor8.Tpo .deps/tensor8.Plo
> mv -f .deps/tensor9.Tpo .deps/tensor9.Plo
> mv -f .deps/tile2d.Tpo .deps/tile2d.Plo
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> + exit -4
> eups distrib: Failed to build fftw-3.3.3.eupspkg: Command:
> source /Users/pjm/lsst/eups/bin/setups.sh; export
> EUPS_PATH=/Users/pjm/lsst;
> (/Users/pjm/lsst/EupsBuildDir/DarwinX86/fftw-3.3.3/build.sh) >>
> /Users/pjm/lsst/EupsBuildDir/DarwinX86/fftw-3.3.3/build.log 2>&1
> 4>/Users/pjm/lsst/EupsBuildDir/DarwinX86/fftw-3.3.3/build.msg
> exited with code 252
> 
> 
> _______________________________________________
> dm-users mailing list
> dm-users at lists.lsst.org
> https://lists.lsst.org/mailman/listinfo/dm-users
> 


-- 
Mario Juric,
UW Astronomy Faculty | UW eScience | LSST DM Project Scientist
Web : http://research.majuric.org      Phone : +1 609 933 1033


More information about the dm-users mailing list