pcp
[Top] [All Lists]

Re: Build failures on sles11sp3 x86_64

To: "Frank Ch. Eigler" <fche@xxxxxxxxxx>
Subject: Re: Build failures on sles11sp3 x86_64
From: Jeff Hanson <jhanson@xxxxxxx>
Date: Tue, 9 Sep 2014 17:36:15 -0400
Cc: PCP <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <y0mk35cfpoy.fsf@xxxxxxxx>
References: <540F6E97.9030506@xxxxxxx> <y0mk35cfpoy.fsf@xxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0
On 09/09/2014 05:29 PM, Frank Ch. Eigler wrote:
Jeff Hanson <jhanson@xxxxxxx> writes:

PCP 3.9.10 from git (retrieved by git clone --branch 3.9.10 
git://oss.sgi.com/pcp.git)
[...]
./Makepkgs

g++ -m64 -Wl,-O1 -o build/release/pmchart [...]
-L/usr/lib64
-L../libpcp/src [...]
main.o: In function `main':
/data1/pcp/pcp-3.9.10/pcp-3.9.10/src/pmchart/main.cpp:499: undefined reference 
to `pmGetOptions'
/data1/pcp/pcp-3.9.10/pcp-3.9.10/src/pmchart/main.cpp:556: undefined reference 
to `__pmAddOptArchive'

This looks wrong; it seems to get the linker to prefer a the system
copy of libpcp (potentially old) above the one freshly built alongside
pmchart.  It appears qmake-qt4 puts bad LIBS= into the Makefile it builds.

- FChE


I've removed the resident packages (which were 3.6.10 vintage) and am
trying again.
--
-----------------------------------------------------------------------
Jeff Hanson - jhanson@xxxxxxx - Field Technical Analyst

You can choose a ready guide in some celestial voice.
If you choose not to decide, you still have made a choice.
You can choose from phantom fears and kindness that can kill;
I will choose a path that's clear
I will choose freewill. - Peart

<Prev in Thread] Current Thread [Next in Thread>