Hello Menno,

* Menno Valkema <menno.gen...@gmail.com> [2016-06-22 10:39:38 +0200]:
> Now remove the following line from
> repos/hello_tutorial/src/hello/client/target.mk:
> 
> INC_DIR += $(REP_DIR)/../libports/src/lib/curl/spec/64bit/curl/
> 
> Running it again will give you an error about a missing "curlbuild.h".
> Hence our question what are we doing wrong? Is this behavior by design,
> or should we take different steps to include and use the library port?

The problem here is that the import file contains an incorrect include
path and is therefore not picked up by Genode's build system. Please see
the attached patch [1] for a fix.


Regards,
Josef

-- 
Josef Söntgen
Genode Labs

http://www.genode-labs.com/ · http://genode.org/
diff --git a/repos/libports/lib/import/import-curl.mk b/repos/libports/lib/import/import-curl.mk
index 524b9e1..d7962eb 100644
--- a/repos/libports/lib/import/import-curl.mk
+++ b/repos/libports/lib/import/import-curl.mk
@@ -7,7 +7,7 @@ TARGET_CPUARCH=64bit
 endif
 
 # include architecture specific curlbuild.h
-REP_INC_DIR += src/lib/curl/$(TARGET_CPUARCH)
-REP_INC_DIR += src/lib/curl/$(TARGET_CPUARCH)/curl
+REP_INC_DIR += src/lib/curl/spec/$(TARGET_CPUARCH)
+REP_INC_DIR += src/lib/curl/spec/$(TARGET_CPUARCH)/curl
 
 REP_INC_DIR += src/lib/curl
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
genode-main mailing list
genode-main@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/genode-main

Reply via email to