Bug 9898 - Systemtap source compilation failure on latest Ubuntu
Summary: Systemtap source compilation failure on latest Ubuntu
Status: RESOLVED DUPLICATE of bug 9896
Alias: None
Product: systemtap
Classification: Unclassified
Component: tapsets (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-25 09:29 UTC by Ankita Garg
Modified: 2009-02-25 09:52 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ankita Garg 2009-02-25 09:29:32 UTC
When compiling the latest systemtap tarball, v 0;9 with 0.140 elfutils package,
gives the following compile time warning:

tapsets.cxx: In member function ‘std::string
dwflpp::express_as_string(std::string, std::string, location*)’:
tapsets.cxx:2299: error: format not a string literal and no format arguments
tapsets.cxx:2301: error: format not a string literal and no format arguments

Since the Makefile passes the -Werror flag, warnings are treated as errors and
the compilation aborts.

This was seen on a x86_64 system on Ubuntu Intrepid (8.10), running 2.6.29-rc4
kernel, with gcc version 4.3.2.
Comment 1 Mark Wielaard 2009-02-25 09:51:59 UTC

*** This bug has been marked as a duplicate of 2896 ***
Comment 2 Mark Wielaard 2009-02-25 09:52:25 UTC
sigh, wrong duplicate
Comment 3 Mark Wielaard 2009-02-25 09:52:46 UTC

*** This bug has been marked as a duplicate of 9896 ***