Solaris: scanelf.o: In function `scanelf_file_needed_lib.clone.6': scanelf.c:(.text+0x5348): undefined reference to `faccessat' scanelf.c:(.text+0x5428): undefined reference to `faccessat' scanelf.o: In function `scanelf_dirat': scanelf.c:(.text+0x8356): undefined reference to `stpcpy' scanelf.o: In function `main': scanelf.c:(.text+0x9668): undefined reference to `getline' collect2: ld returned 1 exit status Darwin: scanelf.c:63: error: ‘AT_FDCWD’ undeclared here (not in a function) scanelf.c: In function ‘fopenat_r’: scanelf.c:95: warning: implicit declaration of function ‘openat’ scanelf.c:95: warning: nested extern declaration of ‘openat’ scanelf.c: In function ‘scanelf_file_rpath’: scanelf.c:773: warning: overflow in implicit constant conversion scanelf.c: In function ‘lookup_config_lib’: scanelf.c:938: warning: implicit declaration of function ‘faccessat’ scanelf.c:938: warning: nested extern declaration of ‘faccessat’ scanelf.c:938: error: ‘AT_SYMLINK_NOFOLLOW’ undeclared (first use in this function) scanelf.c:938: error: (Each undeclared identifier is reported only once scanelf.c:938: error: for each function it appears in.) scanelf.c: In function ‘scanelf_fileat’: scanelf.c:1650: warning: implicit declaration of function ‘fstatat’ scanelf.c:1650: warning: nested extern declaration of ‘fstatat’ scanelf.c: In function ‘scanelf_dirat’: scanelf.c:1694: error: ‘AT_SYMLINK_NOFOLLOW’ undeclared (first use in this function) scanelf.c:1708: warning: implicit declaration of function ‘fdopendir’ scanelf.c:1708: warning: nested extern declaration of ‘fdopendir’ scanelf.c:1708: warning: assignment makes pointer from integer without a cast make: *** [scanelf.o] Error 1 This might need the same treatment as for portage-utils, since this seems not easily fixable.
if you threw together the framework like we have in portage-utils, i wouldn't mind adding that :)
pax-utils-0.9 should include autotools now and thus work on prefix systems. if things still fail, file a new bug with the build log and we'll follow up there.