[MDEV-20432] error LNK2001: unresolved external symbol log_10_int on Windows Created: 2019-08-27 Updated: 2019-08-29 Resolved: 2019-08-29 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Server |
| Affects Version/s: | 10.4.7 |
| Fix Version/s: | 10.4.8 |
| Type: | Bug | Priority: | Major |
| Reporter: | Kentaro Hayashi | Assignee: | Vladislav Vaintroub |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Windows |
||
| Description |
|
When building bundled MariaDB 10.4.7 with latest storage engine Mroonga http://mroonga.org/ , it causes "error LNK2001: unresolved external symbol log_10_int". [1] Here is the patch to fix this issue.
[1] build logs on AppVeyor CI https://ci.appveyor.com/project/groonga/mroonga/builds/26925777/job/aneis43usly9jd6c#L5179 |
| Comments |
| Comment by Vladislav Vaintroub [ 2019-08-27 ] |
|
How do you build with Mroonga , if mroonga does not build on Windows, i.e it is disabled via CMake. |
| Comment by Kentaro Hayashi [ 2019-08-28 ] |
|
Here is the recipe to build latest one. https://github.com/mroonga/mroonga/blob/master/appveyor.yml The brief instruction is the following: 1. remove storage/mroonga and replace it with latest cloned mroonga (https://github.com/mroonga/mroonga/blob/master/appveyor.yml#L51) |
| Comment by Sergei Golubchik [ 2019-08-28 ] |
|
why would mroonga need this symbol? |
| Comment by Kentaro Hayashi [ 2019-08-29 ] |
|
In Mroonga, it seems that log_10_int is indirectly referenced. (maybe, not confident at all) 1. https://github.com/mroonga/mroonga/blob/master/ha_mroonga.cpp#L12494 uses Field_timestamp_hires |