X-Rcpt-Trace: gkrellm at lists.netservicesgroup.com
Received-SPF: none (No spf1 record for (aya.yale.edu) ) client-ip=209.85.160.195; envelope-from=<ostroffjh@aya.yale.edu>; x-ip-name=mail-qt1-f195.google_com;
X-Received: from mail-qt1-f195.google.com (unverified [209.85.160.195])
by mailproc.sbbsnet.net (Network-Services-Group-Email) with ESMTP (TLS) id 4244966-1928206
for <gkrellm@lists.netservicesgroup.com>; Thu, 11 Apr 2019 16:19:29 -0400
X-Return-Path: ostroffjh
X-Verify-SMTP: Host 209.85.160.195 sending to us was not listening
X-Received: by mail-qt1-f195.google.com with SMTP id k14so8759071qtb.0
for <gkrellm@lists.netservicesgroup.com>; Thu, 11 Apr 2019 13:19:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=aya-yale-edu.20150623.gappssmtp.com; s=20150623;
h=date:from:subject:to:in-reply-to:message-id:mime-version
:content-disposition:content-transfer-encoding;
bh=Eg9ww6wqcVKaQQJiyWu/9DLiTUs0g5rvQbmDhj2xFjY=;
b=OBfC+ibKoHaE9rwPu1f3P4EBnXsRIqwgiDV5uiBkrhwErxkzYulIX4AU/Pp1MEnXA9
Mg1mUKA9CDyJEKZx70Sntn/BQRGkBu6UBFxqhc+pCqRuya3JxNEroyMDXr72YDPa4WNI
PLwK0Dk2p0eH6tDaZDDf7XmMuYhcxyID0iHXYQ1lOehwoV7AXyS3vBwRpWFtk71aoTzK
NSj3l3IIn6I1e15U555lqolGoiMgde9MKro6JvO8s2FNCPMNLCSmCKEqkLoKLuqYgLd5
z2fNjH8f1z40meRvFNKmeZsTMLdqw0bhmT1gh0TbSHAbSNzxMZnLDf9haI/eYkd7GrxC
M8Rg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:date:from:subject:to:in-reply-to:message-id
:mime-version:content-disposition:content-transfer-encoding;
bh=Eg9ww6wqcVKaQQJiyWu/9DLiTUs0g5rvQbmDhj2xFjY=;
b=o5OlRWWeSzQcL3uON3JAp5UyR9XMUu0SKP7yTrmtZWNEDVuBBonPMPqjMN73dP8E2B
4OEtu1Hlk55J7bHyk58aXJUWu2L44nY18R4vLwFv4RZMgyvWiSpEGiXsC2IZ4X7Z7w4H
ZNORFcYQCJv8U5Cq41SqXKHqfe4Du6iNidOIMGjDA/JUgHAlQEBV8N0lRqQqkYCphOJa
+xOgXrKfPwhGssdCKPSR29E1j+8J5rUxl9pK2IpRArWX4l90BYoI/kAFe5OFXAB1xRiz
qy4F0FgPl7tQiq9hgqchNN2syrdtN7/r3JqRF4TNnbK42UQ+bxmctNIm8vE90lUs6Rjx
mbKQ==
X-Gm-Message-State: APjAAAUz6IT5lL5i7PhFusBklXW7h88AUhZIAAHRBJKOKa/goamwahDO
SW3Cw4xFr6Wl4V6gQeCvWM77pB8C30Q=
X-Google-Smtp-Source: APXvYqx7LJnPXT4JNWkC5G0IrZ5UhXSxAkq9IHTel5byhCeo23agUcvDUu/qMMj8HmevpBObGUzXLQ==
X-Received: by 2002:ac8:1a81:: with SMTP id x1mr42465749qtj.47.1555013961180;
Thu, 11 Apr 2019 13:19:21 -0700 (PDT)
X-Return-Path: ostroffjh
X-Received: from ffortso4 ([2601:188:180:4f46:1ec1:deff:fe62:b72f])
by smtp.gmail.com with ESMTPSA id t35sm26931996qtc.10.2019.04.11.13.19.20
for <gkrellm@lists.netservicesgroup.com>
(version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
Thu, 11 Apr 2019 13:19:20 -0700 (PDT)
Date: Thu, 11 Apr 2019 16:19:19 -0400
From: Jack Ostroff
Subject: Re: [Gkrellm] Problem with gkrellfire plugin
To: gkrellm@lists.netservicesgroup.com
In-Reply-To: <MAKGX72M.DJYZW2PX.CUFJN7FU@D6BH3RID.B2ZOFWTP.U6F6EETE> (from
ostroffjh@users.sourceforge.net on Thu Apr 11 13:20:50 2019)
X-Mailer: Balsa 2.5.6-153-gbc1cf70fc
Message-Id: <2LGCKQC2.P6XIC4U4.QZJXVSJX@WNYAIQJQ.O7PT356F.QWNDNDHK>
MIME-Version: 1.0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
X-Originating-IP: 209.85.160.195
X-Country: code=US country="United States" ip=209.85.160.195
X-ORBS-Accept: dnswl_none
X-Rcpt-To: <gkrellm@lists.netservicesgroup.com>
X-SpamDetect: *********: 9.0 sd=9.0 Close nspam=1 nok=0 1.00 $0.90(X-Phrase:isspam) $0.10(X-myrbl:Color=yellow) $0.85(X-Verify-SMTP present) $0.25(X-NotAscii:us-ascii) 0.36(dnswl_none) $0.41(dkimok) $0.41(genuine) $0.43(X-Verify-Helo:+OK) $0.47(StandardTLD) $0.49(X-LangGuess:English) NotSaned 6.3 9.0
X-NotAscii: charset=us-ascii;
X-LangGuess: English
X-Phrase: IsSpam score=1.00
X-Verify-Helo: +OK mail-qt1-f195.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 (from rbl) ip=209.85.160.195
X-IP-stats: Incoming Last 0, First 202, in=87, out=0, spam=0 ip=209.85.160.195
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 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()
so the call is present. Compiling is only two commands. After the
first, "x86_64-pc-linux-gnu-gcc -O2 -pipe -fPIC `pkg-config gtk+-2.0
--cflags` -c -o gkrellfire.o gkrellfire.c" if I do "objdump -t
gkrellfire.o I grep init" I get
00000000000018b0 g F .text 0000000000000089 gkrellm_init_plugin
so the function is compiled into the .o file. The second command is
"x86_64-pc-linux-gnu-gcc -O2 -pipe -fPIC `pkg-config gtk+-2.0
--cflags` -o gkrellfire.so -Wl,-O1 -Wl,--as-needed -shared `pkg-config
gtk+-2.0 --libs`" after which "objdump -t gkrellfire.so | grep init"
gives
0000000000001000 l d .init 0000000000000000 .init
0000000000003e30 l d .init_array 0000000000000000
.init_array
0000000000003e30 l O .init_array 0000000000000000
__frame_dummy_init_array_entry
0000000000001000 l F .init 0000000000000000 _init
It makes no sense to me.
If I do the same with gkrellm-volume, both volume.o and volume.so
contain gkrellm_init_plugin. The compiles seems pretty similar:
x86_64-pc-linux-gnu-gcc -O2 -pipe -DPACKAGE="\"gkrellm-volume\"" -fPIC
`pkg-config gtk+-2.0 --cflags` -I/usr/local/include -DALSA -c -o
volume.o volume.c
(same for mixer.c, oss_mixer.c, and alsa_mixer.c)
x86_64-pc-linux-gnu-gcc volume.o mixer.o oss_mixer.o alsa_mixer.o -o
volume.so `pkg-config gtk+-2.0 --libs` -lasound -shared -Wl,-O1
-Wl,--as-needed
Anything else I can check or try?
Jack |