02-14-2013 08:16 AM
Hey,
i'm trying to compile the ImageMagick++ Library for BB10 and got stuck.
I've downloaded this source , unpacked and used the following command in the imagemagick-path:
source ~/bbndk/bbndk-evn.sh ./configure --target="arm-qnx" CXX="qcc -V4.6.3,gcc_ntoarmv7le_cpp" CC="qcc -V4.6.3,gcc_ntoarmv7le" --host="x86_64" CFLAGS="-I$QNX_TARGET/qnx6/usr/include" LDFLAGS="-L$QNX_HOST/usr/bin/ntoarmv7-ld" LIBS="-I$QNX_TARGET/qnx6/usr/include" --without-zlib --without-bzlib --without-png --without-jpeg --without-tiff --without-threads
result:
ImageMagick is configured as follows. Please verify that this configuration
matches your expectations.
Host system type: x86_64-pc-none
Build system type: x86_64-unknown-linux-gnu
Option Value
-------------------------------------------------- -----------------------------
Shared libraries --enable-shared=no no
Static libraries --enable-static=yes yes
Module support --with-modules=no no
GNU ld --with-gnu-ld=yes yes
Quantum depth --with-quantum-depth=16 16
High Dynamic Range Imagery
--enable-hdri=no no
Delegate Configuration:
BZLIB --with-bzlib=no 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 yes
FreeType --with-freetype=yes yes
GhostPCL None pcl6 (unknown)
GhostXPS None gxps (unknown)
Ghostscript None gs (9.06)
Ghostscript fonts --with-gs-font-dir=default /usr/share/ghostscript/fontsx/
Ghostscript lib --with-gslib=no no
Graphviz --with-gvc=no
JBIG --with-jbig=yes no
JPEG v1 --with-jpeg=no no
JPEG-2000 --with-jp2=yes no
LCMS v1 --with-lcms=yes no
LCMS v2 --with-lcms2=yes no
LQR --with-lqr=yes yes
LTDL --with-ltdl=yes no
LZMA --with-lzma=yes yes
Magick++ --with-magick-plus-plus=yes yes
OpenEXR --with-openexr=yes yes
PANGO --with-pango=yes yes
PERL --with-perl=no no
PNG --with-png=no no
RSVG --with-rsvg=no no
TIFF --with-tiff=no no
WEBP --with-webp=yes no
Windows fonts --with-windows-font-dir= none
WMF --with-wmf=no no
X11 --with-x= yes
XML --with-xml=yes no
ZLIB --with-zlib=no no
X11 Configuration:
X_CFLAGS = -I/usr/include
X_PRE_LIBS =
X_LIBS = -L/usr/lib
X_EXTRA_LIBS =
Options used to compile and link:
PREFIX = /usr/local
EXEC-PREFIX = /usr/local
VERSION = 6.8.2
CC = qcc -V4.6.3,gcc_ntoarmv7le
CFLAGS = -pthread -I/usr/include/OpenEXR -I/usr/include/lqr-1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I$QNX_TARGET/qnx6/qnx6/usr/include -Wall -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
CPPFLAGS = -I/usr/local/include/ImageMagick
PCFLAGS = -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
DEFS = -DHAVE_CONFIG_H
LDFLAGS = -L$QNX_HOST/linux/x86/usr/bin/ntoarmv7-ld -L/usr/lib
MAGICK_LDFLAGS = -L/usr/local/lib -L$QNX_HOST/linux/x86/usr/bin/ntoarmv7-ld -L/usr/lib
LIBS = -lMagickCore -lfreetype -llqr-1 -lglib-2.0 -lfontconfig -lX11 -llzma -lIlmImf -lImath -lHalf -lIex -lIexMath -lIlmThread -pthread -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lcairo -lm
CXX = qcc -V4.6.3,gcc_ntoarmv7le_cpp
CXXFLAGS = -g -O2
FEATURES = DPC
DELEGATES = mpeg fontconfig freetype lqr lzma openexr pango ps x
now when i try to "make" the following error appears
make all-recursive make[1]: Entering directory `PATHTO/ImageMagick-6.8.2-10' Making all in . make[2]: Entering directory `PATHTO/ImageMagick-6.8.2-10' CC magick/magick_libMagickCore6_Q16_la-accelerate.lo cc1: error: unrecognized command line option '-pthread' cc1: error: unrecognized command line option '-pthread' cc: $QNX_TARGET/linux/x86/usr/lib/gcc/arm-unknown-nto-qnx8.0.0eabi/4.6.3/cc1 error 1 make[2]: *** [magick/magick_libMagickCore6_Q16_la-accelerate.lo ] Error 1 make[2]: Leaving directory `PATHTO/ImageMagick-6.8.2-10' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `PATHTO/ImageMagick-6.8.2-10' make: *** [all] Error 2
someone have an idea for a solution or a tutorial to compile Makefile-Libraries?
Thanks for the help ![]()
02-14-2013 05:19 PM - edited 02-14-2013 05:22 PM
I've read that in QNX pthread is included in libc, so you need to remove this compilation key (-pthread) somehow.
I think the proper way to do this is to edit configure.in, then regenerate the configure script using autoconf. Then rerun ./configure to recreate Makefile.
But it's also possible to just hack the generated Makefile.
Also make sure that variables such as $QNX_TARGET are properly resolved. It seems they were substituted as is.
02-20-2013 04:24 AM - edited 02-20-2013 04:25 AM
Now i tried to exclude "-pthread" in the Makefile and the "configure.ac" (similar to configure.in) . Both gave me the same error:
make all-recursive make[1]: Entering directory `/home/user/workspace/ImageMagick-6.8.3-2' Making all in . make[2]: Entering directory `/home/user/workspace/ImageMagick-6.8.3-2' CC magick/magick_libMagickCore_6_Q16_la-accelerate.lo In file included from /home/user/Software/bbndk/target_10_0_9_1673/qnx6/usr/include/stdarg.h:30:0, from ./magick/studio.h:65, from magick/accelerate.c:52: /home/user/Software/bbndk/target_10_0_9_1673/qnx6/ usr/include/sys/platform.h:172:4: error: #error This version of XOPEN_SOURCE is not supported In file included from ./magick/studio.h:65:0, from magick/accelerate.c:52: /home/user/Software/bbndk/target_10_0_9_1673/qnx6/ usr/include/stdarg.h:34:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef' In file included from /usr/include/stdio.h:33:0, from ./magick/studio.h:66, from magick/accelerate.c:52: /home/user/Software/bbndk/target_10_0_9_1673/qnx6/ usr/include/stdarg.h:35:1: error: unknown type name '_C_STD_END' /home/user/Software/bbndk/target_10_0_9_1673/qnx6/ usr/include/stddef.h:38:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef' In file included from /usr/include/stdio.h:35:0, from ./magick/studio.h:66, from magick/accelerate.c:52: /usr/include/bits/types.h:30:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typedef' In file included from /usr/include/stdio.h:74:0, from ./magick/studio.h:66, from magick/accelerate.c:52: /usr/include/libio.h:307:3: error: unknown type name 'size_t' /usr/include/libio.h:311:67: error: 'size_t' undeclared here (not in a function) /usr/include/libio.h:339:62: error: expected declaration specifiers or '...' before 'size_t' /usr/include/libio.h:348:6: error: expected declaration specifiers or '...' before 'size_t' /usr/include/libio.h:364:1: error: unknown type name '__io_read_fn' /usr/include/libio.h:365:1: error: unknown type name '__io_write_fn' /usr/include/libio.h:372:3: error: unknown type name '__io_read_fn' /usr/include/libio.h:373:3: error: unknown type name '__io_write_fn' /usr/include/libio.h:470:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_IO_sgetn' In file included from ./magick/studio.h:66:0, from magick/accelerate.c:52: /usr/include/stdio.h:319:35: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdio.h:325:47: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdio.h:337:20: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdio.h:344:10: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdio.h:386:44: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdio.h:390:45: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdio.h:666:11: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdio.h:669:9: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdio.h:679:8: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdio.h:709:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread' /usr/include/stdio.h:715:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite' /usr/include/stdio.h:737:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread_unlocked' /usr/include/stdio.h:739:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite_unlocked' In file included from ./magick/studio.h:71:0, from magick/accelerate.c:52: /usr/include/stdlib.h:139:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__ctype_get_mb_cur_max' In file included from /usr/include/stdlib.h:314:0, from ./magick/studio.h:71, from magick/accelerate.c:52: /usr/include/sys/types.h:33:1: error: unknown type name '__u_char' In file included from ./magick/studio.h:71:0, from magick/accelerate.c:52: /usr/include/stdlib.h:331:4: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdlib.h:361:4: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdlib.h:465:22: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdlib.h:467:22: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdlib.h:467:38: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdlib.h:479:36: error: expected declaration specifiers or '...' before 'size_t' In file included from /usr/include/stdlib.h:491:0, from ./magick/studio.h:71, from magick/accelerate.c:52: /usr/include/alloca.h:32:22: error: expected declaration specifiers or '...' before 'size_t' In file included from ./magick/studio.h:71:0, from magick/accelerate.c:52: /usr/include/stdlib.h:497:22: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdlib.h:502:45: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdlib.h:502:65: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdlib.h:508:29: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdlib.h:508:49: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdlib.h:755:9: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdlib.h:755:25: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdlib.h:760:34: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdlib.h:760:50: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdlib.h:763:36: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdlib.h:763:52: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdlib.h:839:6: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdlib.h:842:6: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdlib.h:846:31: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdlib.h:850:31: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdlib.h:859:36: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdlib.h:863:34: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdlib.h:870:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mbstowcs' /usr/include/stdlib.h:873:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'wcstombs' /usr/include/stdlib.h:936:46: error: expected declaration specifiers or '...' before 'size_t' In file included from /usr/include/memory.h:29:0, from ./magick/studio.h:80, from magick/accelerate.c:52: /usr/include/string.h:43:8: error: expected declaration specifiers or '...' before 'size_t' /usr/include/string.h:46:56: error: expected declaration specifiers or '...' before 'size_t' /usr/include/string.h:55:18: error: expected declaration specifiers or '...' before 'size_t' /usr/include/string.h:62:42: error: expected declaration specifiers or '...' before 'size_t' /usr/include/string.h:65:56: error: expected declaration specifiers or '...' before 'size_t' /usr/include/string.h:92:48: error: expected declaration specifiers or '...' before 'size_t' /usr/include/string.h:117:49: error: expected declaration specifiers or '...' before 'size_t' /usr/include/string.h:129:39: error: expected declaration specifiers or '...' before 'size_t' /usr/include/string.h:137:9: error: expected declaration specifiers or '...' before 'size_t' /usr/include/string.h:143:57: error: expected declaration specifiers or '...' before 'size_t' /usr/include/string.h:150:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strxfrm' /usr/include/string.h:165:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strxfrm_l' /usr/include/string.h:180:45: error: expected declaration specifiers or '...' before 'size_t' /usr/include/string.h:281:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strcspn' /usr/include/string.h:285:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strspn' /usr/include/string.h:378:46: error: expected declaration specifiers or '...' before 'size_t' /usr/include/string.h:379:30: error: expected declaration specifiers or '...' before 'size_t' /usr/include/string.h:385:34: error: expected declaration specifiers or '...' before 'size_t' /usr/include/string.h:388:39: error: expected declaration specifiers or '...' before 'size_t' /usr/include/string.h:395:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strlen' /usr/include/string.h:402:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strnlen' /usr/include/string.h:434:53: error: expected declaration specifiers or '...' before 'size_t' /usr/include/string.h:447:33: error: expected declaration specifiers or '...' before 'size_t' /usr/include/string.h:451:53: error: expected declaration specifiers or '...' before 'size_t' /usr/include/string.h:455:31: error: expected declaration specifiers or '...' before 'size_t' /usr/include/string.h:458:54: error: expected declaration specifiers or '...' before 'size_t' /usr/include/string.h:536:61: error: expected declaration specifiers or '...' before 'size_t' /usr/include/string.h:548:6: error: expected declaration specifiers or '...' before 'size_t' /usr/include/string.h:573:34: error: expected declaration specifiers or '...' before 'size_t' /usr/include/string.h:576:39: error: expected declaration specifiers or '...' before 'size_t' /usr/include/string.h:589:34: error: expected declaration specifiers or '...' before 'size_t' In file included from ./magick/studio.h:94:0, from magick/accelerate.c:52: /usr/include/unistd.h:360:45: error: expected declaration specifiers or '...' before 'size_t' /usr/include/unistd.h:366:52: error: expected declaration specifiers or '...' before 'size_t' /usr/include/unistd.h:388:16: error: expected declaration specifiers or '...' before 'size_t' /usr/include/unistd.h:391:16: error: expected declaration specifiers or '...' before 'size_t' /usr/include/unistd.h:404:48: error: expected declaration specifiers or '...' before 'size_t' /usr/include/unistd.h:408:55: error: expected declaration specifiers or '...' before 'size_t' /usr/include/unistd.h:511:35: error: expected declaration specifiers or '...' before 'size_t' In file included from ./magick/studio.h:94:0, from magick/accelerate.c:52: /usr/include/unistd.h:623:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'confstr' /usr/include/unistd.h:796:46: error: expected declaration specifiers or '...' before 'size_t' /usr/include/unistd.h:832:29: error: expected declaration specifiers or '...' before 'size_t' /usr/include/unistd.h:843:31: error: expected declaration specifiers or '...' before 'size_t' /usr/include/unistd.h:879:38: error: expected declaration specifiers or '...' before 'size_t' In file included from ./magick/studio.h:94:0, from magick/accelerate.c:52: /usr/include/unistd.h:901:39: error: expected declaration specifiers or '...' before 'size_t' /usr/include/unistd.h:908:45: error: expected declaration specifiers or '...' before 'size_t' /usr/include/unistd.h:919:41: error: expected declaration specifiers or '...' before 'size_t' /usr/include/unistd.h:921:47: error: expected declaration specifiers or '...' before 'size_t' /usr/include/unistd.h:939:57: error: expected declaration specifiers or '...' before 'size_t' /usr/include/unistd.h:940:6: error: expected declaration specifiers or '...' before 'size_t' In file included from /usr/include/bits/fcntl-linux.h:38:0, from /usr/include/bits/fcntl.h:61, from /usr/include/fcntl.h:35, from ./magick/studio.h:110, from magick/accelerate.c:52: /usr/include/bits/uio.h:46:5: error: expected specifier-qualifier-list before 'size_t' In file included from /usr/include/bits/fcntl.h:61:0, from /usr/include/fcntl.h:35, from ./magick/studio.h:110, from magick/accelerate.c:52: /usr/include/bits/fcntl-linux.h:317:57: error: expected declaration specifiers or '...' before 'size_t' /usr/include/bits/fcntl-linux.h:334:5: error: expected declaration specifiers or '...' before 'size_t' /usr/include/bits/fcntl-linux.h:341:31: error: expected declaration specifiers or '...' before 'size_t' /usr/include/bits/fcntl-linux.h:348:46: error: expected declaration specifiers or '...' before 'size_t' In file included from ./magick/studio.h:112:0, from magick/accelerate.c:52: /usr/include/time.h:205:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strftime' /usr/include/time.h:223:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strftime_l' In file included from /usr/include/bits/local_lim.h:38:0, from /usr/include/bits/posix1_lim.h:160, from /usr/include/limits.h:144, from ./magick/studio.h:113, from magick/accelerate.c:52: /usr/include/linux/limits.h:6:0: warning: "NGROUPS_MAX" redefined [enabled by default] /home/user/Software/bbndk/target_10_0_9_1673/qnx6/ usr/include/limits.h:201:0: note: this is the location of the previous definition /usr/include/linux/limits.h:7:0: warning: "ARG_MAX" redefined [enabled by default] /home/user/Software/bbndk/target_10_0_9_1673/qnx6/ usr/include/limits.h:213:0: note: this is the location of the previous definition /usr/include/linux/limits.h:8:0: warning: "LINK_MAX" redefined [enabled by default] /home/user/Software/bbndk/target_10_0_9_1673/qnx6/ usr/include/limits.h:256:0: note: this is the location of the previous definition /usr/include/linux/limits.h:13:0: warning: "PIPE_BUF" redefined [enabled by default] /home/user/Software/bbndk/target_10_0_9_1673/qnx6/ usr/include/limits.h:257:0: note: this is the location of the previous definition In file included from /usr/include/bits/posix1_lim.h:160:0, from /usr/include/limits.h:144, from ./magick/studio.h:113, from magick/accelerate.c:52: /usr/include/bits/local_lim.h:64:0: warning: "PTHREAD_KEYS_MAX" redefined [enabled by default] /home/user/Software/bbndk/target_10_0_9_1673/qnx6/ usr/include/limits.h:237:0: note: this is the location of the previous definition /usr/include/bits/local_lim.h:81:0: warning: "PTHREAD_STACK_MIN" redefined [enabled by default] /home/user/Software/bbndk/target_10_0_9_1673/qnx6/ usr/include/limits.h:238:0: note: this is the location of the previous definition /usr/include/bits/local_lim.h:84:0: warning: "DELAYTIMER_MAX" redefined [enabled by default] /home/user/Software/bbndk/target_10_0_9_1673/qnx6/ usr/include/limits.h:224:0: note: this is the location of the previous definition /usr/include/bits/local_lim.h:96:0: warning: "MQ_PRIO_MAX" redefined [enabled by default] /home/user/Software/bbndk/target_10_0_9_1673/qnx6/ usr/include/limits.h:226:0: note: this is the location of the previous definition /usr/include/bits/local_lim.h:99:0: warning: "SEM_VALUE_MAX" redefined [enabled by default] /home/user/Software/bbndk/target_10_0_9_1673/qnx6/ usr/include/limits.h:230:0: note: this is the location of the previous definition In file included from /usr/include/limits.h:148:0, from ./magick/studio.h:113, from magick/accelerate.c:52: /usr/include/bits/posix2_lim.h:88:0: warning: "RE_DUP_MAX" redefined [enabled by default] /home/user/Software/bbndk/target_10_0_9_1673/qnx6/ usr/include/limits.h:272:0: note: this is the location of the previous definition In file included from /usr/include/limits.h:152:0, from ./magick/studio.h:113, from magick/accelerate.c:52: /usr/include/bits/xopen_lim.h:65:0: warning: "_XOPEN_IOV_MAX" redefined [enabled by default] /home/user/Software/bbndk/target_10_0_9_1673/qnx6/ usr/include/limits.h:332:0: note: this is the location of the previous definition /usr/include/bits/xopen_lim.h:70:0: warning: "NL_ARGMAX" redefined [enabled by default] /home/user/Software/bbndk/target_10_0_9_1673/qnx6/ usr/include/limits.h:343:0: note: this is the location of the previous definition /usr/include/bits/xopen_lim.h:73:0: warning: "NL_LANGMAX" redefined [enabled by default] /home/user/Software/bbndk/target_10_0_9_1673/qnx6/ usr/include/limits.h:344:0: note: this is the location of the previous definition /usr/include/bits/xopen_lim.h:76:0: warning: "NL_MSGMAX" redefined [enabled by default] /home/user/Software/bbndk/target_10_0_9_1673/qnx6/ usr/include/limits.h:345:0: note: this is the location of the previous definition /usr/include/bits/xopen_lim.h:83:0: warning: "NL_SETMAX" redefined [enabled by default] /home/user/Software/bbndk/target_10_0_9_1673/qnx6/ usr/include/limits.h:347:0: note: this is the location of the previous definition /usr/include/bits/xopen_lim.h:86:0: warning: "NL_TEXTMAX" redefined [enabled by default] /home/user/Software/bbndk/target_10_0_9_1673/qnx6/ usr/include/limits.h:348:0: note: this is the location of the previous definition /usr/include/bits/xopen_lim.h:98:0: warning: "WORD_BIT" redefined [enabled by default] /home/user/Software/bbndk/target_10_0_9_1673/qnx6/ usr/include/limits.h:341:0: note: this is the location of the previous definition In file included from /usr/include/signal.h:357:0, from ./magick/studio.h:114, from magick/accelerate.c:52: /usr/include/bits/sigstack.h:53:5: error: expected specifier-qualifier-list before 'size_t' In file included from ./magick/studio.h:186:0, from magick/accelerate.c:52: /usr/include/dirent.h:359:18: error: expected declaration specifiers or '...' before 'size_t' /usr/include/dirent.h:371:7: error: expected declaration specifiers or '...' before 'size_t' In file included from ./magick/studio.h:190:0, from magick/accelerate.c:52: /usr/include/pwd.h:141:37: error: expected declaration specifiers or '...' before 'size_t' /usr/include/pwd.h:147:37: error: expected declaration specifiers or '...' before 'size_t' /usr/include/pwd.h:152:37: error: expected declaration specifiers or '...' before 'size_t' /usr/include/pwd.h:166:31: error: expected declaration specifiers or '...' before 'size_t' In file included from ./magick/studio.h:208:0, from magick/accelerate.c:52: /usr/include/sys/mman.h:61:15: error: expected declaration specifiers or '...' before 'size_t' /usr/include/sys/mman.h:70:36: error: expected declaration specifiers or '...' before 'size_t' /usr/include/sys/mman.h:76:34: error: expected declaration specifiers or '...' before 'size_t' /usr/include/sys/mman.h:81:36: error: expected declaration specifiers or '...' before 'size_t' /usr/include/sys/mman.h:89:33: error: expected declaration specifiers or '...' before 'size_t' /usr/include/sys/mman.h:94:35: error: expected declaration specifiers or '...' before 'size_t' /usr/include/sys/mman.h:98:41: error: expected declaration specifiers or '...' before 'size_t' /usr/include/sys/mman.h:103:39: error: expected declaration specifiers or '...' before 'size_t' /usr/include/sys/mman.h:106:41: error: expected declaration specifiers or '...' before 'size_t' /usr/include/sys/mman.h:123:36: error: expected declaration specifiers or '...' before 'size_t' /usr/include/sys/mman.h:133:36: error: expected declaration specifiers or '...' before 'size_t' /usr/include/sys/mman.h:133:54: error: expected declaration specifiers or '...' before 'size_t' /usr/include/sys/mman.h:138:45: error: expected declaration specifiers or '...' before 'size_t' /usr/include/sys/mman.h:139:9: error: expected declaration specifiers or '...' before 'size_t' In file included from ./magick/morphology.h:25:0, from ./magick/accelerate.h:25, from magick/accelerate.c:53: ./magick/geometry.h:123:3: error: expected specifier-qualifier-list before 'size_t' ./magick/geometry.h:140:48: error: expected declaration specifiers or '...' before 'size_t' ./magick/geometry.h:140:57: error: expected declaration specifiers or '...' before 'size_t' ./magick/geometry.h:152:31: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/geometry.h:152:44: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/geometry.h:152:44: error: redefinition of parameter 'size_t' ./magick/geometry.h:152:31: note: previous definition of 'size_t' was here In file included from ./magick/accelerate.h:25:0, from magick/accelerate.c:53: ./magick/morphology.h:107:3: error: expected specifier-qualifier-list before 'size_t' In file included from ./magick/pixel.h:26:0, from ./magick/color.h:25, from ./magick/image.h:25, from ./magick/blob.h:25, from ./magick/cache.h:25, from magick/accelerate.c:55: ./magick/constitute.h:38:26: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/constitute.h:38:39: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/constitute.h:38:39: error: redefinition of parameter 'size_t' ./magick/constitute.h:38:26: note: previous definition of 'size_t' was here In file included from ./magick/color.h:25:0, from ./magick/image.h:25, from ./magick/blob.h:25, from ./magick/cache.h:25, from magick/accelerate.c:55: ./magick/pixel.h:98:3: error: expected specifier-qualifier-list before 'size_t' ./magick/pixel.h:144:69: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/pixel.h:145:11: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/pixel.h:145:11: error: redefinition of parameter 'size_t' ./magick/pixel.h:144:69: note: previous definition of 'size_t' was here ./magick/pixel.h:146:63: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/pixel.h:147:11: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/pixel.h:147:11: error: redefinition of parameter 'size_t' ./magick/pixel.h:146:63: note: previous definition of 'size_t' was here In file included from ./magick/color.h:26:0, from ./magick/image.h:25, from ./magick/blob.h:25, from ./magick/cache.h:25, from magick/accelerate.c:55: ./magick/exception.h:123:3: error: expected specifier-qualifier-list before 'size_t' ./magick/exception.h:155:72: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/exception.h:159:11: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] In file included from ./magick/image.h:25:0, from ./magick/blob.h:25, from ./magick/cache.h:25, from magick/accelerate.c:55: ./magick/color.h:58:3: error: expected specifier-qualifier-list before 'size_t' ./magick/color.h:71:31: error: expected declaration specifiers or '...' before 'size_t' ./magick/color.h:75:35: error: expected declaration specifiers or '...' before 'size_t' In file included from ./magick/image.h:132:0, from ./magick/blob.h:25, from ./magick/cache.h:25, from magick/accelerate.c:55: ./magick/cache-view.h:70:11: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/cache-view.h:70:24: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/cache-view.h:70:24: error: redefinition of parameter 'size_t' ./magick/cache-view.h:70:11: note: previous definition of 'size_t' was here ./magick/cache-view.h:95:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GetCacheViewChannels' ./magick/cache-view.h:100:11: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/cache-view.h:100:24: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/cache-view.h:100:24: error: redefinition of parameter 'size_t' ./magick/cache-view.h:100:11: note: previous definition of 'size_t' was here ./magick/cache-view.h:102:11: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/cache-view.h:102:24: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/cache-view.h:102:24: error: redefinition of parameter 'size_t' ./magick/cache-view.h:102:11: note: previous definition of 'size_t' was here In file included from ./magick/image.h:135:0, from ./magick/blob.h:25, from ./magick/cache.h:25, from magick/accelerate.c:55: ./magick/compress.h:57:32: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/compress.h:58:37: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/compress.h:59:33: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] In file included from ./magick/image.h:136:0, from ./magick/blob.h:25, from ./magick/cache.h:25, from magick/accelerate.c:55: ./magick/effect.h:72:38: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/effect.h:73:63: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] In file included from ./magick/locale_.h:25:0, from ./magick/image.h:139, from ./magick/blob.h:25, from ./magick/cache.h:25, from magick/accelerate.c:55: ./magick/hashmap.h:38:21: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/hashmap.h:38:28: error: expected declaration specifiers or '...' before 'size_t' ./magick/hashmap.h:43:24: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/hashmap.h:49:50: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/hashmap.h:58:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GetNumberOfElementsInLinkedList' ./magick/hashmap.h:71:50: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/hashmap.h:73:55: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] In file included from ./magick/image.h:139:0, from ./magick/blob.h:25, from ./magick/cache.h:25, from magick/accelerate.c:55: ./magick/locale_.h:41:3: error: expected specifier-qualifier-list before 'size_t' ./magick/locale_.h:46:32: error: expected declaration specifiers or '...' before 'size_t' ./magick/locale_.h:53:36: error: expected declaration specifiers or '...' before 'size_t' ./magick/locale_.h:71:43: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/locale_.h:73:47: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] In file included from ./magick/profile.h:25:0, from ./magick/image.h:142, from ./magick/blob.h:25, from ./magick/cache.h:25, from magick/accelerate.c:55: ./magick/string_.h:37:3: error: expected specifier-qualifier-list before 'size_t' ./magick/string_.h:49:36: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/string_.h:67:50: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/string_.h:76:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ConcatenateMagickString' ./magick/string_.h:84:39: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/string_.h:87:28: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/string_.h:88:40: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/string_.h:92:40: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/string_.h:93:39: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/string_.h:108:42: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] In file included from ./magick/image.h:142:0, from ./magick/blob.h:25, from ./magick/cache.h:25, from magick/accelerate.c:55: ./magick/profile.h:32:3: error: expected specifier-qualifier-list before 'size_t' ./magick/profile.h:60:56: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] In file included from ./magick/image.h:143:0, from ./magick/blob.h:25, from ./magick/cache.h:25, from magick/accelerate.c:55: ./magick/quantum.h:159:53: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/quantum.h:162:51: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/quantum.h:175:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ExportQuantumPixels' ./magick/quantum.h:190:41: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] In file included from ./magick/image.h:145:0, from ./magick/blob.h:25, from ./magick/cache.h:25, from magick/accelerate.c:55: ./magick/resize.h:26:44: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/resize.h:26:57: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/resize.h:26:57: error: redefinition of parameter 'size_t' ./magick/resize.h:26:44: note: previous definition of 'size_t' was here ./magick/resize.h:27:49: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/resize.h:27:62: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/resize.h:27:62: error: redefinition of parameter 'size_t' ./magick/resize.h:27:49: note: previous definition of 'size_t' was here ./magick/resize.h:29:43: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/resize.h:29:56: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/resize.h:29:56: error: redefinition of parameter 'size_t' ./magick/resize.h:29:43: note: previous definition of 'size_t' was here ./magick/resize.h:35:36: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/resize.h:35:49: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/resize.h:35:49: error: redefinition of parameter 'size_t' ./magick/resize.h:35:36: note: previous definition of 'size_t' was here ./magick/resize.h:37:36: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/resize.h:37:49: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/resize.h:37:49: error: redefinition of parameter 'size_t' ./magick/resize.h:37:36: note: previous definition of 'size_t' was here ./magick/resize.h:38:35: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/resize.h:38:48: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/resize.h:38:48: error: redefinition of parameter 'size_t' ./magick/resize.h:38:35: note: previous definition of 'size_t' was here ./magick/resize.h:39:39: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/resize.h:39:52: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/resize.h:39:52: error: redefinition of parameter 'size_t' ./magick/resize.h:39:39: note: previous definition of 'size_t' was here In file included from ./magick/image.h:147:0, from ./magick/blob.h:25, from ./magick/cache.h:25, from magick/accelerate.c:55: ./magick/stream.h:26:4: error: expected declaration specifiers or '...' before '*' token ./magick/stream.h:29:33: error: unknown type name 'StreamHandler' ./magick/stream.h:32:41: error: unknown type name 'StreamHandler' In file included from ./magick/image.h:148:0, from ./magick/blob.h:25, from ./magick/cache.h:25, from magick/accelerate.c:55: ./magick/timer.h:49:3: error: expected specifier-qualifier-list before 'size_t' In file included from ./magick/blob.h:25:0, from ./magick/cache.h:25, from magick/accelerate.c:55: ./magick/image.h:161:3: error: expected specifier-qualifier-list before 'size_t' ./magick/image.h:370:3: error: expected specifier-qualifier-list before 'size_t' ./magick/image.h:502:35: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/image.h:502:48: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/image.h:502:48: error: redefinition of parameter 'size_t' ./magick/image.h:502:35: note: previous definition of 'size_t' was here ./magick/image.h:507:43: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/image.h:507:56: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/image.h:507:56: error: redefinition of parameter 'size_t' ./magick/image.h:507:43: note: previous definition of 'size_t' was here ./magick/image.h:531:32: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/image.h:531:45: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/image.h:531:45: error: redefinition of parameter 'size_t' ./magick/image.h:531:32: note: previous definition of 'size_t' was here ./magick/image.h:535:34: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/image.h:543:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'InterpretImageFilename' ./magick/image.h:549:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GetImageChannels' ./magick/image.h:561:51: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] In file included from ./magick/cache.h:25:0, from magick/accelerate.c:55: ./magick/blob.h:41:53: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/blob.h:42:50: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/blob.h:45:40: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/blob.h:59:3: error: unknown type name 'StreamHandler' ./magick/blob.h:62:34: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/blob.h:62:41: error: expected declaration specifiers or '...' before 'size_t' In file included from magick/accelerate.c:55:0: ./magick/cache.h:44:69: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/cache.h:45:11: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/cache.h:45:11: error: redefinition of parameter 'size_t' ./magick/cache.h:44:69: note: previous definition of 'size_t' was here ./magick/cache.h:72:65: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/cache.h:73:11: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/cache.h:73:11: error: redefinition of parameter 'size_t' ./magick/cache.h:72:65: note: previous definition of 'size_t' was here ./magick/cache.h:75:67: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/cache.h:76:11: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/cache.h:76:11: error: redefinition of parameter 'size_t' ./magick/cache.h:75:67: note: previous definition of 'size_t' was here In file included from ./magick/cache-private.h:28:0, from magick/accelerate.c:56: ./magick/random_.h:48:36: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/random_.h:56:35: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] In file included from ./magick/thread-private.h:27:0, from ./magick/cache-private.h:29, from magick/accelerate.c:56: ./magick/thread_.h:38:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token ./magick/thread_.h:42:25: error: unknown type name 'MagickThreadKey' ./magick/thread_.h:47:3: warning: parameter names (without types) in function declaration [enabled by default] In file included from ./magick/cache-private.h:29:0, from magick/accelerate.c:56: ./magick/thread-private.h:52:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'MagickMutexType' ./magick/thread-private.h:66:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GetMagickThreadSignature' ./magick/thread-private.h:108:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GetOpenMPMaximumThreads' In file included from magick/accelerate.c:56:0: ./magick/cache-private.h:50:39: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/cache-private.h:50:52: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/cache-private.h:50:52: error: redefinition of parameter 'size_t' ./magick/cache-private.h:50:39: note: previous definition of 'size_t' was here ./magick/cache-private.h:55:11: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/cache-private.h:55:24: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/cache-private.h:55:24: error: redefinition of parameter 'size_t' ./magick/cache-private.h:55:11: note: previous definition of 'size_t' was here ./magick/cache-private.h:62:11: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/cache-private.h:62:24: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/cache-private.h:62:24: error: redefinition of parameter 'size_t' ./magick/cache-private.h:62:11: note: previous definition of 'size_t' was here ./magick/cache-private.h:114:3: error: expected specifier-qualifier-list before 'size_t' ./magick/cache-private.h:198:27: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/cache-private.h:217:39: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/cache-private.h:217:52: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/cache-private.h:217:52: error: redefinition of parameter 'size_t' ./magick/cache-private.h:217:39: note: previous definition of 'size_t' was here ./magick/cache-private.h:232:34: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/cache-private.h:233:47: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/cache-private.h:237:11: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/cache-private.h:237:24: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/cache-private.h:237:24: error: redefinition of parameter 'size_t' ./magick/cache-private.h:237:11: note: previous definition of 'size_t' was here ./magick/cache-private.h:239:66: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/cache-private.h:240:11: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/cache-private.h:240:11: error: redefinition of parameter 'size_t' ./magick/cache-private.h:239:66: note: previous definition of 'size_t' was here ./magick/cache-private.h:242:11: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/cache-private.h:242:24: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/cache-private.h:242:24: error: redefinition of parameter 'size_t' ./magick/cache-private.h:242:11: note: previous definition of 'size_t' was here ./magick/cache-private.h:246:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GetPixelCacheChannels' ./magick/cache-private.h:250:39: error: expected declaration specifiers or '...' before 'size_t' ./magick/cache-private.h:250:48: error: expected declaration specifiers or '...' before 'size_t' In file included from ./magick/exception-private.h:25:0, from ./magick/color-private.h:27, from magick/accelerate.c:58: ./magick/log.h:64:29: error: expected declaration specifiers or '...' before 'size_t' ./magick/log.h:71:33: error: expected declaration specifiers or '...' before 'size_t' ./magick/log.h:80:69: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/log.h:83:73: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] In file included from ./magick/exception-private.h:26:0, from ./magick/color-private.h:27, from magick/accelerate.c:58: ./magick/magick.h:46:52: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/magick.h:92:3: error: expected specifier-qualifier-list before 'size_t' ./magick/magick.h:97:32: error: expected declaration specifiers or '...' before 'size_t' ./magick/magick.h:113:46: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/magick.h:125:36: error: expected declaration specifiers or '...' before 'size_t' In file included from ./magick/draw.h:28:0, from ./magick/fx.h:25, from ./magick/gem.h:25, from ./magick/pixel-accessor.h:26, from ./magick/color-private.h:28, from magick/accelerate.c:58: ./magick/type.h:51:3: error: expected specifier-qualifier-list before 'size_t' ./magick/type.h:88:30: error: expected declaration specifiers or '...' before 'size_t' ./magick/type.h:97:11: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/type.h:98:34: error: expected declaration specifiers or '...' before 'size_t' In file included from ./magick/fx.h:25:0, from ./magick/gem.h:25, from ./magick/pixel-accessor.h:26, from ./magick/color-private.h:28, from magick/accelerate.c:58: ./magick/draw.h:167:3: error: expected specifier-qualifier-list before 'size_t' ./magick/draw.h:197:3: error: expected specifier-qualifier-list before 'size_t' ./magick/draw.h:248:3: error: expected specifier-qualifier-list before 'size_t' ./magick/draw.h:340:3: error: expected specifier-qualifier-list before 'size_t' In file included from ./magick/gem.h:25:0, from ./magick/pixel-accessor.h:26, from ./magick/color-private.h:28, from magick/accelerate.c:58: ./magick/fx.h:50:36: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/fx.h:68:43: error: expected declaration specifiers or '...' before 'size_t' ./magick/fx.h:68:50: error: expected declaration specifiers or '...' before 'size_t' In file included from ./magick/pixel-accessor.h:26:0, from ./magick/color-private.h:28, from magick/accelerate.c:58: ./magick/gem.h:34:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GetOptimalKernelWidth' In file included from magick/accelerate.c:58:0: ./magick/color-private.h: In function 'IsMagickColorEqual': ./magick/color-private.h:52:14: error: 'MagickPixelPacket' has no member named 'opacity' ./magick/color-private.h:55:14: error: 'MagickPixelPacket' has no member named 'opacity' ./magick/color-private.h:59:17: error: 'MagickPixelPacket' has no member named 'opacity' ./magick/color-private.h:59:28: error: 'MagickPixelPacket' has no member named 'opacity' ./magick/color-private.h:61:17: error: 'MagickPixelPacket' has no member named 'opacity' ./magick/color-private.h:64:13: error: 'MagickPixelPacket' has no member named 'red' ./magick/color-private.h:64:20: error: 'MagickPixelPacket' has no member named 'red' ./magick/color-private.h:66:13: error: 'MagickPixelPacket' has no member named 'green' ./magick/color-private.h:66:22: error: 'MagickPixelPacket' has no member named 'green' ./magick/color-private.h:68:13: error: 'MagickPixelPacket' has no member named 'blue' ./magick/color-private.h:68:21: error: 'MagickPixelPacket' has no member named 'blue' ./magick/color-private.h:71:14: error: 'MagickPixelPacket' has no member named 'index' ./magick/color-private.h:71:23: error: 'MagickPixelPacket' has no member named 'index' ./magick/color-private.h: In function 'IsMagickGray': ./magick/color-private.h:81:18: error: 'MagickPixelPacket' has no member named 'red' ./magick/color-private.h:81:29: error: 'MagickPixelPacket' has no member named 'green' ./magick/color-private.h:82:18: error: 'MagickPixelPacket' has no member named 'green' ./magick/color-private.h:82:31: error: 'MagickPixelPacket' has no member named 'blue' ./magick/color-private.h: In function 'MagickPixelIntensity': ./magick/color-private.h:96:17: error: 'MagickPixelPacket' has no member named 'red' ./magick/color-private.h:98:27: error: 'MagickPixelPacket' has no member named 'red' ./magick/color-private.h:98:48: error: 'MagickPixelPacket' has no member named 'green' ./magick/color-private.h:98:71: error: 'MagickPixelPacket' has no member named 'blue' ./magick/color-private.h:99:29: error: 'MagickPixelPacket' has no member named 'red' ./magick/color-private.h:100:31: error: 'MagickPixelPacket' has no member named 'green' ./magick/color-private.h:101:30: error: 'MagickPixelPacket' has no member named 'blue' ./magick/color-private.h: In function 'MagickPixelIntensityToQuantum': ./magick/color-private.h:114:32: error: 'MagickPixelPacket' has no member named 'red' ./magick/color-private.h:116:42: error: 'MagickPixelPacket' has no member named 'red' ./magick/color-private.h:116:63: error: 'MagickPixelPacket' has no member named 'green' ./magick/color-private.h:117:22: error: 'MagickPixelPacket' has no member named 'blue' ./magick/color-private.h:118:29: error: 'MagickPixelPacket' has no member named 'red' ./magick/color-private.h:119:31: error: 'MagickPixelPacket' has no member named 'green' ./magick/color-private.h:120:30: error: 'MagickPixelPacket' has no member named 'blue' ./magick/color-private.h: In function 'MagickPixelLuminance': ./magick/color-private.h:133:17: error: 'MagickPixelPacket' has no member named 'red' ./magick/color-private.h:135:26: error: 'MagickPixelPacket' has no member named 'red' ./magick/color-private.h:135:46: error: 'MagickPixelPacket' has no member named 'green' ./magick/color-private.h:135:68: error: 'MagickPixelPacket' has no member named 'blue' ./magick/color-private.h:136:29: error: 'MagickPixelPacket' has no member named 'red' ./magick/color-private.h:137:31: error: 'MagickPixelPacket' has no member named 'green' ./magick/color-private.h:138:30: error: 'MagickPixelPacket' has no member named 'blue' In file included from magick/accelerate.c:66:0: ./magick/list.h: At top level: ./magick/list.h:29:34: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/list.h:40:39: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/list.h:45:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GetImageListLength' In file included from magick/accelerate.c:67:0: ./magick/memory_.h:26:3: warning: parameter names (without types) in function declaration [enabled by default] ./magick/memory_.h:26:3: warning: alloc_size parameter outside range [-Wattributes] ./magick/memory_.h:28:34: error: expected declaration specifiers or '...' before 'size_t' ./magick/memory_.h:31:31: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/memory_.h:31:44: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/memory_.h:31:44: error: redefinition of parameter 'size_t' ./magick/memory_.h:31:31: note: previous definition of 'size_t' was here ./magick/memory_.h:33:30: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/memory_.h:35:31: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/memory_.h:35:44: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/memory_.h:35:44: error: redefinition of parameter 'size_t' ./magick/memory_.h:35:31: note: previous definition of 'size_t' was here ./magick/memory_.h:37:47: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/memory_.h:40:49: error: unknown type name 'ResizeMemoryHandler' In file included from magick/accelerate.c:68:0: ./magick/monitor-private.h: In function 'SetImageProgress': ./magick/monitor-private.h:33:12: error: 'Image' has no member named 'progress_monitor' ./magick/monitor-private.h:35:68: error: 'Image' has no member named 'filename' ./magick/monitor-private.h:36:15: error: 'Image' has no member named 'progress_monitor' ./magick/monitor-private.h:36:61: error: 'Image' has no member named 'client_data' In file included from magick/accelerate.c:72:0: ./magick/quantize.h: At top level: ./magick/quantize.h:37:3: error: expected specifier-qualifier-list before 'size_t' ./magick/quantize.h:62:32: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/quantize.h:63:57: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] In file included from magick/accelerate.c:75:0: ./magick/splay-tree.h:49:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'GetNumberOfNodesInSplayTree' In file included from magick/accelerate.c:76:0: ./magick/statistic.h:27:3: error: expected specifier-qualifier-list before 'size_t' ./magick/statistic.h:107:40: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/statistic.h:108:65: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/statistic.h:110:59: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/statistic.h:110:72: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/statistic.h:110:72: error: redefinition of parameter 'size_t' ./magick/statistic.h:110:59: note: previous definition of 'size_t' was here ./magick/statistic.h:113:11: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/statistic.h:113:24: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/statistic.h:113:24: error: redefinition of parameter 'size_t' ./magick/statistic.h:113:11: note: previous definition of 'size_t' was here ./magick/statistic.h:120:52: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/statistic.h:123:11: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] ./magick/statistic.h:124:58: error: expected declaration specifiers or '...' before 'size_t' ./magick/statistic.h:124:67: error: expected declaration specifiers or '...' before 'size_t' In file included from magick/accelerate.c:79:0: ./magick/token.h:32:57: warning: type defaults to 'int' in declaration of 'size_t' [-Wimplicit-int] magick/accelerate.c: In function 'AccelerateConvolveImage': magick/accelerate.c:662:3: error: 'Image' has no member named 'signature' magick/accelerate.c:663:12: error: 'Image' has no member named 'debug' magick/accelerate.c:664:66: error: 'Image' has no member named 'filename' magick/accelerate.c:666:3: error: 'KernelInfo' has no member named 'signature' magick/accelerate.c:668:3: error: 'Image' has no member named 'signature' magick/accelerate.c:670:3: error: 'ExceptionInfo' has no member named 'signature' cc: /home/user/Software/bbndk/host_10_0_9_404/linux/x8 6/usr/lib/gcc/arm-unknown-nto-qnx8.0.0eabi/4.6.3/c c1 error 1 make[2]: *** [magick/magick_libMagickCore_6_Q16_la-accelerate.l o] Error 1 make[2]: Leaving directory `/home/user/workspace/ImageMagick-6.8.3-2' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/user/workspace/ImageMagick-6.8.3-2' make: *** [all] Error 2
Any idea to solve this?
Zmey:
The variables such as $QNX_TARGET were resolved. I've just replaced them to hide my filesystem.
Thanks for your help ![]()
02-24-2013 03:56 AM
do you have a success with copilling ImageMagic for BB10?