apologies for the noise.. preg_list.* wasn't being generated correctly because of ksh93.. Using bash as the shell and I get progress..
Next issue I hit... BUILD_OS seems like it's still defined as LINUX.. changing that to SUNOS == unhappy.. (What's the cleanest way to add this?) looking at elf_stuff.h and it appears it's not being generated correctly.. Error below.. ---------- C++ /usr/local/src/open64/osprey/targx8664_x8664/be/../../be/com/ipa_lno_file.cxx ../../be/com/ipa_lno_file.cxx:40:1: warning: "__STDC_LIMIT_MACROS" redefined <command-line>: warning: this is the location of the previous definition In file included from ../../be/com/ipa_lno_file.cxx:72: ../include/elf_stuff.h:73:1: warning: "EI_NIDENT" redefined In file included from /usr/include/elf.h:31, from ../../be/com/ipa_lno_file.cxx:53: /usr/include/sys/elf.h:63:1: warning: this is the location of the previous definition In file included from ../../be/com/ipa_lno_file.cxx:72: ../include/elf_stuff.h:153:1: warning: "EM_PARISC" redefined In file included from /usr/include/elf.h:31, from ../../be/com/ipa_lno_file.cxx:53: /usr/include/sys/elf.h:163:1: warning: this is the location of the previous definition In file included from ../../be/com/ipa_lno_file.cxx:72: ../include/elf_stuff.h:160:1: warning: "EM_ALPHA" redefined In file included from /usr/include/elf.h:31, from ../../be/com/ipa_lno_file.cxx:53: /usr/include/sys/elf.h:190:1: warning: this is the location of the previous definition In file included from ../../be/com/ipa_lno_file.cxx:72: ../include/elf_stuff.h:453:1: warning: "SHT_HIUSER" redefined In file included from /usr/include/elf.h:31, from ../../be/com/ipa_lno_file.cxx:53: /usr/include/sys/elf.h:438:1: warning: this is the location of the previous definition In file included from ../../be/com/ipa_lno_file.cxx:72: ../include/elf_stuff.h:457:1: warning: "SHF_WRITE" redefined In file included from /usr/include/elf.h:31, from ../../be/com/ipa_lno_file.cxx:53: /usr/include/sys/elf.h:440:1: warning: this is the location of the previous definition In file included from ../../be/com/ipa_lno_file.cxx:72: ../include/elf_stuff.h:458:1: warning: "SHF_ALLOC" redefined In file included from /usr/include/elf.h:31, from ../../be/com/ipa_lno_file.cxx:53: /usr/include/sys/elf.h:441:1: warning: this is the location of the previous definition In file included from ../../be/com/ipa_lno_file.cxx:72: ../include/elf_stuff.h:459:1: warning: "SHF_EXECINSTR" redefined In file included from /usr/include/elf.h:31, from ../../be/com/ipa_lno_file.cxx:53: /usr/include/sys/elf.h:442:1: warning: this is the location of the previous definition In file included from ../../be/com/ipa_lno_file.cxx:72: ../include/elf_stuff.h:473:1: warning: "ELF32_ST_BIND" redefined In file included from /usr/include/elf.h:31, from ../../be/com/ipa_lno_file.cxx:53: /usr/include/sys/elf.h:506:1: warning: this is the location of the previous definition In file included from ../../be/com/ipa_lno_file.cxx:72: ../include/elf_stuff.h:474:1: warning: "ELF32_ST_TYPE" redefined In file included from /usr/include/elf.h:31, from ../../be/com/ipa_lno_file.cxx:53: /usr/include/sys/elf.h:507:1: warning: this is the location of the previous definition In file included from ../../be/com/ipa_lno_file.cxx:72: ../include/elf_stuff.h:475:1: warning: "ELF32_ST_INFO" redefined In file included from /usr/include/elf.h:31, from ../../be/com/ipa_lno_file.cxx:53: /usr/include/sys/elf.h:508:1: warning: this is the location of the previous definition In file included from ../../be/com/ipa_lno_file.cxx:72: ../include/elf_stuff.h:478:1: warning: "ELF64_ST_BIND" redefined In file included from /usr/include/elf.h:31, from ../../be/com/ipa_lno_file.cxx:53: /usr/include/sys/elf.h:510:1: warning: this is the location of the previous definition In file included from ../../be/com/ipa_lno_file.cxx:72: ../include/elf_stuff.h:479:1: warning: "ELF64_ST_TYPE" redefined In file included from /usr/include/elf.h:31, from ../../be/com/ipa_lno_file.cxx:53: /usr/include/sys/elf.h:511:1: warning: this is the location of the previous definition In file included from ../../be/com/ipa_lno_file.cxx:72: ../include/elf_stuff.h:480:1: warning: "ELF64_ST_INFO" redefined In file included from /usr/include/elf.h:31, from ../../be/com/ipa_lno_file.cxx:53: /usr/include/sys/elf.h:512:1: warning: this is the location of the previous definition In file included from ../../be/com/ipa_lno_file.cxx:72: ../include/elf_stuff.h:563:1: warning: "ELF32_R_SYM" redefined In file included from /usr/include/elf.h:31, from ../../be/com/ipa_lno_file.cxx:53: /usr/include/sys/elf.h:590:1: warning: this is the location of the previous definition In file included from ../../be/com/ipa_lno_file.cxx:72: ../include/elf_stuff.h:564:1: warning: "ELF32_R_TYPE" redefined In file included from /usr/include/elf.h:31, from ../../be/com/ipa_lno_file.cxx:53: /usr/include/sys/elf.h:591:1: warning: this is the location of the previous definition In file included from ../../be/com/ipa_lno_file.cxx:72: ../include/elf_stuff.h:565:1: warning: "ELF32_R_INFO" redefined In file included from /usr/include/elf.h:31, from ../../be/com/ipa_lno_file.cxx:53: /usr/include/sys/elf.h:592:1: warning: this is the location of the previous definition In file included from ../../be/com/ipa_lno_file.cxx:72: ../include/elf_stuff.h:567:1: warning: "ELF64_R_SYM" redefined In file included from /usr/include/elf.h:31, from ../../be/com/ipa_lno_file.cxx:53: /usr/include/sys/elf.h:594:1: warning: this is the location of the previous definition In file included from ../../be/com/ipa_lno_file.cxx:72: ../include/elf_stuff.h:568:1: warning: "ELF64_R_TYPE" redefined In file included from /usr/include/elf.h:31, from ../../be/com/ipa_lno_file.cxx:53: /usr/include/sys/elf.h:595:1: warning: this is the location of the previous definition In file included from ../../be/com/ipa_lno_file.cxx:72: ../include/elf_stuff.h:584:1: warning: "PF_X" redefined In file included from /usr/include/elf.h:31, from ../../be/com/ipa_lno_file.cxx:53: /usr/include/sys/elf.h:346:1: warning: this is the location of the previous definition In file included from ../../be/com/ipa_lno_file.cxx:72: ../include/elf_stuff.h:585:1: warning: "PF_W" redefined In file included from /usr/include/elf.h:31, from ../../be/com/ipa_lno_file.cxx:53: /usr/include/sys/elf.h:345:1: warning: this is the location of the previous definition In file included from ../../be/com/ipa_lno_file.cxx:72: ../include/elf_stuff.h:586:1: warning: "PF_R" redefined In file included from /usr/include/elf.h:31, from ../../be/com/ipa_lno_file.cxx:53: /usr/include/sys/elf.h:344:1: warning: this is the location of the previous definition In file included from ../../be/com/ipa_lno_file.cxx:72: ../include/elf_stuff.h:67: error: expected constructor, destructor, or type conversion before 'typedef' In file included from ../../be/com/ipa_lno_file.cxx:73: ../../common/com/pu_info.h:132: error: expected constructor, destructor, or type conversion before 'typedef' gmake[3]: *** [ipa_lno_file.o] Error 1 gmake[3]: Leaving directory `/usr/local/src/open64/osprey/targx8664_x8664/be'