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]

[Bug translator/5178] New: Script with marker probe won't build


I'm seeing the following errors when I try to build a script that includes
marker probes on x86_64, kernel 2.6.23-mm1:

cc1: warnings being treated as errors
/tmp/stapFcUu5v/stap_ef95e8e64510f0a1e44b92b9e8e05331_303.c:174: warning:
'struct __mark_marker' declared inside parameter list
/tmp/stapFcUu5v/stap_ef95e8e64510f0a1e44b92b9e8e05331_303.c:174: warning: its
scope is only this definition or declaration, which is probably not what you want
/tmp/stapFcUu5v/stap_ef95e8e64510f0a1e44b92b9e8e05331_303.c: In function
'enter_marker_probe':
/tmp/stapFcUu5v/stap_ef95e8e64510f0a1e44b92b9e8e05331_303.c:175: error:
dereferencing pointer to incomplete type
/tmp/stapFcUu5v/stap_ef95e8e64510f0a1e44b92b9e8e05331_303.c: In function
'systemtap_module_init':
/tmp/stapFcUu5v/stap_ef95e8e64510f0a1e44b92b9e8e05331_303.c:303: warning:
passing argument 3 of 'marker_probe_register' from incompatible pointer type

-- 
           Summary: Script with marker probe won't build
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: mmlnx at us dot ibm dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=5178

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


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