GForth ported to nanonote
dvdkhlng at gmx.de
Tue Jul 27 04:14:24 EDT 2010
>>>>> "Xiangfu" == Xiangfu Liu <xiangfu at sharism.cc> writes:
> On 07/27/2010 06:12 AM, David Kuehling wrote:
>> he OpenWrt source package used for compilation is here (work in
> I add the "Makefile" and "files" to openwrt. but I got a error when
> ---- xiangfu at openmobilefree:~/workspace/PanGu/openwrt-xburst$ make
> package/gforth/compile V=99 Collecting package info: done make:
> Entering directory `/home/xiangfu/workspace/PanGu/openwrt-xburst'
> make: *** No rule to make target `package//host/compile', needed by
> `package/feeds/xiangfu/gforth/compile'. Stop. make: Leaving
> directory `/home/xiangfu/workspace/PanGu/openwrt-xburst' make: ***
> [package/gforth/compile] Error 2
To be honest, I don't yet know how to fix that. Compiling via
make -C packages/gforth host-compile compile V=99 TOPDIR=$(pwd)
works for me. But not via
make packages/gforth/compile V=99
then I get that error.
I think it is caused by the dependency to the 'host-compile' step,
PKG_BUILD_DEPENDS:= gforth/host libldtl/host
Other packages like 'lua' use similar build dependencies, and for those
it works? If I drop the build-dependency, I have to manually trigger
the host-compile step, else 'make packages/gforth/compile' fails due to
the missing host-forth.
I'm new to openwrt, and the build system is really hard to debug for me.
I mean, I can't even generate and see the Makefile generated via all the
$(call)s so I'm basically blind when looking for these errors.
Going to look into the issue.
GnuPG public key: http://user.cs.tu-berlin.de/~dvdkhlng/dk.gpg
Fingerprint: B17A DC95 D293 657B 4205 D016 7DEF 5323 C174 7D40
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 188 bytes
Desc: not available
More information about the discussion