[parsec-users] ferret compile errors for Linux/SPARC

Kshitij Sudan kshitij at cs.utah.edu
Sun Apr 13 04:26:56 EDT 2008


Hi,

I am trying to compile ferret for Linux/SPARC using gcc-4.2 but the
compilation dies after a while giving the following errors. Any
pointers as to what is going wrong?

thanks,
-Kshitij

------------------------------------------------------------------------------------------------------------------------
 CC '/home/kshitij/parsec-1.0/pkgs/apps/ferret/obj/sparc-linux.gcc/image/srm.c'
==> '/home/kshitij/parsec-1.0/pkgs/apps/ferret/obj/sparc-linux.gcc/parsec/obj/srm.o'
/home/kshitij/parsec-1.0/pkgs/apps/ferret/obj/sparc-linux.gcc/image/srm.c:1:
warning: -fprefetch-loop-arrays not supported for this target (try
-march switches)
   A  '/home/kshitij/parsec-1.0/pkgs/apps/ferret/obj/sparc-linux.gcc/parsec/lib/libcassimage.a'
   CXX '/home/kshitij/parsec-1.0/pkgs/apps/ferret/obj/sparc-linux.gcc/parsec/obj/ferret-parallel.o'
==> '/home/kshitij/parsec-1.0/pkgs/apps/ferret/obj/sparc-linux.gcc/parsec/bin/ferret-parallel'
/usr/bin/ld: skipping incompatible /usr/lib64/libpthread.so when
searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib64/libpthread.a when
searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib64/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib64/libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib64/libpthread.so when
searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib64/libpthread.a when
searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib64/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib64/libm.a when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib64/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib64/libc.a when searching for -lc
/home/kshitij/parsec-1.0/pkgs/apps/ferret/obj/sparc-linux.gcc/parsec/lib/libcassimage.a(image.o):
In function `image_read_rgb_hsv':
image.c:(.text+0x4): undefined reference to `AcquireExceptionInfo'
image.c:(.text+0x18): undefined reference to `AcquireImageInfo'
/home/kshitij/parsec-1.0/pkgs/apps/ferret/obj/sparc-linux.gcc/parsec/lib/libcassimage.a(image.o):
In function `image_read_gray':
image.c:(.text+0x29c): undefined reference to `AcquireExceptionInfo'
image.c:(.text+0x2b0): undefined reference to `AcquireImageInfo'
/home/kshitij/parsec-1.0/pkgs/apps/ferret/obj/sparc-linux.gcc/parsec/lib/libcassimage.a(image.o):
In function `image_read_hsv':
image.c:(.text+0x40c): undefined reference to `AcquireExceptionInfo'
image.c:(.text+0x420): undefined reference to `AcquireImageInfo'
/home/kshitij/parsec-1.0/pkgs/apps/ferret/obj/sparc-linux.gcc/parsec/lib/libcassimage.a(image.o):
In function `image_read_rgb':
image.c:(.text+0x5b0): undefined reference to `AcquireExceptionInfo'
image.c:(.text+0x5c4): undefined reference to `AcquireImageInfo'
/home/kshitij/parsec-1.0/pkgs/apps/ferret/obj/sparc-linux.gcc/parsec/lib/libcassimage.a(image.o):
In function `image_write_rgb':
image.c:(.text+0x724): undefined reference to `AcquireExceptionInfo'
image.c:(.text+0x738): undefined reference to `AcquireImageInfo'
/home/kshitij/parsec-1.0/pkgs/apps/ferret/obj/sparc-linux.gcc/parsec/lib/libcassimage.a(image.o):
In function `image_ping':
image.c:(.text+0x81c): undefined reference to `AcquireExceptionInfo'
image.c:(.text+0x830): undefined reference to `AcquireImageInfo'
collect2: ld returned 1 exit status
make: *** [/home/kshitij/parsec-1.0/pkgs/apps/ferret/obj/sparc-linux.gcc/parsec/bin/ferret-parallel]
Error 1
[PARSEC] Error: 'env version=parallel CFLAGS=-O3 -funroll-loops
-fprefetch-loop-arrays -DPARSEC_VERSION=1.0
-I/home/kshitij/parsec-1.0/./pkgs/libs/gsl/inst/sparc-linux.gcc/include
-I/home/kshitij/parsec-1.0/./pkgs/libs/imagick/inst/sparc-linux.gcc/include
LDFLAGS=-L/usr/lib64 -L/usr/lib
-L/home/kshitij/parsec-1.0/./pkgs/libs/gsl/inst/sparc-linux.gcc/lib
-L/home/kshitij/parsec-1.0/./pkgs/libs/imagick/inst/sparc-linux.gcc/lib
make' failed.
---------------------------------------------------------------------------------------------------------------------------------


More information about the parsec-users mailing list