libport usage and extra inclusion line

Christian Helmuth christian.helmuth at ...1...
Tue Jun 21 14:10:13 CEST 2016


Hello Menno,

On Tue, Jun 21, 2016 at 01:01:55PM +0200, Menno Valkema wrote:
> However in some cases this is not sufficient. For example lwip requires
> an additional include directive:
> 
> INC_DIR += $(REP_DIR)/src/lib/lwip/include
> (line from repos/libports/src/test/lwip/http_srv_static/target.mk)

If I remove this line from target.mk the test component compiles
without error.

> Leaving out this line will result in a compilation error of a local
> include file. Looking at various library ports (mbedtls, polarssl, curl,
> and probably more) we see similar behavior. Usually some library
> configuration header file should be added manually to the include path
> to make things work.

Could you please be more specific about the error message or maybe
point out an example in the public sources that breaks if the INC_DIR
directive is removed?

Regards
-- 
Christian Helmuth
Genode Labs

http://www.genode-labs.com/ · http://genode.org/
https://twitter.com/GenodeLabs · /ˈdʒiː.nəʊd/

Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth




More information about the users mailing list