Compile Failure 6.7.6

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
markasher
Posts: 13
Joined: 2012-04-04T13:21:48-07:00
Authentication code: 8675308

Compile Failure 6.7.6

Post by markasher »

Hello,
I have installed IM 6.7.6 on an HP-UX machine and have run the ./configure. When I run the make, I receive the blob.c errors listed below. Any assistance would be greatly appreciated. Thank you.

Host system type: hppa2.0w-hp-hpux11.11
Build system type: hppa2.0w-hp-hpux11.11


Option Value
-------------------------------------------------------------------------------
Shared libraries --enable-shared=yes yes
Static libraries --enable-static=yes yes
Module support --with-modules=no no
GNU ld --with-gnu-ld=no no
Quantum depth --with-quantum-depth=16 16
High Dynamic Range Imagery
--enable-hdri=no no


Delegate Configuration:
BZLIB --with-bzlib=yes no
Autotrace --with-autotrace=no no
Dejavu fonts --with-dejavu-font-dir=default none
DJVU --with-djvu=yes no
DPS --with-dps=yes no
FFTW --with-fftw=yes no
FlashPIX --with-fpx=yes no
FontConfig --with-fontconfig=yes no
FreeType --with-freetype=yes no
GhostPCL None pcl6 (unknown)
GhostXPS None gxps (unknown)
Ghostscript None gs (unknown)
Ghostscript fonts --with-gs-font-dir=default none
Ghostscript lib --with-gslib=no no
Graphviz --with-gvc=yes no
JBIG --with-jbig=yes no
JPEG v1 --with-jpeg=yes no
JPEG-2000 --with-jp2=yes no
LCMS v1 --with-lcms=yes no
LCMS v2 --with-lcms2=yes no
LQR --with-lqr=yes no
LZMA --with-lzma=yes no
Magick++ --with-magick-plus-plus=yes no (failed tests)
OpenEXR --with-openexr=yes no
PERL --with-perl=no no
PANGO --with-pango=yes no
PNG --with-png=yes no
RSVG --with-rsvg=yes no
TIFF --with-tiff=yes no
WEBP --with-webp=yes no
Windows fonts --with-windows-font-dir= none
WMF --with-wmf=no no
X11 --with-x=no no
XML --with-xml=yes no
ZLIB --with-zlib=yes no


X11 Configuration:
X_CFLAGS =
X_PRE_LIBS =
X_LIBS =
X_EXTRA_LIBS =


Options used to compile and link:
PREFIX = /usr/local
EXEC-PREFIX = /usr/local
VERSION = 6.7.6
CC = cc
CFLAGS = -g -Wall -Wp,-H30000 -D_REENTRANT
CPPFLAGS = -I/usr/local/include/ImageMagick
PCFLAGS =
DEFS = -DHAVE_CONFIG_H
LDFLAGS =
MAGICK_LDFLAGS = -L/usr/local/lib
LIBS = -lMagickCore -lm -lpthread
CXX = g++
CXXFLAGS = -AA -D_REENTRANT
FEATURES =


