Hello,
Unfortunately, this project does not build correctly on my machine. when I run make, I get a long list of "undefined reference to X" errors during the linking phase. For example:
/usr/bin/ld: spcinv.c:(.text+0x2c): undefined reference to 'initscr' (I have ncurses headers in my /usr/share)
and
/usr/bin/ld: spcinv.c:(.text+0xf6): undefined reference to PLAYER_POS' (undefined references for basically all your definitions in spcinv.h)
There are quite a lot of them, I think one for each reference in spcinv.h. I do not know much about C or Make or linking (I am new to programming in general), and I do not know how to resolve this issue. Any help would be appreciated, I can provide more information if you have the patience and would like to resolve this issue.
Hello,
Unfortunately, this project does not build correctly on my machine. when I run
make, I get a long list of "undefined reference to X" errors during the linking phase. For example:/usr/bin/ld: spcinv.c:(.text+0x2c): undefined reference to 'initscr'(I have ncurses headers in my /usr/share)and
/usr/bin/ld: spcinv.c:(.text+0xf6): undefined reference to PLAYER_POS'(undefined references for basically all your definitions in spcinv.h)There are quite a lot of them, I think one for each reference in spcinv.h. I do not know much about C or Make or linking (I am new to programming in general), and I do not know how to resolve this issue. Any help would be appreciated, I can provide more information if you have the patience and would like to resolve this issue.