[Toybox] Build issue for OPTSTR_<cmd>

Ashwini Sharma ak.ashwini at gmail.com
Tue Aug 13 20:06:42 PDT 2013


Hi Rob,

The build fails for OPTSTR_<cmd> usage.

Testcase: select grep in config for build.

Error:
In file included from main.c:16:0:
generated/newtoys.h:27:1: error: 'OPTSTR_grep' undeclared here (not in a
function)
make: *** [toybox] Error 1

I guess you missed to include __generated/oldtoys.h__ in __toys.h__

Thanks,
Ashwini
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20130814/187bc813/attachment-0004.htm>


More information about the Toybox mailing list