thorkill / eresi

The ERESI Reverse Engineering Software Interface
http://www.eresi-project.org
547 stars 129 forks source link

build failures (trunk) #136

Closed thorkill closed 8 years ago

thorkill commented 8 years ago

At least libstderesi is missing -ldl:

../libstderesi//libstderesi32.a(std-types.32.o): In function revm_vector_entry_display': /home/glenn/eresi/libstderesi/type/vectors.c:156: undefined reference todladdr'

Also, the compiler switch -Wextra is used by libgdbwrap, which isn't supported by my compiler (3.3, used for compatibility with my development environment). For compatibility, use "-W", which is still supported.


Ticket: 129 Reported by: glenn on Thu Feb 18 09:41:20 2010

thorkill commented 8 years ago

[thorkill] hey,

could you post some informations about your os and compiler version?

thorkill commented 8 years ago

[glenn] gcc 3.3 in Linux, out of r1402. I havn't tested with a newer compiler, but -W is equivalent to -Wextra and works on both new and old compilers (according to http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html).

About -ldl, I figured out what's going on: it's because I'm linking statically (to have a simpler local environment), and the error is when linking elfsh32 (not libstderesi itself), since it needs -ldl explicitly.

thorkill commented 8 years ago

[thorkill] Static should work now, I'm not sure if we want to support gcc 3.3.x, I don't have any - you could modify the configure script on your own and patch it for us. Make sure it works with gcc >3.3 .