Receiving this error when trying to make on a FreeBSD
4.10-REL box:
In file included from adesklets.h:33,
from main.c:23:
command.h:101: syntax error before `rl_compentry_func_t'
*** Error code 1
Solution:
Two issues. First, some C99 math functions not supported out
of the box on FreeBSD4.10. Solution here was a diff kindly
supplied by the developer. Second, the out of the box install
of readline on 4.10 is also missing required functions. Solve
this by upgrading to readline 5 out of the ports tree.
Finally, touch scripting/prototypes and scripting/enums files
manually before compiling.
NOTE: unless told otherwise, ports installs readline to
/usr/local/include whereas the legacy readline resides in
/usr/include. Symlink /usr/include/readline to
/usr/local/include/readline else build the port with the
proper install path to resolve.