Linking errors

new topic     » topic index » view thread      » older message » newer message

Hi all
Having just retired, I'm getting back to programming after many years and look forward to reacquainting with Euphoria. I set up both the Geany editor and Wee and tried out hello world, which was fine when interpreted but got these linking errors when I tried to translate and compile (The compilation part succeeded 100% so I'm only showing the linking errors):

/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /usr/local/euphoria-4.1.0-Linux-x64/bin/eu.a(be_runtime.o): in function `power': 
be_runtime.c:(.text+0x4061): undefined reference to `__powl_finite' 
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /usr/local/euphoria-4.1.0-Linux-x64/bin/eu.a(be_runtime.o): in function `Dpower': 
be_runtime.c:(.text+0x40dc): undefined reference to `__powl_finite' 
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /usr/local/euphoria-4.1.0-Linux-x64/bin/eu.a(be_runtime.o): in function `e_log': 
be_runtime.c:(.text+0x417f): undefined reference to `__log_finite' 
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: /usr/local/euphoria-4.1.0-Linux-x64/bin/eu.a(be_runtime.o): in function `De_log': 
be_runtime.c:(.text+0x41c1): undefined reference to `__log_finite' 
collect2: error: ld returned 1 exit status 
Unable to link /home/peter/Projects/Tests/hello 
Status: 1 Command: gcc -o /home/peter/Projects/Tests/hello  init-.o hello.o main-.o   /usr/local/euphoria-4.1.0-Linux-x64/bin/eu.a -m64 -ldl -lm -lpthread 
which: no upx in (/usr/local/bin:/usr/bin:/bin) 
/tmp/wee_run_722663.sh: line 5: ./hello: No such file or directory 
Any idea what's wrong here.? (Running linux OpenSuse 15.6 - current version).
PeterR

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu