When building Open64 on RHEL 6.0 and building a program with libhugetlbfs, a runtime link error occurs:
opencc hugebss.c -HP:bdt=2m:heap=2m /local/home/dgilmore/sot-pp1/bd3410/local//lib/gcc-lib/x86_64-open64-linux/4.2/libhugetlbfs_open64.so: undefined reference to `S_ISDIR' collect2: ld returned 1 exit status $ This was fixed in the main libhugetlbfs repository: $ git show 6fa46b78 commit 6fa46b789f5f423a1d919e45306ff9357beb7898 Author: Anton Arapov <aara...@redhat.com> Date: Mon Feb 8 14:53:43 2010 +0100 elflink: include header, so it'll build flawlessly. SSIA Signed-off-by: Anton Arapov <aara...@redhat.com> Signed-off-by: Eric B Munson <ebmun...@us.ibm.com> diff --git a/elflink.c b/elflink.c index ac4a898..22d49a3 100644 --- a/elflink.c +++ b/elflink.c @@ -33,6 +33,7 @@ #include <linux/unistd.h> #include <sys/mman.h> #include <sys/wait.h> +#include <sys/stat.h> #include <errno.h> #include <limits.h> #include <elf.h> Could a gatekeeper approve making this change to our version of the library. Doug ------------------------------------------------------------------------------ Forrester recently released a report on the Return on Investment (ROI) of Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even within 7 months. Over 3 million businesses have gone Google with Google Apps: an online email calendar, and document program that's accessible from your browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew _______________________________________________ Open64-devel mailing list Open64-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/open64-devel