united:/emc/ImageMagick-6.7.6-3>make
make all-am
CC magick/magick_libMagickCore_la-blob.lo
cc: "magick/blob.c", line 123: warning 500: Unnamed struct/union members are ignored.
cc: "magick/blob.c", line 204: error 1588: "file" undefined.
cc: "magick/blob.c", line 204: error 1531: Invalid member of struct or union.
cc: "magick/blob.c", line 449: error 1588: "file" undefined.
cc: "magick/blob.c", line 449: error 1531: Invalid member of struct or union.
cc: "magick/blob.c", line 449: error 1531: Invalid member of struct or union.
cc: "magick/blob.c", line 514: error 1588: "file" undefined.
cc: "magick/blob.c", line 514: error 1531: Invalid member of struct or union.
cc: "magick/blob.c", line 514: warning 563: Argument #1 is not the correct type.
cc: "magick/blob.c", line 545: error 1531: Invalid member of struct or union.
cc: "magick/blob.c", line 545: warning 563: Argument #1 is not the correct type.
cc: "magick/blob.c", line 546: error 1531: Invalid member of struct or union.
cc: "magick/blob.c", line 546: warning 563: Argument #1 is not the correct type.
cc: "magick/blob.c", line 548: error 1531: Invalid member of struct or union.
cc: "magick/blob.c", line 548: warning 563: Argument #1 is not the correct type.
cc: "magick/blob.c", line 554: error 1531: Invalid member of struct or union.
cc: "magick/blob.c", line 554: warning 563: Argument #1 is not the correct type.
cc: "magick/blob.c", line 576: error 1531: Invalid member of struct or union.
cc: "magick/blob.c", line 576: error 1563: Expression in if must be scalar.
cc: "magick/blob.c", line 579: error 1531: Invalid member of struct or union.
cc: "magick/blob.c", line 579: warning 563: Argument #1 is not the correct type.
cc: "magick/blob.c", line 580: error 1531: Invalid member of struct or union.
cc: "magick/blob.c", line 580: warning 563: Argument #1 is not the correct type.
cc: "magick/blob.c", line 679: error 1588: "file" undefined.
cc: "magick/blob.c", line 679: error 1531: Invalid member of struct or union.
cc: "magick/blob.c", line 843: error 1588: "file" undefined.
cc: "magick/blob.c", line 843: error 1531: Invalid member of struct or union.
cc: "magick/blob.c", line 843: warning 563: Argument #1 is not the correct type.
cc: "magick/blob.c", line 1226: error 1588: "file" undefined.
cc: "magick/blob.c", line 1226: error 1531: Invalid member of struct or union.
cc: "magick/blob.c", line 1339: error 1588: "file" undefined.
cc: "magick/blob.c", line 1339: error 1531: Invalid member of struct or union.
cc: "magick/blob.c", line 1339: warning 563: Argument #1 is not the correct type.
cc: "magick/blob.c", line 2383: error 1588: "file" undefined.
cc: "magick/blob.c", line 2383: error 1531: Invalid member of struct or union.
cc: "magick/blob.c", line 2399: error 1531: Invalid member of struct or union.
cc: "magick/blob.c", line 2423: error 1531: Invalid member of struct or union.
cc: "magick/blob.c", line 2424: error 1531: Invalid member of struct or union.
cc: "magick/blob.c", line 2424: error 1563: Expression in if must be scalar.
cc: "magick/blob.c", line 2438: error 1531: Invalid member of struct or union.
cc: "magick/blob.c", line 2439: error 1531: Invalid member of struct or union.
cc: "magick/blob.c", line 2439: error 1563: Expression in if must be scalar.
cc: "magick/blob.c", line 2484: error 1531: Invalid member of struct or union.
cc: "magick/blob.c", line 2491: error 1531: Invalid member of struct or union.
cc: "magick/blob.c", line 2492: error 1531: Invalid member of struct or union.
cc: "magick/blob.c", line 2492: error 1563: Expression in if must be scalar.
cc: "magick/blob.c", line 2502: error 1531: Invalid member of struct or union.
cc: "magick/blob.c", line 2502: warning 563: Argument #1 is not the correct type.
cc: "magick/blob.c", line 2502: warning 604: Pointers are not assignment-compatible.
cc: "magick/blob.c", line 2502: warning 563: Argument #2 is not the correct type.
cc: "magick/blob.c", line 2505: error 1531: Invalid member of struct or union.
cc: "magick/blob.c", line 2505: warning 563: Argument #4 is not the correct type.
cc: "magick/blob.c", line 2506: error 1531: Invalid member of struct or union.
cc: "magick/blob.c", line 2506: warning 563: Argument #1 is not the correct type.
cc: "magick/blob.c", line 2554: error 1531: Invalid member of struct or union.
cc: "magick/blob.c", line 2554: warning 563: Argument #1 is not the correct type.
cc: "magick/blob.c", line 2564: error 1531: Invalid member of struct or union.
cc: "magick/blob.c", line 2564: warning 563: Argument #1 is not the correct type.
cc: "magick/blob.c", line 2565: error 1531: Invalid member of struct or union.
cc: "magick/blob.c", line 2599: error 1531: Invalid member of struct or union.
cc: "magick/blob.c", line 2600: error 1531: Invalid member of struct or union.
cc: "magick/blob.c", line 2600: error 1563: Expression in if must be scalar.
cc: "magick/blob.c", line 2604: error 1531: Invalid member of struct or union.
cc: "magick/blob.c", line 2604: warning 563: Argument #1 is not the correct type.
cc: "magick/blob.c", line 2604: warning 604: Pointers are not assignment-compatible.
cc: "magick/blob.c", line 2604: warning 563: Argument #2 is not the correct type.
cc: "magick/blob.c", line 2768: error 1588: "file" undefined.
cc: "magick/blob.c", line 2768: error 1531: Invalid member of struct or union.
cc: "magick/blob.c", line 2768: warning 563: Argument #4 is not the correct type.
cc: "magick/blob.c", line 2773: error 1531: Invalid member of struct or union.
cc: "magick/blob.c", line 2773: warning 563: Argument #1 is not the correct type.
cc: "magick/blob.c", line 2781: error 1531: Invalid member of struct or union.
cc: "magick/blob.c", line 2781: warning 563: Argument #1 is not the correct type.
cc: "magick/blob.c", line 3546: error 1588: "file" undefined.
cc: "magick/blob.c", line 3546: error 1531: Invalid member of struct or union.
cc: "magick/blob.c", line 3727: error 1588: "file" undefined.
cc: "magick/blob.c", line 3727: error 1531: Invalid member of struct or union.
cc: "magick/blob.c", line 3727: error 1563: Expression in if must be scalar.
cc: "magick/blob.c", line 3814: error 1588: "file" undefined.
cc: "magick/blob.c", line 3814: error 1531: Invalid member of struct or union.
cc: "magick/blob.c", line 3814: warning 563: Argument #1 is not the correct type.
cc: "magick/blob.c", line 3885: error 1588: "file" undefined.
cc: "magick/blob.c", line 3885: error 1531: Invalid member of struct or union.
cc: "magick/blob.c", line 4014: error 1588: "file" undefined.
cc: "magick/blob.c", line 4014: error 1531: Invalid member of struct or union.
cc: "magick/blob.c", line 4013: warning 563: Argument #4 is not the correct type.
cc: "magick/blob.c", line 4019: error 1531: Invalid member of struct or union.
cc: "magick/blob.c", line 4019: warning 563: Argument #2 is not the correct type.
cc: "magick/blob.c", line 4026: error 1531: Invalid member of struct or union.
cc: "magick/blob.c", line 4026: warning 563: Argument #2 is not the correct type.
*** Error exit code 1


Stop.
*** Error exit code 1


Stop.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Compile Failure 6.7.6

Post by magick »

The HP compiler does not permit anonymous unions. We'll have a patch to fix the problem by sometime tomorrow.
markasher
Posts: 13
Joined: 2012-04-04T13:21:48-07:00
Authentication code: 8675308

Re: Compile Failure 6.7.6

Post by markasher »

Thank you. I will watch for the patch.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Compile Failure 6.7.6

Post by magick »

Get ImageMagick 6.7.6-4. It has the patch to fix the problem you reported.
Post Reply