[parsec-users] question about compiling "bodytrack" and "vips" on solaris machines

cbienia at CS.Princeton.EDU cbienia at CS.Princeton.EDU
Thu Jun 12 08:37:02 EDT 2008

Hi Guoqiang,

Bodytrack should compile without any problems. There's probably 
something broken with your environment. Try using the latest versions 
of all packages, if I remember correctly I did my work on Solaris 11.

If you have trouble building VIPS try to contact its developers 
directly. The VIPS web site is here: http://www.vips.ecs.soton.ac.uk/

- Chris

Quoting Guoqiang Yang <nkyangguoqiang at gmail.com>:

> Hi there,
> I'm now trying to compiling parsec on solaris machines. According to Javier
> Lira, there are seven benchmarks which should be compiled. When I tried, I
> failed "bodytrack", "vips" and "x264". I did find solutions from this
> mailing list and finally made it. Thank Javier Lira for your solution.
> For "bodytrack" I got the following error, and I looked into the makefile
> for bodytrack but didn't find where the option "-Wl,--rpath
> -Wl,/soft/gcc-4.2/SunOS5.10/lib -Wl,--rpath -Wl,/soft/gcc-4.2/SunOS5.10/lib"
> come from nor what it is used for:
> ========================
> /soft/gcc-4.2/SunOS5.10/bin/g++ -O3 -funroll-loops -fprefetch-loop-arrays
> -fpermissive -fno-exceptions -DPARSEC_VERSION=1.0 -fexceptions
> -Wno-unknown-pragmas -Wall -o bodytrack AnnealingFactor.o BodyGeometry.o
> BodyPose.o CameraModel.o CovarianceMatrix.o ImageMeasurements.o
> ImageProjection.o RandomGenerator.o TrackingModel.o main.o
> TrackingModelPthread.o -L/soft/gcc-4.2/SunOS5.10/lib64
> -L/soft/gcc-4.2/SunOS5.10/lib ../FlexImageLib/.libs/libflex.a
> -L/home/staff00/mein/gcc-4.2.3/sparc-sun-solaris2.10/libstdc++-v3/src
> -L/home/staff00/mein/gcc-4.2.3/sparc-sun-solaris2.10/libstdc++-v3/src/.libs
> -L/home/staff00/mein/gcc-4.2.3/host-sparc-sun-solaris2.10/gcc
> threads/.libs/libthreads.a /soft/gcc-4.2/SunOS5.10/lib/libstdc++.so
> -L/usr/ccs/lib -lm -lgcc_s -lpthread -Wl,--rpath
> -Wl,/soft/gcc-4.2/SunOS5.10/lib -Wl,--rpath -Wl,/soft/gcc-4.2/SunOS5.10/lib
> /usr/ccs/bin/ld: illegal option -- rpath
> /usr/ccs/bin/ld: illegal option -- rpath
> ========================
> For "vips" the error is given below,  it seems that it has something to do
> with flags "USE_LIBICONV_GNU" and "_LIBICONV_H". And i find that
> "USE_LIBICONV_GNU" is defined in "" but don't know how they are used. Does
> anyone know about this?
> ========================
> /soft/gcc-4.2/SunOS5.10/bin/gcc -DHAVE_CONFIG_H -I.
> -I/scratch/cerberus2/guoyang/benchmarks/parsec-1.0/./pkgs/libs/glib/src/glib
> -I.. -I/scratch/cerberus2/guoyang/benchmarks/parsec-1.0/./pkgs/libs/glib/src
> -fprefetch-loop-arrays -DPARSEC_VERSION=1.0 -Wall -MT gconvert.lo -MD -MP
> -MF .deps/gconvert.Tpo -c
> /scratch/cerberus2/guoyang/benchmarks/parsec-1.0/./pkgs/libs/glib/src/glib/gconvert.c
> -o gconvert.o
> /scratch/cerberus2/guoyang/benchmarks/parsec-1.0/./pkgs/libs/glib/src/glib/gconvert.c:48:2:
> error: #error GNU libiconv not in use but included iconv.h is from libiconv
> /scratch/cerberus2/guoyang/benchmarks/parsec-1.0/./pkgs/libs/glib/src/glib/gconvert.c:
> In function 'g_iconv':
> /scratch/cerberus2/guoyang/benchmarks/parsec-1.0/./pkgs/libs/glib/src/glib/gconvert.c:169:
> warning: passing argument 2 of 'libiconv' from incompatible pointer type
> make[4]: *** [gconvert.lo] Error 1
> make[4]: Leaving directory
> `/scratch/cerberus2/guoyang/benchmarks/parsec-1.0/pkgs/libs/glib/obj/sun4-solaris.gcc/glib'
> ========================
> My local environment configuration:
> Sun Solaris 10
> gcc 4.2
> g++ 4.2
> Any suggestion is highly appreciated. Also, could you guys tell me your
> compiling environment?
> p.s. Can anyone delete my former message? Because i messed "bodytrack" up
> with "blackscholes" in that email.
> Many thanks in advance,
> Guoqiang Yang

More information about the parsec-users mailing list