Thanks for that tip, I have now reached 82% build completion before it stops with another (probably related) error. 

[ 82%] Building CXX object contrib/brl/bseg/bbgm_batch/CMakeFiles/bbgm_batch.dir/reg_bbgm.o
Linking CXX shared module ../../../../lib/bbgm_batch.so
/usr/bin/ld: ../../../../lib/libvil_io.a(vil_io_smart_ptr+vil_memory_chunk-.o): relocation R_X86_64_32 against `.bss' can not be used when making a shared object; recompile with -fPIC
../../../../lib/libvil_io.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [lib/bbgm_batch.so] Error 1
make[1]: *** [contrib/brl/bseg/bbgm_batch/CMakeFiles/bbgm_batch.dir/all] Error 2
make: *** [all] Error 2

From reading the mailing lists, I think I solve this error by doing CMAKE_CXX_FLAGS:STRING=-fPIC
CMAKE_C_FLAGS:STRING=-fPIC

in CMakeCache.txt. However this overwrites the -D__STDC_CONSTANT_MACROS string that was advised in the previous reply. 

It was mentioned in the last reply that some other solutions were suggested last time this issue came up, was a consensus reached?

Thanks