This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
compilation error for latest source
- From: Wenji Huang <wenji dot huang at oracle dot com>
- To: SystemTAP <systemtap at sources dot redhat dot com>
- Date: Tue, 15 Sep 2009 10:51:38 +0800
- Subject: compilation error for latest source
- Reply-to: wenji dot huang at oracle dot com
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