I'm investigating an issue that's occuring when building the defconfig (config/platform/omap_logic/defconfig) and it seems to be directly related to the package DirectFB. I've successfully built the same configuration by disabling the package but wonder how this is used in the configuration and what effects it would have in leaving it out of the build on the system.
Error output:
In file included from mkdgiff.c:42:
/opt/bamboo_agent_home/xml-data/build-dir/BESW-PBT-JOB1/rootfs/usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or directory
mkdgiff.c:43:10: error: #include expects "FILENAME" or
/bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include/freetype2 -O3 -ffast-math -pipe -D_GNU_SOURCE -Werror-implicit-function-declaration -o directfb-csource directfb-csource.o -lpng12 -ldl -lpthread
/bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include/freetype2 -O3 -ffast-math -pipe -D_GNU_SOURCE -Werror-implicit-function-declaration -o dfbdump dfbdump.o ../src/libdirectfb.la ../lib/fusion/libfusion.la ../lib/direct/libdirect.la -ldl -lpthread
mv -f .deps/fx.Tpo .deps/fx.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include/freetype2 -O3 -ffast-math -pipe -D_GNU_SOURCE -Werror-implicit-function-declaration -o dfbg dfbg.o ../src/libdirectfb.la ../lib/fusion/libfusion.la ../lib/direct/libdirect.la -ldl -lpthread
/bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include/freetype2 -O3 -ffast-math -pipe -D_GNU_SOURCE -Werror-implicit-function-declaration -o dfbinfo dfbinfo.o ../src/libdirectfb.la ../lib/fusion/libfusion.la ../lib/direct/libdirect.la -ldl -lpthread
/bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include/freetype2 -O3 -ffast-math -pipe -D_GNU_SOURCE -Werror-implicit-function-declaration -o dfbinput dfbinput.o ../src/libdirectfb.la ../lib/fusion/libfusion.la ../lib/direct/libdirect.la -ldl -lpthread
/bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include/freetype2 -O3 -ffast-math -pipe -D_GNU_SOURCE -Werror-implicit-function-declaration -o dfblayer dfblayer.o ../src/libdirectfb.la ../lib/fusion/libfusion.la ../lib/direct/libdirect.la -ldl -lpthread
mkdgiff.c:230: error: expected declaration specifiers or '...' before 'FT_GlyphSlot'
mkdgiff.c: In function 'write_glyph':
mkdgiff.c:233: error: 'slot' undeclared (first use in this function)
mkdgiff.c:233: error: (Each undeclared identifier is reported only once
mkdgiff.c:233: error: for each function it appears in.)
mkdgiff.c:245: error: 'ft_pixel_mode_grays' undeclared (first use in this function)
mkdgiff.c:296: error: 'ft_pixel_mode_mono' undeclared (first use in this function)
mkdgiff.c: At top level:
mkdgiff.c:354: error: expected ')' before 'face'
mkdgiff.c: In function 'main':
mkdgiff.c:539: error: 'FT_Library' undeclared (first use in this function)
mkdgiff.c:539: error: expected ';' before 'library'
mkdgiff.c:540: error: 'FT_Face' undeclared (first use in this function)
mkdgiff.c:540: error: expected ';' before 'face'
mkdgiff.c:567: error: implicit declaration of function 'FT_Init_FreeType'
mkdgiff.c:567: error: 'library' undeclared (first use in this function)
mkdgiff.c:573: error: implicit declaration of function 'FT_New_Face'
mkdgiff.c:573: error: 'face' undeclared (first use in this function)
mkdgiff.c:575: error: 'FT_Err_Unknown_File_Format' undeclared (first use in this function)
mkdgiff.c:583: error: implicit declaration of function 'FT_Select_Charmap'
mkdgiff.c:583: error: 'ft_encoding_unicode' undeclared (first use in this function)
mkdgiff.c:587: error: 'ft_encoding_latin_1' undeclared (first use in this function)
mkdgiff.c:595: error: implicit declaration of function 'do_face'
mkdgiff.c:603: error: implicit declaration of function 'FT_Done_Face'
mkdgiff.c:606: error: implicit declaration of function 'FT_Done_FreeType'
make[2]: *** [mkdgiff.o] Error 1
I've searched for a fix and none have led to any answers. I'm not sure if it's fixed in a later version of DirectFB but would determine how it could affect anything running on the system. Any help/insight would be appreciated on the issue.
Thanks,
Kyle C.