[parsec-users] I was unable to build parsec.dedup package of parsec 3.0 with gcc on ubuntu 12.04

Kim Jarvis kim.jarvis at tpfsystems.com
Mon Jan 7 11:35:00 EST 2013


I was unable to build parsec.dedup package of parsec 3.0 with gcc on 
ubuntu 12.04

 >parsecmgmt -a run -i native -p parsec.dedup -c gcc
parsec-3.0/pkgs/kernels/dedup/obj/amd64-linux.gcc/encoder.c:1407: 
undefined reference to `S_ISREG'

To fix this problem add #include <sys/stat.h> to 
parsec-3.0/pkgs/kernels/dedup/src/encoder.c as per the following patch.

--- /home/kim/parsec-3.0/pkgs/kernels/dedup/src/encoder.c    2013-01-07 
13:59:05.891318457 +0000
+++ /home/kim/software/parsec-3.0/pkgs/kernels/dedup/src/encoder.c    
2012-09-05 03:51:06.000000000 +0100
@@ -20,7 +20,6 @@
  #include <strings.h>
  #include <math.h>
  #include <limits.h>
-#include <sys/stat.h>
  #include <fcntl.h>
  #include <errno.h>
  #include <unistd.h>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cs.princeton.edu/pipermail/parsec-users/attachments/20130107/04f62a2b/attachment.htm>


More information about the parsec-users mailing list