Install error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi,

this mail is from Jeff .I need your professional help. The below is my problem――
In the stage of installation, i received some mistake notice at my first time using erlang just as followings:
...
fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/freetype/include/freetype2 -I/usr/local/freetype/include -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -DFONTCONFIG_PATH=\"/usr/etc/fonts\" -I.. -I../src -g -O2 -MT fcfreetype.lo -MD -MP -MF .deps/fcfreetype.Tpo -c fcfreetype.c  -fPIC -DPIC -o .libs/fcfreetype.o
fcfreetype.c:53:10: error: #include expects "FILENAME" or <FILENAME>
fcfreetype.c:58:10: error: #include expects "FILENAME" or <FILENAME>
fcfreetype.c:59:10: error: #include expects "FILENAME" or <FILENAME>
fcfreetype.c:60:10: error: #include expects "FILENAME" or <FILENAME>
fcfreetype.c: In function 'FcSfntNameTranscode':
fcfreetype.c:736: warning: pointer targets in passing argument 2 of 'FcStrCmpIgnoreBlanksAndCase' differ in signedness
fcfreetype.c: In function 'FcSfntNameLanguage':
fcfreetype.c:752: warning: pointer targets in return differ in signedness
fcfreetype.c: In function 'FcVendorMatch':
fcfreetype.c:804: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
fcfreetype.c: At top level:
fcfreetype.c:899: warning: pointer targets in initialization differ in signedness
fcfreetype.c:900: warning: pointer targets in initialization differ in signedness
fcfreetype.c:901: warning: pointer targets in initialization differ in signedness
fcfreetype.c:902: warning: pointer targets in initialization differ in signedness
fcfreetype.c:903: warning: pointer targets in initialization differ in signedness
fcfreetype.c:904: warning: pointer targets in initialization differ in signedness
fcfreetype.c:905: warning: pointer targets in initialization differ in signedness
fcfreetype.c:906: warning: pointer targets in initialization differ in signedness
fcfreetype.c:907: warning: pointer targets in initialization differ in signedness
fcfreetype.c:908: warning: pointer targets in initialization differ in signedness
fcfreetype.c:909: warning: pointer targets in initialization differ in signedness
fcfreetype.c:910: warning: pointer targets in initialization differ in signedness
fcfreetype.c:911: warning: pointer targets in initialization differ in signedness
fcfreetype.c:912: warning: pointer targets in initialization differ in signedness
fcfreetype.c:913: warning: pointer targets in initialization differ in signedness
fcfreetype.c:914: warning: pointer targets in initialization differ in signedness
fcfreetype.c:923: warning: pointer targets in initialization differ in signedness
fcfreetype.c:924: warning: pointer targets in initialization differ in signedness
fcfreetype.c:925: warning: pointer targets in initialization differ in signedness
fcfreetype.c:926: warning: pointer targets in initialization differ in signedness
fcfreetype.c:927: warning: pointer targets in initialization differ in signedness
fcfreetype.c:928: warning: pointer targets in initialization differ in signedness
fcfreetype.c:929: warning: pointer targets in initialization differ in signedness
fcfreetype.c:930: warning: pointer targets in initialization differ in signedness
fcfreetype.c:931: warning: pointer targets in initialization differ in signedness
fcfreetype.c:940: warning: pointer targets in initialization differ in signedness
fcfreetype.c:941: warning: pointer targets in initialization differ in signedness
fcfreetype.c: In function 'FcGetPixelSize':
fcfreetype.c:958: error: dereferencing pointer to incomplete type
fcfreetype.c: In function 'FcFreeTypeQuery':
fcfreetype.c:1157: warning: pointer targets in passing argument 3 of 'FcPatternAddString' differ in signedness
fcfreetype.c:1172: warning: pointer targets in passing argument 1 of 'FcStrCmpIgnoreBlanksAndCase' differ in signedness
fcfreetype.c:1172: warning: pointer targets in passing argument 2 of 'FcStrCmpIgnoreBlanksAndCase' differ in signedness
fcfreetype.c:1176: warning: pointer targets in passing argument 3 of 'FcPatternAddString' differ in signedness
fcfreetype.c:1182: warning: pointer targets in passing argument 1 of 'FcStrCmpIgnoreBlanksAndCase' differ in signedness
fcfreetype.c:1182: warning: pointer targets in passing argument 2 of 'FcStrCmpIgnoreBlanksAndCase' differ in signedness
fcfreetype.c:1186: warning: pointer targets in passing argument 3 of 'FcPatternAddString' differ in signedness
fcfreetype.c:1403: warning: pointer targets in passing argument 1 of 'FcStringIsConst' differ in signedness
fcfreetype.c:1435: error: dereferencing pointer to incomplete type
fcfreetype.c:1437: warning: pointer targets in assignment differ in signedness
fcfreetype.c:1442: error: dereferencing pointer to incomplete type
fcfreetype.c:1465: error: dereferencing pointer to incomplete type
fcfreetype.c:1468: warning: pointer targets in passing argument 1 of 'FcStringIsConst' differ in signedness
fcfreetype.c:1521: warning: pointer targets in assignment differ in signedness
fcfreetype.c:1545: error: dereferencing pointer to incomplete type
fcfreetype.c:1562: warning: implicit declaration of function 'FT_MODULE_CLASS'
fcfreetype.c:1562: warning: nested extern declaration of 'FT_MODULE_CLASS'
fcfreetype.c:1562: error: dereferencing pointer to incomplete type
fcfreetype.c:1562: error: invalid type argument of '->'
fcfreetype.c:1562: error: dereferencing pointer to incomplete type
fcfreetype.c:1562: error: invalid type argument of '->'
fcfreetype.c:1562: error: dereferencing pointer to incomplete type
fcfreetype.c:1562: error: invalid type argument of '->'
fcfreetype.c:1562: error: dereferencing pointer to incomplete type
fcfreetype.c:1562: error: invalid type argument of '->'
fcfreetype.c:1562: error: dereferencing pointer to incomplete type
fcfreetype.c:1562: error: invalid type argument of '->'
fcfreetype.c:1562: error: dereferencing pointer to incomplete type
fcfreetype.c:1562: error: invalid type argument of '->'
fcfreetype.c:1562: error: dereferencing pointer to incomplete type
fcfreetype.c:1562: error: invalid type argument of '->'
fcfreetype.c:1562: error: dereferencing pointer to incomplete type
fcfreetype.c:1562: error: invalid type argument of '->'
fcfreetype.c:1562: error: dereferencing pointer to incomplete type
fcfreetype.c:1562: error: invalid type argument of '->'
fcfreetype.c:1562: error: dereferencing pointer to incomplete type
fcfreetype.c:1562: error: invalid type argument of '->'
fcfreetype.c:1562: error: dereferencing pointer to incomplete type
fcfreetype.c:1562: error: invalid type argument of '->'
fcfreetype.c:1562: error: dereferencing pointer to incomplete type
fcfreetype.c:1562: error: invalid type argument of '->'
fcfreetype.c:1562: error: dereferencing pointer to incomplete type
fcfreetype.c:1562: error: invalid type argument of '->'
fcfreetype.c:1562: error: dereferencing pointer to incomplete type
fcfreetype.c:1562: error: invalid type argument of '->'
fcfreetype.c:1562: error: dereferencing pointer to incomplete type
fcfreetype.c:1562: error: invalid type argument of '->'
fcfreetype.c:1562: error: dereferencing pointer to incomplete type
fcfreetype.c:1562: error: invalid type argument of '->'
fcfreetype.c:1562: error: dereferencing pointer to incomplete type
fcfreetype.c:1562: error: invalid type argument of '->'
fcfreetype.c:1562: error: dereferencing pointer to incomplete type
fcfreetype.c:1562: error: invalid type argument of '->'
fcfreetype.c:1562: error: dereferencing pointer to incomplete type
fcfreetype.c:1562: error: invalid type argument of '->'
fcfreetype.c:1562: error: dereferencing pointer to incomplete type
fcfreetype.c:1562: error: invalid type argument of '->'
fcfreetype.c:1599: error: dereferencing pointer to incomplete type
fcfreetype.c:1609: error: dereferencing pointer to incomplete type
fcfreetype.c:1632: warning: pointer targets in passing argument 3 of 'FcPatternAddString' differ in signedness
fcfreetype.c: In function 'addtag':
fcfreetype.c:2692: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness
fcfreetype.c:2693: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness
fcfreetype.c:2694: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness
fcfreetype.c:2694: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness
fcfreetype.c: In function 'GetScriptTags':
fcfreetype.c:2710: error: 'TT_Face' undeclared (first use in this function)
fcfreetype.c:2710: error: (Each undeclared identifier is reported only once
fcfreetype.c:2710: error: for each function it appears in.)
fcfreetype.c:2710: error: expected ';' before 'tt_face'
fcfreetype.c:2719: error: 'tt_face' undeclared (first use in this function)
fcfreetype.c:2722: warning: implicit declaration of function 'FT_STREAM_POS'
fcfreetype.c:2722: warning: nested extern declaration of 'FT_STREAM_POS'
fcfreetype.c:2726: warning: implicit declaration of function 'FT_STREAM_SEEK'
fcfreetype.c:2726: warning: nested extern declaration of 'FT_STREAM_SEEK'
fcfreetype.c:2726: warning: implicit declaration of function 'FT_FRAME_ENTER'
fcfreetype.c:2726: warning: nested extern declaration of 'FT_FRAME_ENTER'
fcfreetype.c:2729: warning: implicit declaration of function 'FT_GET_USHORT'
fcfreetype.c:2729: warning: nested extern declaration of 'FT_GET_USHORT'
fcfreetype.c:2731: warning: implicit declaration of function 'FT_FRAME_EXIT'
fcfreetype.c:2731: warning: nested extern declaration of 'FT_FRAME_EXIT'
fcfreetype.c:2747: warning: implicit declaration of function 'FT_SET_ERROR'
fcfreetype.c:2747: warning: nested extern declaration of 'FT_SET_ERROR'
fcfreetype.c:2747: warning: implicit declaration of function 'FT_MEM_ALLOC_ARRAY'
fcfreetype.c:2747: warning: nested extern declaration of 'FT_MEM_ALLOC_ARRAY'
fcfreetype.c:2747: error: expected _expression_ before 'FT_ULong'
fcfreetype.c:2756: warning: implicit declaration of function 'FT_GET_ULONG'
fcfreetype.c:2756: warning: nested extern declaration of 'FT_GET_ULONG'
fcfreetype.c:2787: warning: implicit declaration of function 'FT_FREE'
fcfreetype.c:2787: warning: nested extern declaration of 'FT_FREE'
fcfreetype.c:2714: warning: unused variable 'memory'
fcfreetype.c: In function 'FcFontCapabilities':
fcfreetype.c:2823: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
fcfreetype.c:2800: warning: unused variable 'memory'
make[1]: *** [fcfreetype.lo] Error 1
make[1]: Leaving directory `/root/software/fontconfig-2.3.2/src'
make: *** [install-recursive] Error 1

Those errors showed after i run the 'make' command. My last command is:
./configure --prefix=/usr --with-freetype-config=/usr/local/freetype/bin/freetype-config
This command ran well! Another point i want to say is that the version of my freetype is 2.4.8.

Could you please help me analyze what's wrong and what should i do to solve those error? Thank you!

Bset Regards!
Jeff

_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux