Errors like "undefined reference to `cron_matchfld'" indicate a compatibility issue regarding Eggdrop's use of the inline keyword.
See here for the gory details as to why.
The fix is to use
instead of just
(you may need to do a
make distclean prior to running this).