X-Rcpt-Trace: gkrellm at lists.netservicesgroup.com
Received-SPF: none (No spf1 record for (aya.yale.edu) ) client-ip=209.85.160.177; envelope-from=<ostroffjh@aya.yale.edu>; x-ip-name=mail-qt1-f177.google_com;
X-Received: from mail-qt1-f177.google.com (unverified [209.85.160.177])
by mailproc.sbbsnet.net (Network-Services-Group-Email) with ESMTP (TLS) id 4247402-1928206
for <gkrellm@lists.netservicesgroup.com>; Thu, 11 Apr 2019 21:07:20 -0400
X-Return-Path: ostroffjh
X-Received: by mail-qt1-f177.google.com with SMTP id v20so9382414qtv.12
for <gkrellm@lists.netservicesgroup.com>; Thu, 11 Apr 2019 18:07:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=aya-yale-edu.20150623.gappssmtp.com; s=20150623;
h=subject:to:references:from:message-id:date:user-agent:mime-version
:in-reply-to:content-transfer-encoding:content-language;
bh=RxBEFdCah6DTey4iOtd6AXRqBmYNmXgTlEnL6LF1g3I=;
b=I2cZnV9swb50N7O6dnszoSjekUASNpnHmk9xnxAjCBlRBRwyFH/qTFKSqIS2mXpEfj
sFUkbBr7W/pc0BvNmMHKtClW1qTZikAduDDYFkMfaIDk4iytKpW5PW83ivFjUJE1dY4H
ijyYWm1QR0BBUrr0zECd0rRg8pDaXQJRtHsLXvSsisM1rnvdho5bfE1zvKBv7NXrm58i
9sy9MNfrqo2vGW9psHH3ZYFbxsTmHfgXPvtmuEeZIg0Ifli09jPED5hRxUTZV3Mm1SB7
FmgoI4290HX32an+RKTT14IUKa7Z/OsrLdK0pZ0eeRyXazbUBANv+fZ+IcwzwCCeThWQ
EXUA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:subject:to:references:from:message-id:date
:user-agent:mime-version:in-reply-to:content-transfer-encoding
:content-language;
bh=RxBEFdCah6DTey4iOtd6AXRqBmYNmXgTlEnL6LF1g3I=;
b=LszGWzKP/gg//eKCvjhV2vnVywpnGZkgEAVWsepvgBYDGx47+U4OJYS43Z0r/fGwKV
quzpaHuH7dapwzc8tucUxQPWd9oFQBI+/xFd4ovYfS9q6hZtsu0p6lhEMMcSMIs2tA8R
EV1iptTL1izg364SpxRoW+R+BPriFjTMW/cCC7zHskRYG2BrzXH7IogJy85gQxkxbQJj
V6jGoXvIFgtMtZaC1P/1+pTjIz9Sot/YxAsLwFfn6MirqSd+GSbY0ePpJRXpmt/7ZNpj
rtraH+J/Mwf94/SiEL9/WVQirsl4irP8AErX4oZ23RJnD6HRaC5s+ZIX9kFUozLvhlJC
9MoA==
X-Gm-Message-State: APjAAAWI87zvUFIS1zolzquUFFOweYsCytKvEXGO7E6qHunBc2bhEitU
6BJA0Ut4EGqZ7QTS93rpDj767EBEYWo=
X-Google-Smtp-Source: APXvYqz6F1h6LQE4R1Hs+UmnIaUtso7pFeYV/j+DIeAYxo8Pt8dzzQXqb5t66y8kHbzxjUuXLzHLXQ==
X-Received: by 2002:a0c:b885:: with SMTP id y5mr44828425qvf.25.1555031238105;
Thu, 11 Apr 2019 18:07:18 -0700 (PDT)
X-Return-Path: ostroffjh
X-Received: from ?IPv6:2601:188:180:4f46::738? ([2601:188:180:4f46::738])
by smtp.gmail.com with ESMTPSA id h186sm25429683qke.45.2019.04.11.18.07.17
for <gkrellm@lists.netservicesgroup.com>
(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
Thu, 11 Apr 2019 18:07:17 -0700 (PDT)
Subject: Re: [Gkrellm] Problem with gkrellfire plugin
To: gkrellm@lists.netservicesgroup.com
References: <2LGCKQC2.P6XIC4U4.QZJXVSJX@WNYAIQJQ.O7PT356F.QWNDNDHK>
<f840c201-aac6-0217-b15d-a41b2ce45459@srcbox.net>
From: Jack
Message-ID: <6eaccac3-38df-b0f1-29b9-4555a7b18b1d@aya.yale.edu>
Date: Thu, 11 Apr 2019 21:07:14 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
Thunderbird/60.6.1
MIME-Version: 1.0
In-Reply-To: <f840c201-aac6-0217-b15d-a41b2ce45459@srcbox.net>
Content-Transfer-Encoding: 8bit
Content-Language: en-US-large
X-Originating-IP: 209.85.160.177
X-Country: code=US country="United States" ip=209.85.160.177
X-ORBS-Accept: dnswl_none
X-Rcpt-To: <gkrellm@lists.netservicesgroup.com>
X-SpamDetect: *****: 5.0 sd=5.0 Close nspam=0 nok=1 0.00 $0.90(X-Phrase:isspam) $0.10(X-myrbl:Color=yellow) $0.36(dnswl_none) 0.41(dkimok) 0.41(genuine) $0.43(X-Verify-Helo:+OK) $0.47(StandardTLD) $0.48(X-NotAscii:utf) $0.49(X-LangGuess:English) Sane 5.0 NotSaned 6.0 5.0
X-NotAscii: charset=utf-8;
X-LangGuess: English
X-Phrase: IsSpam score=1.00
X-Verify-Helo: +OK mail-qt1-f177.google.com
Authentication-Results: mailproc.sbbsnet.net header.from=ostroffjh@aya.yale.edu; dkim=pass (good signature)
X-Encryption: SSL encrypted
X-MyRbl: Color=Yellow Age=0 Spam=0 Notspam=0 Stars=0 Good=1 Friend=2 Surbl=0 Catch=0 r=0 ip=209.85.160.177
X-IP-stats: Incoming Last 0, First 202, in=152, out=0, spam=0 ip=209.85.160.177
List-Unsubscribe: <mailto:gkrellm-leave@lists.netservicesgroup.com?subject=unsubscribe>
X-Mailing-List: gkrellm@lists.netservicesgroup.com
List-ID: <gkrellm@lists.netservicesgroup.com>
Precedence: bulk
Reply-To: gkrellm@lists.netservicesgroup.com
On 4/11/19 7:53 PM, Stefan Gehn wrote:
> On 11/04/2019 22:19, Jack Ostroff wrote:
>> On 2019.04.11 13:20, Jack wrote:
>>> On 2019.04.11 04:37, Peter Humphrey wrote:
>>>> On Wednesday, 10 April 2019 23:58:26 BST you wrote:
>>>>> A gkrellm_init_plugin() function is supposed to be in each plugin
>>>>> so something is wrong with the gkrellfire plugin. Maybe it is
>>>>> corrupted or the plugin has had symbols stripped.
>>
>> [snip....]
>>
>> Something is definitely strange. If I unpack the source, and do
>> "grep init gkrellfire.c" I get
>>
>> // All GKrellM plugins must have one global routine named init_plugin()
>> __declspec(dllexport) GkrellmMonitor
>> *gkrellm_init_plugin(win32_plugin_callbacks* calls)
>> GkrellmMonitor *gkrellm_init_plugin()
>
> The above signature is quite outdated. The win32 part is not needed
> anymore and for Unix systems it does not mark the function as exported.
> Please try making the init function signature look like this, i.e.
> prefix it with G_MODULE_EXPORT:
>
> G_MODULE_EXPORT
> GkrellmMonitor *gkrellm_init_plugin()
>
> Also, if needed, add the following include somewhere at the top:
> #include <gmodule.h>
>
> I wouldn't be surprised if either the default compiler configuration
> or one of the dependencies (glib, gmodule, gtk+2) sneaks in a
> "-fvisibility=hidden" which will only export symbols marked as such.
>
> Regards,
> Stefan
Stefan,
Thanks for the suggestions, but I'm just a user, not the author of the
plugin. As I saId in a later response, 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.
Jack
|