Compile broken after upgrading to Ubuntu 18.04 LTS

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

gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0

ken@ken-desktop:~/euphoria-4.1.0-Linux-x64/bin$ euc search.ex 
Build directory: build-277472/ 
Translating code, pass: 1 2 3 4 5 6 7 8 9 10 11  generating 
Compiling with GCC 
Compiling   2% init-.c 
~ 
Compiling  97% eumem.c 
Linking 100% ../search 
/usr/bin/ld: /home/ken/euphoria-4.1.0-Linux-x64/bin/eu.a(be_machine.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC 
/usr/bin/ld: /home/ken/euphoria-4.1.0-Linux-x64/bin/eu.a(be_w.o): relocation R_X86_64_32 against undefined symbol `screen_image' can not be used when making a PIE object; recompile with -fPIC 
/usr/bin/ld: /home/ken/euphoria-4.1.0-Linux-x64/bin/eu.a(be_alloc.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC 
/usr/bin/ld: /home/ken/euphoria-4.1.0-Linux-x64/bin/eu.a(be_pcre.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC 
/usr/bin/ld: /home/ken/euphoria-4.1.0-Linux-x64/bin/eu.a(be_socket.o): relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIC 
/usr/bin/ld: /home/ken/euphoria-4.1.0-Linux-x64/bin/eu.a(be_runtime.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC 
/usr/bin/ld: /home/ken/euphoria-4.1.0-Linux-x64/bin/eu.a(be_task.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIC 
/usr/bin/ld: /home/ken/euphoria-4.1.0-Linux-x64/bin/eu.a(be_callc.o): relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIC 
/usr/bin/ld: /home/ken/euphoria-4.1.0-Linux-x64/bin/eu.a(pcre_compile.o): relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIC 
/usr/bin/ld: /home/ken/euphoria-4.1.0-Linux-x64/bin/eu.a(pcre_exec.o): relocation R_X86_64_32 against symbol `_pcre_default_tables' can not be used when making a PIE object; recompile with -fPIC 
/usr/bin/ld: /home/ken/euphoria-4.1.0-Linux-x64/bin/eu.a(pcre_fullinfo.o): relocation R_X86_64_32S against `.rodata' can not be used when making a PIE object; recompile with -fPIC 
/usr/bin/ld: final link failed: Nonrepresentable section on output 
collect2: error: ld returned 1 exit status 
Unable to link /home/ken/euphoria-4.1.0-Linux-x64/bin/search 
Status: 1 Command: gcc -o /home/ken/euphoria-4.1.0-Linux-x64/bin/search  init-.o search.o main-.o get.o machine.o memory.o dll.o types.o text.o convert.o 0earch.o filesys.o datetime.o sequence.o sort.o wildcard.o scinot.o graphics.o eumem.o   /home/ken/euphoria-4.1.0-Linux-x64/bin/eu.a -m64 -ldl -lm -lpthread 
ken@ken-desktop:~/euphoria-4.1.0-Linux-x64/bin$  
 

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

Search



Quick Links

User menu

Not signed in.

Misc Menu