public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* Systemtap Compilation issue
@ 2007-07-04 12:27 Rajeev Sampige
  2007-07-04 16:56 ` Frank Ch. Eigler
  0 siblings, 1 reply; 2+ messages in thread
From: Rajeev Sampige @ 2007-07-04 12:27 UTC (permalink / raw)
  To: systemtap

Hi,

We were trying to install Systemtap RPM package 
(systemtap-0.5.14.20070602-7.i586.rpm). Since there was a problem with 
package, we tried rebuilding source package. Rebuild and package 
installation was successful. However, when we tried out with sample scripts 
as shown below, we got the error.

# stap -ve 'probe begin { log("hello world") exit () }'

# stap -c df -e 'probe syscall.* { if (target()==pid()) log(name." ".argstr) 
}'



Pass 1: parsed user script and 54 library script(s) in 300usr/0sys/310real 
ms.
Pass 2: analyzed script: 1 probe(s), 2 function(s), 0 embed(s), 0 global(s) 
in 10usr/0sys/6real ms.
Pass 3: translated to C into 
"/tmp/stapK7Yty4/stap_b4fbddb993a8b806cecaa290d9aa59db_342.c" in 
0usr/0sys/0real ms.
Pass 4: compiled C into "stap_b4fbddb993a8b806cecaa290d9aa59db_342.ko" in 
630usr/100sys/734real ms.
Pass 4: compilation failed.  Try again with more '-v' (verbose) options.

Here are the system details:
-------------------------------------
Distribution: SuSE GMC

Kernel Version: 2.6.16.13

Architecture: i586



Dependency Libc packages:
-------------------------------------
glibc-i18ndata-2.4-25
glibc-locale-2.4-25
glib-1.2.10-607
taglib-1.4-20
dbus-1-glib-0.60-30
glibc-devel-2.4-28
glib2-devel-2.8.5-19
glibc-2.4-28
glib-sharp2-2.8.2-12
glib2-2.8.5-19
glib-sharp-1.0.10-30

Looks like there is version compatibility issue with glibc. Is there is any 
specific version that we need to install ?

I referred  http://sourceware.org/systemtap/getinvolved.html but couldn't 
find anything which would help in resolving this problem.

Does anyone has any suggestions to fix this?

Thanks,
Rajeev

_________________________________________________________________
Don't get caught with egg on your face. Play Chicktionary!  
http://club.live.com/chicktionary.aspx?icid=chick_hotmailtextlink2

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Systemtap Compilation issue
  2007-07-04 12:27 Systemtap Compilation issue Rajeev Sampige
@ 2007-07-04 16:56 ` Frank Ch. Eigler
  0 siblings, 0 replies; 2+ messages in thread
From: Frank Ch. Eigler @ 2007-07-04 16:56 UTC (permalink / raw)
  To: Rajeev Sampige; +Cc: systemtap

"Rajeev Sampige" <rajeev_sampige@hotmail.com> writes:

> We were trying to install Systemtap RPM package
> (systemtap-0.5.14.20070602-7.i586.rpm). [...]
> However, when we tried out with sample
> scripts as shown below, we got the error.
> [...]
> Pass 4: compiled C into "stap_b4fbddb993a8b806cecaa290d9aa59db_342.ko"
> in 630usr/100sys/734real ms.
> Pass 4: compilation failed.  Try again with more '-v' (verbose) options.

Do as the system suggests: rerun with additional "-v" options.
It will give you the underlying compiler errors.

> [...]  Looks like there is version compatibility issue with
> glibc. Is there is any specific version that we need to install ?
> [...]

That's unlikely - compilation of a kernel module does not involve glibc.


- FChE

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-07-04 16:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-04 12:27 Systemtap Compilation issue Rajeev Sampige
2007-07-04 16:56 ` Frank Ch. Eigler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).