Inline

From EggWiki
Revision as of 22:46, 29 December 2023 by Geo (talk | contribs) (Created page with "Errors like "undefined reference to `cron_matchfld'" indicate a compatibility issue regarding Eggdrop's use of the inline keyword. See [http://www.greenend.org.uk/rjk/tech/inline.html here] for the gory details as to why. The fix is to use <pre> CFLAGS="-std=gnu89" ./configure </pre> instead of just <pre ./configure </pre> (you may need to do a <code>make distclean</code> prior to running this).")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

CFLAGS="-std=gnu89" ./configure

instead of just <pre

./configure

(you may need to do a make distclean prior to running this).