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

Linker error when building wxSqlite3-4.9.6 with MinGW-64 or TDM-64 under Windows 64-bit #112

Closed
utelle opened this issue Oct 26, 2023 Discussed in #111 · 1 comment
Closed

Comments

@utelle
Copy link
Owner

utelle commented Oct 26, 2023

Discussed in #111

Originally posted by Carluccio October 26, 2023
Good morning, I work with windows 10 and compile with mingw-64 and tdm-64.
wxsqlite3-3.4.9.6, 3.4.9.5 and 3.4.9.4 does not compile:
"==== Building wxsqlite3 (release_dll_win64) ===="
wxsqlite3.cpp
Linking wxsqlite3
D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld. exe: obj/gcc/Win64/Release_DLL/wxsqlite3/sqlite3mc_amalgamation.o:sqlite3mc_amalgamation.c:(.text+0x5cf14): undefined reference to strtoflt128' D:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld. exe: obj/gcc/Win64/Release_DLL/wxsqlite3/sqlite3mc_amalgamation.o:sqlite3mc_amalgamation.c:(.text+0x5cf2f): undefined reference to modfq'
collect2.exe: error: ld returned 1 exit status
wxsqlite3.make:195: recipe for target '../lib/gcc_x64_dll/libwxsqlite3_msw32u.dll' failed
mingw32-make[1]: *** [../lib/gcc_x64_dll/libwxsqlite3_msw32u.dll] Error 1
Makefile:85: recipe for target 'wxsqlite3' failed
mingw32-make: *** [wxsqlite3] Error 2

utelle added a commit that referenced this issue Oct 26, 2023
Extension VSV makes use of data type long double, if compiled with GCC for Win64. In that case the link library quadmath has to be added. The makefiles were adjusted accordingly.
@utelle
Copy link
Owner Author

utelle commented Oct 26, 2023

The makefiles were adjusted in commit a697b3c.

@utelle utelle closed this as completed Oct 26, 2023
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