[Toybox] Build issue for OPTSTR_<cmd>

Ashwini Sharma ak.ashwini at gmail.com
Wed Aug 14 03:06:42 UTC 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/attachments/20130814/187bc813/attachment.htm>


More information about the Toybox mailing list