on HP-UX fontconfig fails with this error. ... make[2]: Entering directory `/projekte/backup/tools/unix/build/fontconfig/fontconfig-cvs/fontconfig/fc-case' source='fc-case.c' object='fc-case.o' libtool=no \ DEPDIR=.deps depmode=hp /bin/sh ../depcomp \ cc -DHAVE_CONFIG_H -I. -I. -I.. -I../src -I.. -I/T/tcl_tk/8.5/add-on- libs/hp7u11/include/freetype2 -I/T/tcl_tk/8.5/add-on-libs/hp7u11/include - O -Ae +DAportable -c fc-case.c cc -O -Ae +DAportable -Wl,+vshlibunsats -Wl,-z -Wl,+s -Wl,-B,immediate -o fc- case fc-case.o /usr/ccs/bin/ld: Unsatisfied symbols: _fcValueLists (first referenced in fc-case.o) (data) _fcPatternElts (first referenced in fc-case.o) (data) FcDebugVal (first referenced in fc-case.o) (data) make[2]: *** [fc-case] Error 1 I think of inline definition which are used in the library only should go in a new header file or should be hidden for the tools by a #ifdef COMPILE_FONTCONFIG_LIBARY statement or somthing like that. Thanks
Can you remove the word "inline" from those functions in fcint.h and let me know what happens? Thanks.
Same error. the linker expects a definition for extern FcValueList ** _fcValueLists; extern FcValueList ** _fcPatternElts; These variables are used in the inline functions. for gcc no problem if neither the function is used nor there is a defintion for the external variables.
Should be fixed now.
Ok, compilation is fine now.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.