Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

collect2: error: ld returned 1 exit status #17

Open
umbe1987 opened this issue Aug 13, 2022 · 0 comments
Open

collect2: error: ld returned 1 exit status #17

umbe1987 opened this issue Aug 13, 2022 · 0 comments

Comments

@umbe1987
Copy link

umbe1987 commented Aug 13, 2022

Hello and first of all thanks for this project! I am really looking forward to try it out, however I have issues in compiling it.

I am trying to compile on Linux Mint 20.

I have installed the required dependencies, and at first I tried to run make but I had a fatal error: lua.hpp: No such file or directory error.

I tried modifying the Makefile.common as suggested here #11 (comment) like so (luajit-2.0 -> luajit-2.1):

CFLAGS := -isystem /usr/include/fltk/ -Imdcomp/include/ -IautogeneratedBindings/ -Iluaposix/ext/include -Iluaposix_headers -Iiqa/include -I. -I/usr/include/luajit-2.1 -Ilua-compat-53/c-api -DCOMPAT53_PREFIX=luacompat -c

However I am getting many (.text+0x0): multiple definition of `luaL_prepbuffsize_52'; luaposix/ext/posix/ctype.o (symbol from plugin):(.text+0x0): first defined here type of errors, which I guess ends up in the final collect2: error: ld returned 1 exit status error.

What could be the cause of the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant