Is there any framebuffer testcases?

Peng Fan van.freenix at gmail.com
Wed Apr 13 07:46:06 UTC 2016


Hi Chris,
I met this, so I add export INCLUDES=-I%{_includedir}:
`
arm-rtems4.12-gcc -E -DHAVE_CONFIG_H -I. -I../libpng-1.6.21 \

     -DPNGLIB_LIBNAME='PNG16_0' -DPNGLIB_VERSION='1.6.21'
-DSYMBOL_PREFIX='' -DPNG_NO_USE_READ_MACROS -DPNG_BUILDING_SYMBOL_TABLE
 pnglibconf.c > pnglibconf.tf1
pnglibconf.c:33:19: fatal error: zlib.h: No such file or directory

 # include <zlib.h>

                   ^

compilation terminated.

Makefile:2095: recipe for target 'pnglibconf.out' failed

make: *** [pnglibconf.out] Error 1

shell cmd failed: /bin/sh -ex
 /home/Freenix/work/forfun/rtems/rtems-source-builder/rtems/build/libpng-v1.6.21-arm-rtems4.12-1/doit
error: building libpng-v1.6.21-arm-rtems4.12-1
`

Actually I found zlib.h is at arm-rtems4.12/mx6ulevk/lib/include/zlib.h,
but I do not know
why the directory is not in the search PATH.

Thanks,
Peng.

2016-04-13 15:27 GMT+08:00 Chris Johns <chrisj at rtems.org>:

> On 07/04/2016 23:19, Peng Fan wrote:
>
>> +export INCLUDES=-I%{_includedir}
>>
>
> This is interesting. The pkgconfig flags do not return a path to the
> headers and so this has not been present in the builds. It must mean most
> packages are being built with the gcc and newlib header.
>
> I am not sure if INCLUDES is always supported. I am wondering if the
> %{_include} path should be added to the CCFLAGS and CFLAGS?
>
> Chris
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20160413/b09ab1a3/attachment.html>


More information about the users mailing list