Compile Errors

From EggWiki
Revision as of 01:30, 29 November 2022 by Geo (talk | contribs) (Created page with "If you get an error similar to: <pre> In file included from botcmd.c:25: main.h:41:10: fatal error: eggint.h: No such file or directory 41 | #include "eggint.h" | ^~~~~~~~~~ compilation terminated. In file included from botmsg.c:27: main.h:41:10: fatal error: eggint.h: No such file or directory 41 | #include "eggint.h" | ^~~~~~~~~~ In file included from bg.c:25: main.h:41:10: fatal error: eggint.h: No such file or directory 41 | #include "eggint.h" | ^~~~~~~~~~ compilati...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

If you get an error similar to:

In file included from botcmd.c:25:
main.h:41:10: fatal error: eggint.h: No such file or directory
41 | #include "eggint.h"
| ^~~~~~~~~~
compilation terminated.
In file included from botmsg.c:27:
main.h:41:10: fatal error: eggint.h: No such file or directory
41 | #include "eggint.h"
| ^~~~~~~~~~
In file included from bg.c:25:
main.h:41:10: fatal error: eggint.h: No such file or directory
41 | #include "eggint.h"
| ^~~~~~~~~~
compilation terminated.
compilation terminated.
In file included from botnet.c:29:
main.h:41:10: fatal error: eggint.h: No such file or directory
41 | #include "eggint.h"
| ^~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:83: bg.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:83: botcmd.o] Error 1
make[1]: *** [Makefile:83: botmsg.o] Error 1
make[1]: *** [Makefile:83: botnet.o] Error 1
make[1]: Leaving directory '/home/user/source/eggdrop/src'
make: *** [Makefile:271: static] Error 2

this usually means you didn't run ./configure before running make, or ./configure failed and you're trying to run make. Run ./configure again, note any errors, and then try 'make'