This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

compilation error for latest source


Hi,

I got the compilation error for latest source after configured "with-elfutis".

g++ -DHAVE_CONFIG_H -I. -Wall -Werror -DBINDIR='"/usr/local/bin"' -DSYSCONFDIR='"/usr/local/etc"' -DPKGDATADIR='"/usr/local/share/systemtap"' -DPKGLIBDIR='"/usr/local/libexec/systemtap"' -I./includes -I/usr/include/nss3 -I/usr/include/nspr4 -Wall -Werror -g -O2 -Werror -fstack-protector-all -D_FORTIFY_SOURCE=2 -MT stap_sign_module-modsign.o -MD -MP -MF .deps/stap_sign_module-modsign.Tpo -c -o stap_sign_module-modsign.o `test -f 'modsign.cxx' || echo './'`modsign.cxx
In file included from modsign.cxx:23:
session.h:20:28: error: elfutils/libdw.h: No such file or directory
session.h:199: error: ‘Dwarf_Addr’ does not name a type
session.h:200: error: ‘Dwarf_Addr’ does not name a type
session.h:201: error: ‘Dwarf_Addr’ does not name a type


Seems -Iinclude-elfutils should be added to the command line since
session.h embedded in 'modsign.cxx' requires it.

Regards,
Wenji


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]