Murmele / Murmele/Gittyup

Linking error OS2

Open
#697 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
2.3k
Forks
171
Avg merge
3d 19h
Merged PRs (30d)
10

Description

Hi,

Use gcc 920 and qt 5.15.2 and cmake 3.25

When building gittyup i get linking errors when it got linking the gittyup.exe

[ 99%] Linking CXX executable ../../gittyup.exe
weakld: error: Unresolved symbol (UNDEF) '__ZN9Scintilla20CharacterCategoryMap8OptimizeEi'.
weakld: info: The symbol is referenced by:
L:\var\temp\ldconv_scintilla_a_2d965ce4a2214c6a8.lib(Document.cxx.obj)
L:\var\temp\ldconv_lexilla_a_2d965ce4a251e6780.lib(CharacterCategory.cxx.obj)
Ignoring unresolved externals reported from weak prelinker.
Error! E2028: __ZN9Scintilla20CharacterCategoryMap8OptimizeEi is an undefined reference
file L:\var\temp\ldconv_scintilla_a_2d965ce4a2214c6a8.lib(Document.cxx.obj): undefined symbol __ZN9Scintilla20CharacterCategoryMap8OptimizeEi
file L:\var\temp\ldconv_lexilla_a_2d965ce4a251e6780.lib(CharacterCategory.cxx.obj): undefined symbol __ZN9Scintilla20CharacterCategoryMap8OptimizeEi
make[2]: *** [src/app/CMakeFiles/gittyup.dir/build.make:145: gittyup.exe] Error 1
make[1]: *** [CMakeFiles/Makefile2:1758: src/app/CMakeFiles/gittyup.dir/all] Error 2
make: *** [Makefile:156: all] Error 2

Any idea how to solve.

Greetz Tellie

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the OS/2 build with GCC 9.2.0, Qt 5.15.2, and CMake 3.25, then inspect the generated src/app/CMakeFiles/gittyup.dir/build.make and the Scintilla/Lexilla objects named in the linker output. Done means the undefined CharacterCategoryMap::Optimize symbol is resolved and gittyup.exe links successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.