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

MSYS2: Linker error when readline is present. #1293

Closed
mariusgreuel opened this issue Jan 20, 2023 · 2 comments · Fixed by #1294
Closed

MSYS2: Linker error when readline is present. #1293

mariusgreuel opened this issue Jan 20, 2023 · 2 comments · Fixed by #1294
Labels
bug Something isn't working

Comments

@mariusgreuel
Copy link
Contributor

On MSYS2/MinGW64, it appears that libreadline is linked against ncurses. Currently, main does not link correctly.

[100%] Linking C executable avrdude.exe
D:/Work/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:/Work/msys64/mingw64/lib/libreadline.a(display.o):(.text+0xed0): undefined reference to `tputs'
D:/Work/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:/Work/msys64/mingw64/lib/libreadline.a(display.o):(.text+0xf39): undefined reference to `tputs'
...
@mcuee
Copy link
Collaborator

mcuee commented Jan 21, 2023

@mcuee
Copy link
Collaborator

mcuee commented Feb 1, 2023

PR #1294 is good and it fixes the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants