From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15841 invoked by alias); 20 Oct 2014 08:04:19 -0000 Mailing-List: contact java-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-patches-owner@gcc.gnu.org Received: (qmail 15830 invoked by uid 89); 20 Oct 2014 08:04:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.5 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 20 Oct 2014 08:04:18 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s9K84DrC019075 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 20 Oct 2014 04:04:14 -0400 Received: from zebedee.pink (ovpn-113-89.phx2.redhat.com [10.3.113.89]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s9K84Au1016517; Mon, 20 Oct 2014 04:04:10 -0400 Message-ID: <5444C1F9.7060306@redhat.com> Date: Mon, 20 Oct 2014 08:04:00 -0000 From: Andrew Haley User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.8.0 MIME-Version: 1.0 To: =?UTF-8?B?TWFya28gRGltamHFoWV2acSH?= , java-patches@gcc.gnu.org Subject: Re: Compiling Scala-generated bytecode References: <1413785951.4798.12.camel@neelix> In-Reply-To: <1413785951.4798.12.camel@neelix> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2014-q4/txt/msg00023.txt.bz2 On 20/10/14 07:19, Marko Dimjašević wrote: > All of these undefined reference classes are in scala-library-2.9.2.jar. What am I missing? You have to link with the Scala library, either directly or indirectly. You will want to compile the library to a shared object. Before explaining any more, do you have experience with shared libraries in C and C++? Andrew.