Perfmon Agent [message #76889] |
Tue, 11 July 2006 08:09 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Randy D. Smith 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)
|
|
|
Powered by
FUDForum. Page generated in 0.03581 seconds