

Magick/type.c:706: warning: implicit declaration of function 'FcObjectSetDestroy'

Magick/type.c:704: warning: implicit declaration of function 'FcPatternDestroy' Magick/type.c:703: warning: implicit declaration of function 'FcFontList' Magick/type.c:701: error: expected expression before ')' token Magick/type.c:700: warning: implicit declaration of function 'FcPatternCreate' Magick/type.c:698: error: expected expression before ')' token Magick/type.c:697: error: 'FC_FILE' undeclared (first use in this function) Magick/type.c:696: error: 'FC_WEIGHT' undeclared (first use in this function) Magick/type.c:696: error: 'FC_SLANT' undeclared (first use in this function) Magick/type.c:696: error: 'FC_STYLE' undeclared (first use in this function) Magick/type.c:696: error: 'FC_FAMILY' undeclared (first use in this function) Magick/type.c:696: warning: implicit declaration of function 'FcObjectSetBuild' Magick/type.c:695: error: expected expression before ')' token Magick/type.c:693: error: expected expression before ')' token Magick/type.c:692: warning: implicit declaration of function 'FcInitLoadConfigAndFonts' Magick/type.c:675: error: expected ' ' before 'status' Magick/type.c:674: error: 'FcResult' undeclared (first use in this function) Magick/type.c:672: error: 'pattern' undeclared (first use in this function) Magick/type.c:671: error: 'FcPattern' undeclared (first use in this function) Magick/type.c:669: error: 'object_set' undeclared (first use in this function) Magick/type.c:668: error: 'FcObjectSet' undeclared (first use in this function) Magick/type.c:666: error: 'font_set' undeclared (first use in this function) Magick/type.c:665: error: 'FcFontSet' undeclared (first use in this function)

Magick/type.c:663: error: 'font_config' undeclared (first use in this function) Magick/type.c:662: error: 'FcConfig' undeclared (first use in this function) Magick/type.c:660: warning: left-hand operand of comma expression has no effect Magick/type.c:660: error: 'style' undeclared (first use in this function) Magick/type.c:659: warning: left-hand operand of comma expression has no effect Magick/type.c:659: error: 'file' undeclared (first use in this function) Magick/type.c:658: error: 'family' undeclared (first use in this function) Magick/type.c:657: error: for each function it appears in.) Magick/type.c:657: error: (Each undeclared identifier is reported only once Magick/type.c:657: error: 'FcChar8' undeclared (first use in this function) Magick/type.c: In function 'LoadFontConfigFonts': Magick/type.c:61:36: error: fontconfig/fontconfig.h: No such file or directory I./config -I./ltdl -I./ltdl -I/usr/include/freetype2 -I/usr/include/libxml2 -fopenmp -g -O2 -Wall -W -pthread -MT magick/magick_libMagickCore_la-type.lo -MD -MP -MF magick/.deps/magick_libMagickCore_la-type.Tpo -c -o magick/magick_libMagickCore_la-type.lo `test -f 'magick/type.c' || echo './'`magick/type.c libtool -silent -tag=CC -mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. Make: Entering directory `/mnt/sda4/downloads/ImageMagick-6.4.8-5' Gcc -Wall -ggdb3 11_2.c error.c -o printids -lpthreadĮrror.c:121: warning: implicit declaration of function `vsnprintf'Įrror.c:123: warning: implicit declaration of function `snprintf' You need to use the static library libpthread.a when connecting, so when the thread function is compiled, you need to connect the library function ! Reason: The pthread library is not the default library of the Linux system. Gcc -Wall -ggdb3 11_2.c error.c -lpthread -o printidsĬan't create thread.Error Number:-1: Error 0 The creation of pthread_create failed on SunOS. SunOS bldc 5.8 Generic_Virtual sun4u sparc SUNW,Netra-T12 14 printf("%s:pid = %lu\t tid = %lu\t (0x%lx)\n",pstr,(unsigned long) pid, (unsigned long) tid, (unsigned long) tid) Ģ9 err = pthread_create(&ntid,NULL,thr_fn,NULL) ģ2 err_sys("can't create thread.Error Number:%d",err)
