From owner-freebsd-ports@FreeBSD.ORG Mon Nov 13 20:43:25 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B08F16A492 for ; Mon, 13 Nov 2006 20:43:25 +0000 (UTC) (envelope-from freebsd-ports-local@be-well.ilk.org) Received: from mail6.sea5.speakeasy.net (mail6.sea5.speakeasy.net [69.17.117.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8B85440B5 for ; Mon, 13 Nov 2006 20:35:26 +0000 (GMT) (envelope-from freebsd-ports-local@be-well.ilk.org) Received: (qmail 6467 invoked from network); 13 Nov 2006 20:34:59 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail6.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 13 Nov 2006 20:34:59 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 84DC028430; Mon, 13 Nov 2006 15:34:58 -0500 (EST) To: martinko References: <45563E71.3050403@users.sf.net> <44slgo6675.fsf@be-well.ilk.org> <45575D66.6000100@users.sf.net> From: Lowell Gilbert Date: Mon, 13 Nov 2006 15:34:58 -0500 In-Reply-To: <45575D66.6000100@users.sf.net> (martinko's message of "Sun, 12 Nov 2006 18:44:06 +0100") Message-ID: <44r6w73x1p.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@freebsd.org, freebsd-ports@freebsd.org Subject: Re: emulators/qemu-launcher: unable to launch X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-ports@freebsd.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Nov 2006 20:43:25 -0000 martinko writes: > Lowell Gilbert wrote: >> martinko writes: >> >> >>> Hello list, >>> >>> I've just compiled and installed emulators/qemu-launcher and this is >>> what I've got when trying to run it: >>> >>> $ qemu-launcher >>> /libexec/ld-elf.so.1: /usr/local/lib/libgthread-2.0.so.0: Undefined >>> symbol "pthread_getschedparam" >>> >>> What's wrong please? What am I to do now? >>> >> >> When you installed the port, it printed out the pkg-message file for >> the port, which has the answer for this problem and a number of >> others. Specifically: >> - qemu now uses aio at least for ide dma, so if you get `Bad system call' >> crashes that is because aio is not (kld)loaded. >> >> >> > > Lowell, > > You're obviously right. The message must have scrolled off the screen > or something. Usually I notice and read pkg-messages. Sorry. > > But yours was an answer to a different question of mine. This thread is > regarding qemu-launcher and has nothing to do with aio.ko. (I just > checked if there isn't anything in its pkg-message:)) > > Do you happen to know a solution to this issue too please ? My apologies; I seem to have cut and pasted into the wrong windows. This is a problem with how glib links into the pthreads libraries. pthread_getschedparam is definitely supposed to be invoked from there, and on -STABLE, at least, that symbol is in libpthread. Is that the case on your system? When you build glib, is libpthread found?