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

fix: airwave-host-32 build #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

zerkalica
Copy link

Can't compile airwave-host-32: cmake can't find installed in /usr/lib/i386-linux-gnu/wine libs.

Error message:

[ 30%] Building CXX object src/host/CMakeFiles/airwave-host-32.dir/main.cpp.o
[ 32%] Linking CXX executable airwave-host-32
ld: relocatable linking with relocations from format elf64-x86-64 (/usr/lib/x86_64-linux-gnu/wine/libwinecrt0.a(exe_entry.o)) to format elf32-i386 (airwave-host-32.0GjNO7.o) is not supported
winebuild: ld failed with status 1
winegcc: /usr/lib/wine/winebuild failed

Command:

    mkdir -p build && cd build && \
    cmake \
        -DCMAKE_BUILD_TYPE="Release" \
        -DCMAKE_INSTALL_PREFIX=/opt/airwave \
        ..

Related links:

psycha0s#65
LMMS/lmms#3582

OS: Ubuntu 18.10

Packages:

sudo apt install -y git cmake gcc-multilib build-essential qt5-qmake qtbase5-dev libmagic-dev libwine-dev libwine-dev:i386

Can't compile airwave-host-32: cmake can't find installed in /usr/lib/i386-linux-gnu/wine libs.

Error message:
```
[ 30%] Building CXX object src/host/CMakeFiles/airwave-host-32.dir/main.cpp.o
[ 32%] Linking CXX executable airwave-host-32
ld: relocatable linking with relocations from format elf64-x86-64 (/usr/lib/x86_64-linux-gnu/wine/libwinecrt0.a(exe_entry.o)) to format elf32-i386 (airwave-host-32.0GjNO7.o) is not supported
winebuild: ld failed with status 1
winegcc: /usr/lib/wine/winebuild failed
```

Command:
```
    mkdir -p build && cd build && \
    cmake \
        -DCMAKE_BUILD_TYPE="Release" \
        -DCMAKE_INSTALL_PREFIX=/opt/airwave \
        ..
```

Related links:

psycha0s#65
LMMS/lmms#3582

OS: Ubuntu 18.10

Packages:
```
sudo apt install -y git cmake gcc-multilib build-essential qt5-qmake qtbase5-dev libmagic-dev libwine-dev libwine-dev:i386
```
@zerkalica
Copy link
Author

May be add i386 wine lib paths to LINK_FLAGS for some popular distros and wine?

LINK_FLAGS="-m32 -L /usr/lib/i386-linux-gnu/wine -L /opt/wine-stable/lib32"

@rodlie
Copy link
Owner

rodlie commented Dec 23, 2018

Hi, for some reason this project always is unwatched for me whatever I do (I click watched and the next time I visit the project I'm unwatched), so I don't get any notifications ..... Will review this project in a couple of days and merge pull requests.

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

Successfully merging this pull request may close these issues.

2 participants