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]

Re: compilation error for latest source


Wenji Huang wrote:
Seems -Iinclude-elfutils should be added to the command line since
session.h embedded in 'modsign.cxx' requires it.
In fact, seesion.h is not needed in modsign.cxx. Remove it from #include
can also avoid the error.

diff --git a/modsign.cxx b/modsign.cxx
index 903cc23..a73386e 100644
--- a/modsign.cxx
+++ b/modsign.cxx
@@ -20,7 +20,6 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/


-#include "session.h"
 #include "util.h"
 #include <iostream>
 #include <string>

Push the code and everything works fine.

commit 4ab2af3637026550ec28b95e287c6f2f2fc44ac7
Author: Wenji Huang <wenji.huang@oracle.com>
Date:   Tue Sep 15 14:39:51 2009 +0800

Remove unneeded header file

* modsign.cxx: Remove including session.h.

Regards,
Wenji


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