On 4/12/19 7:40 AM, Stefan Gehn wrote:
> On 12/04/2019 11:15, Peter Humphrey wrote:
>> On Friday, 12 April 2019 02:07:14 BST you wrote:
>>
>>> ... I solved my problem (and Peter's, who started this thread) by
>>> noting
>>> that the Makefile didn't actually include gkrellfire.o when linking
>>> gkrellfire.so.
>>
>> Sorry Jack, but I don't see how you solved my problem. I still can't
>> compile
>> my gkrellfire plugin. I should say that my programming days are at
>> least 30
>> years in the past, and then it was using the Ferranti Astral assembly
>> language, not C, so if I'm to poke around in the code I'll need my hand
>> holding.
>
> I can take a look at the last released version of gkrellfire and see
> if I can reproduce this on other distros. It may also be an unwanted
> side-effect of a patch of the Gentoo ebuild.
>
> Regards,
> Stefan
My bad - I have to retract what I posted earlier. The only Gentoo patch
is fix-CC-FLAGS-LDFLAGS-handling.patch, and yes indeed, it rewrites much
of Makefile, and in process removes gkrellfire.o from the recipe line
for gkrellfire.so. I'll file a Gentoo bug for it.
Peter - what worked for me was instead of just doing "emerge gkrellfire"
to do
1) ebuild path/to/ebuild prepare
2) cd to the build directory (under the portage temp dir.) and edit
Makefile by adding " gkrellfire.o" to the end of the line under the line
starting with "gkrellfire.so"
3) sudo ebuild path/to/ebuild qmerge (The qmerge step must be done as
root. The earlier steps can be done as root or a regular user)
Jack
|