Open basxto opened 5 years ago
Have you read this thing b00daw wrote? https://github.com/bazzinotti/XPMCK/issues/11
I have a similar issue on Debian on x86 machine.
make
euc src/xpmc.exw -o bin/xpmc
Build directory: build-246148/
Translating code, pass: 1 2 3 4 5 6 7 generating
Compiling with GCC
Compiling 1% init-.c
Compiling 6% xpmc.c
Compiling 9% main-.c
Compiling 12% file.c
Compiling 15% get.c
Compiling 19% wildcard.c
Compiling 22% machine.c
Compiling 25% assoc.c
Compiling 28% list.c
Compiling 31% string.c
Compiling 34% util.c
Compiling 38% target_at8.c
Compiling 41% output.c
Compiling 44% vgm.c
Compiling 47% specs.c
Compiling 50% zlib.c
Compiling 53% 0achine.c
Compiling 57% memory.c
Compiling 60% dll.c
Compiling 63% types.c
Compiling 66% wav.c
Compiling 69% target_c64.c
Compiling 73% target_clv.c
Compiling 76% target_cpc.c
Compiling 79% target_cps.c
Compiling 82% target_gbc.c
Compiling 85% target_gen.c
Compiling 88% target_kss.c
Compiling 92% target_pce.c
Compiling 95% target_sgg.c
Compiling 98% target_sms.c
Linking 100% ../bin/xpmc
/usr/bin/ld: /usr/local/euphoria-4.1.0-Linux-x86/bin/eu.a(be_machine.o): warning: relocation in read-only section `.rodata'
/usr/bin/ld: /usr/local/euphoria-4.1.0-Linux-x86/bin/eu.a(be_runtime.o): in function `power':
be_runtime.c:(.text+0x37ad): undefined reference to `__pow_finite'
/usr/bin/ld: /usr/local/euphoria-4.1.0-Linux-x86/bin/eu.a(be_runtime.o): in function `Dpower':
be_runtime.c:(.text+0x3835): undefined reference to `__pow_finite'
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE
collect2: error: ld returned 1 exit status
Unable to link /home/pi/lab/XPMCK/bin/xpmc
Status: 1 Command: gcc -o /home/pi/lab/XPMCK/bin/xpmc init-.o xpmc.o main-.o file.o get.o wildcard.o machine.o assoc.o list.o string.o util.o target_at8.o output.o vgm.o specs.o zlib.o 0achine.o memory.o dll.o types.o wav.o target_c64.o target_clv.o target_cpc.o target_cps.o target_gbc.o target_gen.o target_kss.o target_pce.o target_sgg.o target_sms.o /usr/local/euphoria-4.1.0-Linux-x86/bin/eu.a -m32 -ldl -lm -lpthread
On ArchLinux with openeuphoria 4.1.0-2, gcc 9.1.0-2 and binutils 2.32-2