From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 4 09:03:55 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4F3A516A403 for ; Thu, 4 Jan 2007 09:03:55 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 08DE813C441 for ; Thu, 4 Jan 2007 09:03:55 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5F451.dip.t-dialin.net [84.165.244.81]) by redbull.bpaserver.net (Postfix) with ESMTP id 0C1AA2E205; Thu, 4 Jan 2007 10:08:10 +0100 (CET) Received: from webmail.leidinger.net (webmail.Leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 8D4D55B4847; Thu, 4 Jan 2007 10:03:46 +0100 (CET) Received: (from www@localhost) by webmail.leidinger.net (8.13.8/8.13.8/Submit) id l0493kxP099323; Thu, 4 Jan 2007 10:03:46 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Thu, 04 Jan 2007 10:03:46 +0100 Message-ID: <20070104100346.dwrc6hrweoc4w4sc@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Thu, 04 Jan 2007 10:03:46 +0100 From: Alexander Leidinger To: Garrett Cooper References: <459C153E.5090801@u.washington.edu> In-Reply-To: <459C153E.5090801@u.washington.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.3) / FreeBSD-7.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.864, required 6, autolearn=not spam, BAYES_00 -15.00, DK_POLICY_SIGNSOME 0.00, FORGED_RCVD_HELO 0.14) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No X-Mailman-Approved-At: Thu, 04 Jan 2007 12:25:03 +0000 Cc: freebsd-hackers@freebsd.org Subject: Re: How to make an .so file for Linux binaries X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jan 2007 09:03:55 -0000 Quoting Garrett Cooper (from Wed, 03 Jan =20 2007 12:42:38 -0800): > =09Trying to add Flashplayer 9 functionality to FreeBSD (via the > Linux binary and www/linux-pluginwrapper) and I was wondering how I > should go about determining which symbols need to be used in the .so > file, and also how I should go about including the files (#include for > the C files, `cat`, etc?). You should see complaints about missing symbols when you start the =20 browser on the console and the output is not redirected to /dev/null =20 (this may be done in a shell wrapper of the browser, you should =20 check). You can also use "nm" to have a look at missing symbols in the =20 .so. Regarding the last part of your question... have a look at what the =20 linux-pluginwrapper does. Note: linux-pluginwrapper will not work on 7-current because of symbol =20 versioning. Bye, Alexander. --=20 I don't make the rules, Gil, I only play the game. =09=09-- Cash McCall http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137