Hello,

I am not able to compile magick/shear.c :


/bin/bash ./libtool --silent --tag=CC   --mode=compile /usr/bin/cc 
-xc99=all -DHAVE_CONFIG_H -I. -I./config  -I./ltdl -I./ltdl 
-I/usr/sfw/include/freetype2 -I/usr/sfw/include -I/usr/include/libxml2 
-xopenmp -g -D_REENTRANT -c -o magick/magick_libMagickCore_la-shear.lo 
`test -f 'magick/shear.c' || echo './'`magick/shear.c
cc: Warning: Specify a supported level of optimization when using 
-xopenmp, -xopenmp will not set an optimization level in a future release. 
Optimization level changed to 3 to support -xopenmp
"./magick/cache-view.h", line 109: warning: statement not reached
"./magick/cache-view.h", line 117: warning: statement not reached
"magick/shear.c", line 586: iteration expression of omp for loop does not 
have a canonical shape
cc: acomp failed for magick/shear.c
*** Error code 1
make: Fatal error: Command failed for target 
`magick/magick_libMagickCore_la-shear.lo'
Current working directory /export/home/tb/src/ImageMagick-6.4.3
*** Error code 1
make: Fatal error: Command failed for target `all'


after commenting out the omp pragma (only the on in magick/share.c line 
586 ) everything works fine.

regards,

Timo



Blah:
configure.log
------------------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by ImageMagick configure 6.4.3, which was
generated by GNU Autoconf 2.62.23-95dfc.  Invocation command line was

  $ ./configure --enable-shared --with-modules --with-perl 
--prefix=/usr/local

## --------- ##
## Platform. ##
## --------- ##

hostname = homer
uname -m = sun4u
uname -r = 5.10
uname -s = SunOS
uname -v = Generic_127127-11

/usr/bin/uname -p = sparc
/bin/uname -X     = System = SunOS
Node = homer
Release = 5.10
KernelID = Generic_127127-11
Machine = sun4u
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 4

/bin/arch              = sun4
/usr/bin/arch -k       = sun4u
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/bin
PATH: /usr/local/bin
PATH: /usr/sfw/bin
PATH: .
PATH: /usr/ccs/bin


## ----------- ##
## Core tests. ##
## ----------- ##
.
.
configure:3613: /usr/bin/cc -V >&5
cc: Sun C 5.9 SunOS_sparc Patch 124867-01 2007/07/12
_______________________________________________
Magick-bugs mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-bugs

Reply via email to