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

Christian Bienia cbienia at CS.Princeton.EDU
Sun Apr 13 11:29:27 EDT 2008


Hi Kshitij,

Those are ImageMagick functions. You should first check whether the 
ImageMagick library that comes with PARSEC compiled correctly. If that is the 
case there's likely to be an issue with the linking order or something else 
that prevents your linker from using the library correctly. If your machine 
comes with its own version of ImageMagick you can also try to use that one 
instead.

- Chris




On Sunday 13 April 2008 04:26 am, Kshitij Sudan wrote:
> 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/s
>rm.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/l
>ibcassimage.a' CXX
> '/home/kshitij/parsec-1.0/pkgs/apps/ferret/obj/sparc-linux.gcc/parsec/obj/f
>erret-parallel.o' ==>
> '/home/kshitij/parsec-1.0/pkgs/apps/ferret/obj/sparc-linux.gcc/parsec/bin/f
>erret-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/li
>bcassimage.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/li
>bcassimage.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/li
>bcassimage.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/li
>bcassimage.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/li
>bcassimage.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/li
>bcassimage.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/f
>erret-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.
> ---------------------------------------------------------------------------
>------------------------------------------------------
> _______________________________________________
> parsec-users mailing list
> parsec-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/parsec-users



More information about the parsec-users mailing list