blob: bf67a17ef931e6cd935380f89ea4103101ba500c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
undefined reference to `dynarec64_003' while linking executable
I'm on the Pi 3b+, I have added a swap file of 2GB and ran make -j1
It completed with the following error:
> [ 98%] Building C object CMakeFiles/box64.dir/src/wrapped/wrappedxml2.c.o
> [ 98%] Building C object CMakeFiles/box64.dir/src/wrapped/wrappedxslt.c.o
> [ 99%] Building C object CMakeFiles/box64.dir/src/wrapped/wrappedldapr.c.o
> [ 99%] Building C object CMakeFiles/box64.dir/src/wrapped/wrappedlber.c.o
> [ 99%] Building C object CMakeFiles/box64.dir/src/wrapped/wrappedvulkan.c.o
> [100%] Linking C executable box64
> /usr/bin/ld: libdynarec.a(dynarec_native_pass.c.o): in function `native_pass3':
> /home/pi/box64/src/dynarec/dynarec_native_pass.c:156: undefined reference to `dynarec64_003'
> collect2: error: ld returned 1 exit status
> make[2]: *** [CMakeFiles/box64.dir/build.make:3634: box64] Error 1
> make[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/box64.dir/all] Error 2
> make: *** [Makefile:182: all] Error 2
I thought that maybe I could still try and install it but this happened:
> sudo make install
> [ 0%] Built target WRAPPERS
> [ 8%] Built target native_pass3
> [ 10%] Built target dynarec_native
> [ 18%] Built target native_pass0
> [ 25%] Built target native_pass1
> [ 32%] Built target native_pass2
> [ 32%] Built target dynarec
> [ 33%] Linking C executable box64
> /usr/bin/ld: libdynarec.a(dynarec_native_pass.c.o): in function `native_pass3':
> /home/pi/box64/src/dynarec/dynarec_native_pass.c:156: undefined reference to `dynarec64_003'
> collect2: error: ld returned 1 exit status
> make[2]: *** [CMakeFiles/box64.dir/build.make:3634: box64] Error 1
> make[1]: *** [CMakeFiles/Makefile2:137: CMakeFiles/box64.dir/all] Error 2
> make: *** [Makefile:182: all] Error 2
|