Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Perfmon Agent
Perfmon Agent [message #76889] Tue, 11 July 2006 08:09 Go to next message
Eclipse UserFriend
Originally posted by: powerkleszcz.o2.pl

During compiling new perfmon agent (ubuntu, gcc) I found mistakes and don't
know what to do:

{my}/lib/libtptpConfig.so.: undefined reference to `freeEnvironmentStrings'
{my}/lib/libtptpConfig.so.: undefined reference to
`modifyApplicationEnvironment'
{my}/lib/libtptpConfig.so.: undefined reference to `getEnvironmentStrings'

Only this 3 errors.

Help please.
Re: Perfmon Agent [message #76905 is a reply to message #76889] Tue, 11 July 2006 08:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: powerkleszcz.o2.pl

I compile libprocessControlUnit.so and add to makefile:

LIBS := ... processControlUtil ...

(should be there)


Przemyslaw Kleszczewski wrote:

> During compiling new perfmon agent (ubuntu, gcc) I found mistakes and
> don't know what to do:
>
> {my}/lib/libtptpConfig.so.: undefined reference to
> {`freeEnvironmentStrings' my}/lib/libtptpConfig.so.: undefined reference
> {to
> `modifyApplicationEnvironment'
> {my}/lib/libtptpConfig.so.: undefined reference to `getEnvironmentStrings'
>
> Only this 3 errors.
>
> Help please.
Re: Perfmon Agent [message #77107 is a reply to message #76905] Tue, 11 July 2006 17:08 Go to previous message
Randy D. Smith is currently offline Randy D. SmithFriend
Messages: 394
Registered: July 2009
Senior Member
Przemyslaw Kleszczewski wrote:
> I compile libprocessControlUnit.so and add to makefile:
>
> LIBS := ... processControlUtil ...
>
> (should be there)
>
>
> Przemyslaw Kleszczewski wrote:
>
>
>>During compiling new perfmon agent (ubuntu, gcc) I found mistakes and
>>don't know what to do:
>>
>>{my}/lib/libtptpConfig.so.: undefined reference to
>>{`freeEnvironmentStrings' my}/lib/libtptpConfig.so.: undefined reference
>>{to
>>`modifyApplicationEnvironment'
>>{my}/lib/libtptpConfig.so.: undefined reference to `getEnvironmentStrings'
>>
>>Only this 3 errors.
>>
>>Help please.

Right, you found it. Again, this was the scenario: 4.0 we have the RAC
running on many platforms, and TPTP nice and functional, but the "new
technology AC" was the desired future platform, so for 4.1 we "migrated"
PerfmonAgent as a "proof of concept" to show how easy it was to move an
agent from working with the RAC to working with the AC. But for 4.2 we
knew that we could not make everyone change over to the "new tech AC"
APIs, so the key for 4.2 was "backward compatibility" (AC/BC). The new
tech AC was taught to talk the old protocols. The original PerfmonAgent
worked perfectly fine with the new tech AC in AC/BC mode. The fact that
the "migrated PerfmonAgent" had not been kept up to date with changes in
the internal code (e.g., some improvements we made for handling
propagating the environment to launched processes) was seen not to be an
issue.

I wanted us to bring the "migrated PerfmonAgent" along, but (1) we
didn't have time and people resources, and (2) it was already confusing
to *us* how to distinguish between the two, so we knew that others would
have the same problem.

So that's the reason why you ran into this problem. I know you didn't
ask why... I just thought the situation might as well be documented! :-)

--
RDS

Randy D. Smith randy (dot) d (dot) smith (at) intel (dot) com
Eclipse TPTP Committer, Platform Proj (data collection/agent controller)
Previous Topic:Where I can get symptom database 2.0 specifications
Next Topic:PerfmonAgent
Goto Forum:
  


Current Time: Sat Dec 20 14:30:41 GMT 2014

Powered by FUDForum. Page generated in 0.04806 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software