Re: edbi on 64 bit machines?

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

Ok you may have found something. Here is my output:

gcc -m64 -c -o /tmp/ju.o /tmp/ju.c  
 
root@tree:/tmp# gcc -m64 -o /tmp/ju.so -shared /tmp/ju.o  
 
/usr/bin/ld: /tmp/ju.o: relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC 
/tmp/ju.o: could not read symbols: Bad value 
collect2: ld returned 1 exit status 
 
root@tree:/tmp# eui /tmp/ju.e 
/tmp/ju.e:7 
c_proc/c_func: bad routine number (-1)  
 
--> See ex.err  
 
root@tree:/tmp# which eui 
/usr/bin/eui 
 
root@tree:/tmp# file `which eui` 
/usr/bin/eui: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, BuildID[sha1]=0xef479ad0380e2d79a699d65d54a036cb804a9d3b, stripped 
 

Most importat, the last command spits out 32-bit! What do I do about that?

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

Search



Quick Links

User menu

Not signed in.

Misc Menu