Skip to content

collect2: error: ld returned 1 exit status #17

Description

@umbe1987

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions