I was endeavoring to follow http://wiki.tudos.org/Quickstart. Below's the tail of the build log. Thanks for any suggestions.
L4 source directory: /home/evt/wrk/L4/TUD/forest1/src/l4 PWD=/home/evt/wrk/L4/TUD/forest1/src/l4 make -C /home/evt/wrk/L4/TUD/forest1/src/l4 -f /home/evt/wrk/L4/TUD/forest1/src/l4linux/arch/l4/Makefile.l4conf O=/home/evt/wrk/L4/TUD/forest1/src/l4/out L4X_LOOP_CHECK=1 OUTPUT=/home/evt/wrk/L4/TUD/forest1/src/l4linux/out/Makeconf.l4conf GEN /home/evt/wrk/L4/TUD/forest1/src/l4linux/out/Makeconf.l4conf GEN /home/evt/wrk/L4/TUD/forest1/src/l4linux/out/Makefile scripts/kconfig/conf --silentoldconfig arch/l4/Kconfig Getting required compilation flags failed. L4OBJ: /home/evt/wrk/L4/TUD/forest1/src/l4/out L4_REQUIRED_MODS: stdlibs log l4re_c-util libio shmc rtc /home/evt/wrk/L4/TUD/forest1/src/l4linux/arch/l4/Makefile:301: *** Aborting..
another way of asking my question would be "how does this makefile stanza work"?
L4_EXT_CFLAGS := $(call L4_BID_PKG_CONFIG_CALL,$(L4OBJ),--cflags
--define-variable=libc_variant=libc,$(L4_REQUIRED_MODS))
ifneq ($(call L4_BID_PKG_CONFIG_FAILED,$(L4_EXT_CFLAGS)),) $(info Getting required compilation flags failed.) $(info L4OBJ: $(L4OBJ)) $(info L4_REQUIRED_MODS: $(L4_REQUIRED_MODS)) $(error Aborting.) endif
grepping the tree I dont see where L4_BID_PKG_CONFIG_CALL or L4_BID_PKG_CONFIG_FAILED are defined/modified. Thanks
On Sun, Jan 16, 2011 at 5:50 PM, eric van tassell evttxl@gmail.com wrote:
I was endeavoring to follow http://wiki.tudos.org/Quickstart. Below's the tail of the build log. Thanks for any suggestions.
L4 source directory: /home/evt/wrk/L4/TUD/forest1/src/l4 PWD=/home/evt/wrk/L4/TUD/forest1/src/l4 make -C /home/evt/wrk/L4/TUD/forest1/src/l4 -f /home/evt/wrk/L4/TUD/forest1/src/l4linux/arch/l4/Makefile.l4conf O=/home/evt/wrk/L4/TUD/forest1/src/l4/out L4X_LOOP_CHECK=1 OUTPUT=/home/evt/wrk/L4/TUD/forest1/src/l4linux/out/Makeconf.l4conf GEN /home/evt/wrk/L4/TUD/forest1/src/l4linux/out/Makeconf.l4conf GEN /home/evt/wrk/L4/TUD/forest1/src/l4linux/out/Makefile scripts/kconfig/conf --silentoldconfig arch/l4/Kconfig Getting required compilation flags failed. L4OBJ: /home/evt/wrk/L4/TUD/forest1/src/l4/out L4_REQUIRED_MODS: stdlibs log l4re_c-util libio shmc rtc /home/evt/wrk/L4/TUD/forest1/src/l4linux/arch/l4/Makefile:301: *** Aborting..
--
- evt
(Eric van Tassell) twitter: evt_texelsoft linked-in: linkedin.com/in/evttxl
On Sun Jan 16, 2011 at 17:57:04 -0600, eric van tassell wrote:
another way of asking my question would be "how does this makefile stanza work"?
L4_EXT_CFLAGS := $(call L4_BID_PKG_CONFIG_CALL,$(L4OBJ),--cflags
--define-variable=libc_variant=libc,$(L4_REQUIRED_MODS))
ifneq ($(call L4_BID_PKG_CONFIG_FAILED,$(L4_EXT_CFLAGS)),) $(info Getting required compilation flags failed.) $(info L4OBJ: $(L4OBJ)) $(info L4_REQUIRED_MODS: $(L4_REQUIRED_MODS)) $(error Aborting.) endif
grepping the tree I dont see where L4_BID_PKG_CONFIG_CALL or L4_BID_PKG_CONFIG_FAILED are defined/modified. Thanks
My guess would be that in the l4-objdir that isn't a file called l4defs.mk.inc. A 'make' in the l4-objdir root-directory should generate that.
Adam
that seemed to work but why is that manual step needed? Thanks.
-evt
On Sun, Jan 16, 2011 at 6:09 PM, Adam Lackorzynski < adam@os.inf.tu-dresden.de> wrote:
On Sun Jan 16, 2011 at 17:57:04 -0600, eric van tassell wrote:
another way of asking my question would be "how does this makefile stanza work"?
L4_EXT_CFLAGS := $(call L4_BID_PKG_CONFIG_CALL,$(L4OBJ),--cflags
--define-variable=libc_variant=libc,$(L4_REQUIRED_MODS))
ifneq ($(call L4_BID_PKG_CONFIG_FAILED,$(L4_EXT_CFLAGS)),) $(info Getting required compilation flags failed.) $(info L4OBJ: $(L4OBJ)) $(info L4_REQUIRED_MODS: $(L4_REQUIRED_MODS)) $(error Aborting.) endif
grepping the tree I dont see where L4_BID_PKG_CONFIG_CALL or L4_BID_PKG_CONFIG_FAILED are defined/modified. Thanks
My guess would be that in the l4-objdir that isn't a file called l4defs.mk.inc. A 'make' in the l4-objdir root-directory should generate that.
Adam
Adam adam@os.inf.tu-dresden.de Lackorzynski http://os.inf.tu-dresden.de/~adam/
l4-hackers mailing list l4-hackers@os.inf.tu-dresden.de http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
On Tue Jan 18, 2011 at 21:58:26 -0600, eric van tassell wrote:
that seemed to work but why is that manual step needed?
It's not when doing make in the proper directory (l4 root dir) and that runs to a successful end. Did you do something different?
Adam
l4-hackers@os.inf.tu-dresden.de