Inline: Difference between revisions

From EggWiki
Jump to navigation Jump to search
(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).")
 
mNo edit summary
 
Line 8: Line 8:
</pre>
</pre>
instead of just
instead of just
<pre
<pre>
  ./configure
  ./configure
</pre>
</pre>


(you may need to do a <code>make distclean</code> prior to running this).
(you may need to do a <code>make distclean</code> prior to running this).

Latest revision as of 22:46, 29 December 2023

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

 ./configure

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