From owner-freebsd-ports@FreeBSD.ORG Sun Jun 1 00:30:28 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9DF8C106566B for ; Sun, 1 Jun 2008 00:30:28 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail18.syd.optusnet.com.au (mail18.syd.optusnet.com.au [211.29.132.199]) by mx1.freebsd.org (Postfix) with ESMTP id 3E0688FC15 for ; Sun, 1 Jun 2008 00:30:27 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from server.vk2pj.dyndns.org (c122-106-215-175.belrs3.nsw.optusnet.com.au [122.106.215.175]) by mail18.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m510UHXI027679 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 1 Jun 2008 10:30:19 +1000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.2/8.14.2) with ESMTP id m510UHDA011651; Sun, 1 Jun 2008 10:30:17 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.2/8.14.2/Submit) id m510UGPA011650; Sun, 1 Jun 2008 10:30:16 +1000 (EST) (envelope-from peter) Date: Sun, 1 Jun 2008 10:30:16 +1000 From: Peter Jeremy To: Chuck Robey Message-ID: <20080601003016.GA11556@server.vk2pj.dyndns.org> References: <48208A9C.8070305@chuckr.org> <20080506192504.GD7293@server.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EVF5PPMfhYS0aIcm" Content-Disposition: inline In-Reply-To: <20080506192504.GD7293@server.vk2pj.dyndns.org> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-ports@freebsd.org Subject: Re: Trying for a duplex printer X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jun 2008 00:30:28 -0000 --EVF5PPMfhYS0aIcm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2008-May-07 05:25:04 +1000, Peter Jeremy = wrote: >On Tue, May 06, 2008 at 12:43:08PM -0400, Chuck Robey wrote: >>1) I can't determine which (if any) of the PIPS ports support the RX680, = and =2E.. >>2) right now, none of them build because of an error you get about a >> linuxwrapper not handling symbol versioning. > >This is a bigger issue. The linuxpluginwrapper maintainer is not >responding to emails about it so I doubt it will get fixed anytime >soon. I've had a quick look at it and decided that I don't understand >enough about how the symbol aliasing used to work or how the symbol >versioning broke it. I finally bit the bullet and used the sledge-hammer approach to get my pips-scx3500_3600s driver going again. Basically, I manually built the driver via its configure script, using a mixture of the ports/pip800/files patches, contents of ports/pips800/Makefile.pips, how linuxpluginwrapper worked and bits liberated from glibc. To get the supplied .so to work, I needed to strip out the '.gnu.version' and '.gnu.version_r' sections with objcopy and null out the 'VERNEED', 'VERNEEDNUM' and 'VERSYM' tags in the dynamic segment using a hex editor. I checked that I'd found everything by directly linking pips-scx3500_3600s against the .so (though I installed the version that dlopen's the .so). The result works for me but I doubt I can turn it into a port. I suspect a similar approach will work for you. --=20 Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. --EVF5PPMfhYS0aIcm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkhB7ZgACgkQ/opHv/APuIfQogCaAhPZeq/64tYt0HOkOqxldixg IUkAn1bgIdz8I9T0S6ZbV37DLZSTgF9p =1HY/ -----END PGP SIGNATURE----- --EVF5PPMfhYS0aIcm--