From owner-freebsd-ports@FreeBSD.ORG Mon Nov 13 20:57:00 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 70CB316A4EF for ; Mon, 13 Nov 2006 20:57:00 +0000 (UTC) (envelope-from freebsd-ports-local@be-well.ilk.org) Received: from mail5.sea5.speakeasy.net (mail5.sea5.speakeasy.net [69.17.117.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4394F43E6D for ; Mon, 13 Nov 2006 20:56:25 +0000 (GMT) (envelope-from freebsd-ports-local@be-well.ilk.org) Received: (qmail 22225 invoked from network); 13 Nov 2006 20:56:23 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail5.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 13 Nov 2006 20:56:23 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id D697D28430; Mon, 13 Nov 2006 15:56:22 -0500 (EST) To: freebsd-ports@freebsd.org References: <45563E71.3050403@users.sf.net> <44slgo6675.fsf@be-well.ilk.org> <45575D66.6000100@users.sf.net> <44r6w73x1p.fsf@be-well.ilk.org> From: Lowell Gilbert Date: Mon, 13 Nov 2006 15:56:22 -0500 In-Reply-To: <44r6w73x1p.fsf@be-well.ilk.org> (Lowell Gilbert's message of "Mon, 13 Nov 2006 15:34:58 -0500") Message-ID: <44ejs73w21.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, wxs@atarininja.org, martinko 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:57:00 -0000 Lowell Gilbert writes: > 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? Oops; never mind. I can reproduce this also.