From owner-freebsd-multimedia@FreeBSD.ORG Sun Sep 2 08:26:40 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 428F0106564A for ; Sun, 2 Sep 2012 08:26:40 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe02.c2i.net [212.247.154.34]) by mx1.freebsd.org (Postfix) with ESMTP id B823A8FC16 for ; Sun, 2 Sep 2012 08:26:39 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [176.74.212.201] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe02.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 315350868; Sun, 02 Sep 2012 10:21:30 +0200 From: Hans Petter Selasky To: freebsd-multimedia@freebsd.org Date: Sun, 2 Sep 2012 10:22:31 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.1-PRERELEASE; KDE/4.8.4; amd64; ; ) References: In-Reply-To: X-Face: 'mmZ:T{)),Oru^0c+/}w'`gU1$ubmG?lp!=R4Wy\ELYo2)@'UZ24N@ =?iso-8859-1?q?d2+AyewRX=7DmAm=3BYp=0A=09=7CU=5B?=@, _z/([?1bCfM{_"B<.J>mICJCHAzzGHI{y7{%JVz%R~yJHIji`y> =?iso-8859-1?q?Y=7Dk1C4TfysrsUI=0A=09-=25GU9V5=5DiUZF=26nRn9mJ=27=3F=26?=>O MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201209021022.32029.hselasky@c2i.net> Cc: Subject: Re: M2Tech HiFace Two and FreeBSD X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Sep 2012 08:26:40 -0000 On Saturday 01 September 2012 21:10:47 Roberth Sjon=F8y wrote: > Hello >=20 > I have just installed FreeBSD 9.1rc1. I have to two soundcards on my > computer, one which is intergrated and one which is connected through > usb. >=20 > The intergrated one works great, playing music with mplayer with that > soundcard as we speak. >=20 > The USB soundcard which is of much more higher quality and gives me a > rca spdif directly to my stereo system, it is an M2Tech HiFace Two. It > is stated by the manufacturere that it is in 100 % usb 2.0 compliant > and work out of the box with alsa on linux. >=20 > Manual: > http://www.m2tech.biz/public/pdf/hiFace%20Two%20user%20manual%20PrA.pdf >=20 > Refer to page 25. >=20 > Relevant part of dmesg: >=20 > uaudio0: on usbus0 > uaudio0: No playback. > uaudio0: No recording. > uaudio0: No midi sequencer. >=20 > I am new to FreeBSD. >=20 > Regards, >=20 > Roberth Sjon=F8y Hi, Can you dump the USB descriptors of your device? usbconfig -d X.Y dump_curr_config_desc dump_device_desc Can you enable uaudio debuggging, and then plug your device? sysctl hw.usb.uaudio.debug=3D15 Then send dmesg. =2D-HPS From owner-freebsd-multimedia@FreeBSD.ORG Sun Sep 2 10:19:40 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9CC8F106566B for ; Sun, 2 Sep 2012 10:19:40 +0000 (UTC) (envelope-from clemens@ladisch.de) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id 645E28FC1B for ; Sun, 2 Sep 2012 10:19:39 +0000 (UTC) Received: from compute5.internal (compute5.nyi.mail.srv.osa [10.202.2.45]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 572F5209D7 for ; Sun, 2 Sep 2012 06:19:39 -0400 (EDT) Received: from frontend1.nyi.mail.srv.osa ([10.202.2.160]) by compute5.internal (MEProxy); Sun, 02 Sep 2012 06:19:39 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:date:from:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; s=smtpout; bh=qAc8jM3fM/SLooKP/JzkIq bz72M=; b=Ie42HHEYaLC8r8MoHJ2UrIJJgvXoXpuR+q0YuELqx+xugop5p7EHMh fstJJcOAjg+Sm38+A2lFEfzhSgeDk0x1X3cutP6fGygzOdSaAkdNdWg36EN/RMqr aUeWLb+lFE+btLDxGRx03iKo4F5mfZHQzEzCcCg3b6uxvF575j12Q= X-Sasl-enc: XFMhNuwlStoleFjPo1BppUNduGutRNbY+z+TLlKDOSMm 1346581178 Received: from [192.168.42.210] (unknown [46.115.69.163]) by mail.messagingengine.com (Postfix) with ESMTPA id D4F4B8E01B1 for ; Sun, 2 Sep 2012 06:19:38 -0400 (EDT) Message-ID: <50433281.8050408@ladisch.de> Date: Sun, 02 Sep 2012 12:18:41 +0200 From: Clemens Ladisch User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110323 Thunderbird/3.1.9 MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: M2Tech HiFace Two and FreeBSD X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Sep 2012 10:19:40 -0000 Roberth Sjonøy wrote: > It is stated by the manufacturere that it is in 100 % usb 2.0 compliant > uaudio0: on usbus0 It is compliant with the USB *Audio* 2.0 specification, ... > uaudio0: No playback. ... which is not implemented by FreeBSD. Regards, Clemens From owner-freebsd-multimedia@FreeBSD.ORG Sun Sep 2 14:20:36 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9AEF5106566B for ; Sun, 2 Sep 2012 14:20:36 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.c2i.net [212.247.154.194]) by mx1.freebsd.org (Postfix) with ESMTP id 2AAE08FC08 for ; Sun, 2 Sep 2012 14:20:35 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [176.74.212.201] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe07.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 314113522; Sun, 02 Sep 2012 16:15:28 +0200 To: Roberth =?iso-8859-1?q?Sjon=F8y?= From: Hans Petter Selasky X-Face: 'mmZ:T{)),Oru^0c+/}w'`gU1$ubmG?lp!=R4Wy\ELYo2)@'UZ24N@ =?iso-8859-1?q?d2+AyewRX=7DmAm=3BYp=0A=09=7CU=5B?=@, _z/([?1bCfM{_"B<.J>mICJCHAzzGHI{y7{%JVz%R~yJHIji`y> =?iso-8859-1?q?Y=7Dk1C4TfysrsUI=0A=09-=25GU9V5=5DiUZF=26nRn9mJ=27=3F=26?=>O Date: Sun, 2 Sep 2012 16:16:29 +0200 MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201209021616.29319.hselasky@c2i.net> Cc: freebsd-multimedia@freebsd.org Subject: Re: M2Tech HiFace Two and FreeBSD X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Sep 2012 14:20:36 -0000 On Sunday 02 September 2012 13:06:40 Roberth Sjon=F8y wrote: > Here you go, >=20 > http://pastebin.com/LKT1LkNd >=20 > Regards, >=20 > Roberth Sjon=F8y Hi, Your device has 2 configurations. Could you run: usbconfig -d X.Y dump_all_config_desc Could you also get the snd_uaudio dmesg debug output. I suspect a descripto= r=20 is missing. I think the other USB configuration is USB 2.0. Try also: usbconfig -d X.Y set_config 1 =2D-HPS From owner-freebsd-multimedia@FreeBSD.ORG Sun Sep 2 16:55:46 2012 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 466DD106566B for ; Sun, 2 Sep 2012 16:55:46 +0000 (UTC) (envelope-from emmh@gulli.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id C67178FC0C for ; Sun, 2 Sep 2012 16:55:45 +0000 (UTC) Received: by eeke52 with SMTP id e52so1797489eek.13 for ; Sun, 02 Sep 2012 09:55:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding:x-gm-message-state; bh=7VxWcz4HiglQrmxpNvcuFC1S/C72WYBv39UeL7DL+no=; b=gJgtBzSnHhWZsaUlDGWwDemu81rxMIcka6EsfvGOPt8uR1GngD12v8vyxS2oSwxSd/ 3bcR7bVxk/jTyA+HLHeFlsyUcphcnivTDsIvy/VjCkqhPxZPysf4G4rRja8zVWoTyFWN XpXuXz7ComXm/o2h5vSXf2usQUgLRgd7L6j4AeJO3izTNLUUIKuXJYLpNvixvcrqAZK7 /k6T6VP8ZHolGXis2ltXoNyCJ9+W9zqsjJ2CEmuE4gV4ETs1QjabRB59hccWWvrH8rkw Zzfg+iMK+XLCm5C4zY0IxtDUAzCaF5ir3QGCPTub7EGfkzLeFQtnQD6FoLoXGLkHxHRb lsIg== Received: by 10.14.172.193 with SMTP id t41mr18063550eel.25.1346604944487; Sun, 02 Sep 2012 09:55:44 -0700 (PDT) Received: from marvin.hitchhikers.glxy (xdsl-84-44-128-60.netcologne.de. [84.44.128.60]) by mx.google.com with ESMTPS id u8sm29384102eel.11.2012.09.02.09.55.42 (version=SSLv3 cipher=OTHER); Sun, 02 Sep 2012 09:55:43 -0700 (PDT) Message-ID: <50438F7C.6090402@gulli.com> Date: Sun, 02 Sep 2012 18:55:24 +0200 From: emmh User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:15.0) Gecko/20120830 SeaMonkey/2.12 MIME-Version: 1.0 To: multimedia@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQkEeqdkqQZLGKzY8X5pR86jmBFHX6+LmbXiStP/y56yOHgMqIOoyqGbJTorntleV+V+9dbI Cc: nox@FreeBSD.org Subject: multimedia/vlc X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Sep 2012 16:55:46 -0000 Hi, I ran into the proplems with the mmx and sse thing. According to http://trac.videolan.org/vlc/ticket/5979 it's a gcc 4.2.1 problem so I switched to gcc 4.4*, changed the Makefile (commented out the --disable-mmx...) and it seems to build here (Pentium III (1002.30-MHz 686-class CPU). Maybe it is possible to enable these features for gcc 4.4 (or higher?)? make is still running (remember the cpu above), I'll report. best regards emmh ps.: my english... ;-) * http://www.freebsd.org/doc/en_US.ISO8859-1/articles/custom-gcc/article.html From owner-freebsd-multimedia@FreeBSD.ORG Sun Sep 2 17:56:55 2012 Return-Path: Delivered-To: multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97D1F1065673; Sun, 2 Sep 2012 17:56:55 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 529EF8FC14; Sun, 2 Sep 2012 17:56:54 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 83F3A1E00715; Sun, 2 Sep 2012 19:56:48 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.4) with ESMTP id q82Hth9I086839; Sun, 2 Sep 2012 19:55:43 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id q82HthgA086838; Sun, 2 Sep 2012 19:55:43 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Sun, 2 Sep 2012 19:55:43 +0200 To: emmh Message-ID: <20120902175543.GA86586@triton8.kn-bremen.de> References: <50438F7C.6090402@gulli.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50438F7C.6090402@gulli.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: nox@FreeBSD.org, multimedia@FreeBSD.org Subject: Re: multimedia/vlc X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Sep 2012 17:56:55 -0000 On Sun, Sep 02, 2012 at 06:55:24PM +0200, emmh wrote: > Hi, > > I ran into the proplems with the mmx and sse thing. > > According to http://trac.videolan.org/vlc/ticket/5979 it's a gcc 4.2.1 > problem so I switched to gcc 4.4*, changed the Makefile (commented out > the --disable-mmx...) and it seems to build here (Pentium III > (1002.30-MHz 686-class CPU). > Maybe it is possible to enable these features for gcc 4.4 (or higher?)? > > make is still running (remember the cpu above), I'll report. Heh I just came to the same thought without actually having seen that ticket, I suggested the guy that originally reported the issue to try: USE_GCC?= 4.6+ like also the mplayer port (optionally) uses. And for 9.x and up it may also make sense to try: CC= clang CXX= clang++ like the mplayer port also does. If both of these work I guess we could just (more or less) copy the logic from the mplayer port... Thanx, :) Juergen From owner-freebsd-multimedia@FreeBSD.ORG Sun Sep 2 18:27:05 2012 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 87D081065673 for ; Sun, 2 Sep 2012 18:27:05 +0000 (UTC) (envelope-from emmh@gulli.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 164CC8FC21 for ; Sun, 2 Sep 2012 18:27:04 +0000 (UTC) Received: by eeke52 with SMTP id e52so1815701eek.13 for ; Sun, 02 Sep 2012 11:26:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=oPCwhs5Zv6/4rkam6f95j6YVvzvT5GQhcKoulxXLzQs=; b=G7Sx7Vb4IRDJlYrguTjINwCngs1mvA4Q7K62li/I9MprVeTs/9TZZgHiCf4GBakNOH HeMw/ZiGWgKs8lhPNiNWZ0/dAYuder6Q14WOj1Img6zK5eHgVIUy7CglStXEECSKKdvg WeX7r1SAhd4HdZ25K6biq3pKDIlc1kOizPYpg97cbMArl32Atl/nn4QDnyoIIC1KLa8I CobIPTaEc63v4iy6YkCcgT/bilXgD2WTnzT/IHlV7cYxaNbgcNy797Rfmre85mF0CROC lsuTb3qDLd1vawyP9rYoDYqcGBT8e53jfO/EFtUMKIHekoeuDo0z3K5oykqg6RXcrxw2 AQGw== Received: by 10.14.193.136 with SMTP id k8mr18326560een.9.1346610417971; Sun, 02 Sep 2012 11:26:57 -0700 (PDT) Received: from marvin.hitchhikers.glxy (xdsl-84-44-128-60.netcologne.de. [84.44.128.60]) by mx.google.com with ESMTPS id l42sm29998537eep.1.2012.09.02.11.26.54 (version=SSLv3 cipher=OTHER); Sun, 02 Sep 2012 11:26:57 -0700 (PDT) Message-ID: <5043A4E9.5060607@gulli.com> Date: Sun, 02 Sep 2012 20:26:49 +0200 From: emmh User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:15.0) Gecko/20120830 SeaMonkey/2.12 MIME-Version: 1.0 To: multimedia@FreeBSD.org References: <50438F7C.6090402@gulli.com> In-Reply-To: <50438F7C.6090402@gulli.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQmZyOwo8Rr63j8cuVkm2KGO68KCD7RE8xDryup5Dx3qcxqsJ2fNAkVUDcIA87HuXdiiQiuq Cc: nox@FreeBSD.org Subject: Re: multimedia/vlc X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Sep 2012 18:27:05 -0000 emmh wrote: > Hi, > > I ran into the proplems with the mmx and sse thing. > [...] > make is still running (remember the cpu above), I'll report. gcc 4.4 works for me. " VLC media player 2.0.3 Twoflower ... Compiler: gcc version 4.4.7 20111108 (prerelease) (FreeBSD Ports Collection). " Nice to know: FreeBSD ***.***.*** 9.0-RELEASE-p4 FreeBSD 9.0-RELEASE-p4 #0: Fri Aug 24 05:15:51 CEST 2012 root@***.***.***:/usr/obj/usr/src/sys/GENERIC i386 CPU: Intel Pentium III (1002.30-MHz 686-class CPU) etc/make.conf: ... # gcc 4.4 .if !empty(.CURDIR:M/usr/ports/*) && exists(/usr/local/bin/gcc44) .if empty(.CURDIR:M/usr/ports/net/openldap*) CC=gcc44 CXX=g++44 CPP=cpp44 .endif .endif /etc/libmap.conf: ... libgcc_s.so.1 gcc44/libgcc_s.so.1 libgomp.so.1 gcc44/libgomp.so.1 libobjc.so.3 gcc44/libobjc.so.2 libssp.so.0 gcc44/libssp.so.0 libstdc++.so.6 gcc44/libstdc++.so.6 /usr/ports/multimedia/vlc/Makefile: ... # sometimes(?) misdetected causing build failure #.if ${ARCH} == "i386" #CONFIGURE_ARGS+=--disable-sse --disable-mmx #.endif ... binutils-2.22_1 GNU binary tools gcc-4.4.7.20111108 GNU Compiler Collection 4.4 gccmakedep-1.0.2 Create dependencies in makefiles using 'gcc -M' emmh From owner-freebsd-multimedia@FreeBSD.ORG Sun Sep 2 18:50:07 2012 Return-Path: Delivered-To: multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2E017106564A; Sun, 2 Sep 2012 18:50:07 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id D722D8FC14; Sun, 2 Sep 2012 18:50:06 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 8E04F1E00719; Sun, 2 Sep 2012 20:50:05 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.4) with ESMTP id q82IkQJe088902; Sun, 2 Sep 2012 20:46:26 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id q82IkQEE088901; Sun, 2 Sep 2012 20:46:26 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Sun, 2 Sep 2012 20:46:26 +0200 To: emmh Message-ID: <20120902184626.GA88867@triton8.kn-bremen.de> References: <50438F7C.6090402@gulli.com> <5043A4E9.5060607@gulli.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5043A4E9.5060607@gulli.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: nox@FreeBSD.org, multimedia@FreeBSD.org Subject: Re: multimedia/vlc X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Sep 2012 18:50:07 -0000 On Sun, Sep 02, 2012 at 08:26:49PM +0200, emmh wrote: > emmh wrote: > > Hi, > > > > I ran into the proplems with the mmx and sse thing. > > [...] > > make is still running (remember the cpu above), I'll report. > > gcc 4.4 works for me. > Cool, now if clang works too we could spare 9.x users the need of building/installing a newer gcc... (And even if not, I'd probably prefer gcc 4.6 over 4.4 if only to be consistent with other ports like mplayer.) Just thinking, :) Juergen > " > VLC media player 2.0.3 Twoflower > ... > Compiler: gcc version 4.4.7 20111108 (prerelease) (FreeBSD Ports > Collection). > " > > Nice to know: > > FreeBSD ***.***.*** 9.0-RELEASE-p4 FreeBSD 9.0-RELEASE-p4 #0: Fri Aug > 24 05:15:51 CEST 2012 > root@***.***.***:/usr/obj/usr/src/sys/GENERIC i386 > > > CPU: Intel Pentium III (1002.30-MHz 686-class CPU) > > > etc/make.conf: > ... > # gcc 4.4 > .if !empty(.CURDIR:M/usr/ports/*) && exists(/usr/local/bin/gcc44) > .if empty(.CURDIR:M/usr/ports/net/openldap*) > CC=gcc44 > CXX=g++44 > CPP=cpp44 > .endif > .endif > > > /etc/libmap.conf: > ... > libgcc_s.so.1 gcc44/libgcc_s.so.1 > libgomp.so.1 gcc44/libgomp.so.1 > libobjc.so.3 gcc44/libobjc.so.2 > libssp.so.0 gcc44/libssp.so.0 > libstdc++.so.6 gcc44/libstdc++.so.6 > > > /usr/ports/multimedia/vlc/Makefile: > ... > # sometimes(?) misdetected causing build failure > #.if ${ARCH} == "i386" > #CONFIGURE_ARGS+=--disable-sse --disable-mmx > #.endif > ... > > > binutils-2.22_1 GNU binary tools > > gcc-4.4.7.20111108 GNU Compiler Collection 4.4 > gccmakedep-1.0.2 Create dependencies in makefiles using 'gcc -M' > > > emmh From owner-freebsd-multimedia@FreeBSD.ORG Sun Sep 2 22:02:58 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3C8710656D9 for ; Sun, 2 Sep 2012 22:02:58 +0000 (UTC) (envelope-from resuscitated_wael@hotmail.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 840A68FC16 for ; Sun, 2 Sep 2012 22:02:58 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1T8IFn-00078J-W2 for freebsd-multimedia@freebsd.org; Sun, 02 Sep 2012 15:02:51 -0700 Date: Sun, 2 Sep 2012 15:02:51 -0700 (PDT) From: SicoSico To: freebsd-multimedia@freebsd.org Message-ID: <1346623371986-5740128.post@n5.nabble.com> In-Reply-To: <20120901174214.GA38645@tinyCurrent> References: <20110522171033.GA8442@tinyCurrent> <20110523064614.GA95207@onelab2.iet.unipi.it> <20110523152945.GB99789@onelab2.iet.unipi.it> <1345894983143-5737659.post@n5.nabble.com> <20120825130817.GA3354@tinyCurrent> <1346432933778-5739706.post@n5.nabble.com> <20120831194142.GA1409@tiny.Sisis.de> <1346515258781-5739847.post@n5.nabble.com> <20120901174214.GA38645@tinyCurrent> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: baresip (was Re: Ekiga && FreeBSD (for a future without Skype) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Sep 2012 22:02:58 -0000 I can't thank you enough Matthias Apitz & Chris Rees :) I extracted baresip-dist.tar.gz but: #baresip Shared object "libre.so" not found, required by "baresip" Checking the file location, it is in: /usr/local/lib/libre.so __________ As for the port, it is a dream come true :) I hope there will be a way to add v4l2 support. -- View this message in context: http://freebsd.1045724.n5.nabble.com/Ekiga-FreeBSD-for-a-future-without-Skype-tp4417102p5740128.html Sent from the freebsd-multimedia mailing list archive at Nabble.com. From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 3 04:44:15 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 697A9106564A for ; Mon, 3 Sep 2012 04:44:15 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 1A9E28FC17 for ; Mon, 3 Sep 2012 04:44:15 +0000 (UTC) Received: from [93.104.9.37] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1T8OW7-0002hd-Q1; Mon, 03 Sep 2012 06:44:07 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id q834i1TS002301; Mon, 3 Sep 2012 06:44:06 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id q834i05K002288; Mon, 3 Sep 2012 06:44:00 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Mon, 3 Sep 2012 06:44:00 +0200 From: Matthias Apitz To: SicoSico Message-ID: <20120903044400.GA2271@tinyCurrent> References: <20110522171033.GA8442@tinyCurrent> <20110523064614.GA95207@onelab2.iet.unipi.it> <20110523152945.GB99789@onelab2.iet.unipi.it> <1345894983143-5737659.post@n5.nabble.com> <20120825130817.GA3354@tinyCurrent> <1346432933778-5739706.post@n5.nabble.com> <20120831194142.GA1409@tiny.Sisis.de> <1346515258781-5739847.post@n5.nabble.com> <20120901174214.GA38645@tinyCurrent> <1346623371986-5740128.post@n5.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1346623371986-5740128.post@n5.nabble.com> X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 93.104.9.37 Cc: freebsd-multimedia@freebsd.org Subject: Re: baresip (was Re: Ekiga && FreeBSD (for a future without Skype) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2012 04:44:15 -0000 El día Sunday, September 02, 2012 a las 03:02:51PM -0700, SicoSico escribió: > I can't thank you enough Matthias Apitz & Chris Rees :) > > I extracted baresip-dist.tar.gz but: > #baresip > Shared object "libre.so" not found, required by "baresip" > > Checking the file location, it is in: > /usr/local/lib/libre.so Have you unpacked it like this: # cd / # tar xzf baresip-dist.tar.gz matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: guru@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 3 07:14:45 2012 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D22931065670 for ; Mon, 3 Sep 2012 07:14:45 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4F9478FC08 for ; Mon, 3 Sep 2012 07:14:44 +0000 (UTC) Received: by lage12 with SMTP id e12so4156580lag.13 for ; Mon, 03 Sep 2012 00:14:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=GLm2O9VVAePltrjtqH4JswNF7eR9AwSE1cL02H1SaTY=; b=gC6IBXRQvz0kA5HPIO96oUoeu30EW4tRude6xmi3m0mcU3h22+ty0tGpUutBHk1Yvv dS+F+NYhS4d+Q7+zag/Lh9xZHrdoPzlWMBt4d2QA/lUCbxMmClIeMXs6TLXNryOdcvdi IDt7hgeKQtV8JT87Mjueq34G6qK3dlIecqwTHji5qm/dIhirXrJ9rL4wwDQZC4dQ7GtK UQTb1ciFnUHUwcC7gFsprZPDRLz3K7ADqAO00GGYgJQiSUK+pH7z+Dexql96VWajNjHm HsfXxnLzICuPzvOcbNPfOIBmTXiAQjfb3h7fWaJy6G1qHIQwh9noV34T+0jtEUJZIXCA I5rQ== Received: by 10.112.17.163 with SMTP id p3mr3117589lbd.83.1346656483878; Mon, 03 Sep 2012 00:14:43 -0700 (PDT) MIME-Version: 1.0 Received: by 10.114.11.201 with HTTP; Mon, 3 Sep 2012 00:14:13 -0700 (PDT) From: arrowdodger <6yearold@gmail.com> Date: Mon, 3 Sep 2012 11:14:13 +0400 Message-ID: To: multimedia@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: FreeBSD Port: multimedia/vlc X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2012 07:14:45 -0000 Hi, this port doesn't build with recent clang on 9-STABLE: ../../include/vlc_common.h:801:9: error: reference to '__uint16_t' is ambiguous w = hton16 (w); ^ ../../include/vlc_common.h:717:20: note: expanded from macro 'hton16' # define hton16(i) bswap16(i) ^ /usr/include/sys/endian.h:59:20: note: expanded from macro 'bswap16' #define bswap16(x) __bswap16(x) ^ /usr/include/machine/endian.h:123:23: note: expanded from macro '__bswap16' __bswap16_const((__uint16_t)(_x)) : __bswap16_var(_x))) ^ /usr/include/machine/endian.h:88:55: note: expanded from macro '__bswap16_const' #define __bswap16_const(_x) (__uint16_t)((_x) << 8 | (_x) >> 8) ^ ../../include/vlc_common.h:653:24: note: candidate found by name lookup is '__uint16_t' static inline uint16_t bswap16 (uint16_t x) ^ /usr/include/sys/endian.h:59:20: note: expanded from macro 'bswap16' #define bswap16(x) __bswap16(x) ^ /usr/include/machine/endian.h:122:4: note: expanded from macro '__bswap16' ((__uint16_t)(__builtin_constant_p(_x) ? \ ^ /usr/include/machine/_types.h:54:25: note: candidate found by name lookup is '__uint16_t' typedef unsigned short __uint16_t; ^ From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 3 08:22:09 2012 Return-Path: Delivered-To: multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 726821065673; Mon, 3 Sep 2012 08:22:09 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 63F738FC0A; Mon, 3 Sep 2012 08:22:07 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id LAA19256; Mon, 03 Sep 2012 11:22:06 +0300 (EEST) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1T8Rv4-000K8H-5U; Mon, 03 Sep 2012 11:22:06 +0300 Message-ID: <504468AB.8050003@FreeBSD.org> Date: Mon, 03 Sep 2012 11:22:03 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:14.0) Gecko/20120728 Thunderbird/14.0 MIME-Version: 1.0 To: multimedia@FreeBSD.org X-Enigmail-Version: 1.4.3 Content-Type: text/plain; charset=X-VIET-VPS Content-Transfer-Encoding: 7bit Cc: Juergen Lock Subject: vlc-2.0.3_1,3 patch phase fails X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2012 08:22:09 -0000 ===> Patching for vlc-2.0.3_1,3 ===> vlc-2.0.3_1,3 depends on file: /usr/local/bin/perl5.12.4 - found ===> Applying extra patch /usr/ports/multimedia/vlc/files/extra-patch-modules__services_discovery__upnp_intel.cpp cannot open /usr/ports/multimedia/vlc/files/extra-patch-modules__services_discovery__upnp_intel.cpp: No such file or directory I do have UPNP=on: UPnP network device control in my showconfig output. The file files/extra-patch-modules__services_discovery__upnp_intel.cpp doesn't exist indeed. -- Andriy Gapon From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 3 11:09:44 2012 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1C31A106564A for ; Mon, 3 Sep 2012 11:09:44 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 04E0D8FC22 for ; Mon, 3 Sep 2012 11:09:44 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q83B9hUK048288 for ; Mon, 3 Sep 2012 11:09:43 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q83B9gWE047930 for freebsd-multimedia@FreeBSD.org; Mon, 3 Sep 2012 11:09:42 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 3 Sep 2012 11:09:42 GMT Message-Id: <201209031109.q83B9gWE047930@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-multimedia@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-multimedia@FreeBSD.org X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2012 11:09:44 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/171191 multimedia [snd_cmi] [request] add driver support for cmi8787/878 o ports/170517 multimedia [patch] Correct audio/jack Dependency Declaration o ports/170483 multimedia [patch] Correct multimedia/gstreamer Dependency Declar o ports/170134 multimedia audio/denemo: Update to version 0.9.4 o ports/169563 multimedia [patch] audio/jack-rack o ports/168896 multimedia [patch] audio/wavpack doesn't build with clang 3.1 o ports/165090 multimedia audio/faad missing head files o kern/162181 multimedia [snd_emu10k1] [patch] The kernel sound driver module s o ports/161783 multimedia [PATCH] multimedia/gpac-libgpac: Fix build with gcc46 o ports/161568 multimedia [PATCH] audio/libsamplerate: samplerate.h has comma at o ports/161546 multimedia [PATCH] multimedia/mkvtoolnix: make some dependencies o kern/159236 multimedia [pcm] [patch] set PCM_CAP_DEFAULT for the default snd o kern/158979 multimedia [snd_uadio] snd_uaudio fails to initialize built-in mi o kern/158542 multimedia [snd_hda] hdac0: hdac_get_capabilities: Invalid corb s f kern/158424 multimedia [snd_hda] snd_hda driver doesn't expose 'rec' flag for o stand/157050 multimedia OSS implementation lacks AFMT_FLOAT o kern/156198 multimedia [snd_hda] [hang] loading snd_hda kernel module hangs s o kern/156165 multimedia [hdac] Missing card definition for hdac audio device, o ports/153846 multimedia graphics/libcaca 0.99.beta17 - Hidden dependency on Xl o kern/152622 multimedia [pcm] uaudio recording problem o kern/152500 multimedia [hdac] play interrupt timeout, channel dead o kern/152378 multimedia [sound][patch] Update snd_envy24ht to be MPSAFE and us f ports/150502 multimedia multimedia/gpac-libgpac 0.4.5_4,1 fails to compile on o kern/150284 multimedia [snd_hda] No gain with Audio o kern/149943 multimedia [pcm]: CS4236 audio problem o kern/148741 multimedia [sound] Headphones are deaf (do not work) on Lenovo Th o kern/147504 multimedia [oss] [panic] panic: dev_pager_getpage: map function r o kern/146031 multimedia [snd_hda] race condition when kldunload snd_hda sound o kern/144659 multimedia [pcm] The distortion of the sound playback of music at o kern/143505 multimedia [pcm] FreeBSD 8.0-RELEASE (x64) won't make sound card o kern/141826 multimedia [snd_hda] load of snd_hda module fails o kern/140591 multimedia [PATCH][sound] No sound output on lineout/headphone ja o kern/137589 multimedia [snd_uaudio] snd_uaudio.ko (USB audio driver) doesn't o kern/134767 multimedia [sound] [snd_hda] [regression] Sigmatel STAC9205X no s o kern/132848 multimedia [sound] [snd_emu10kx] driver problem with card init, s o kern/132511 multimedia [sound] [snd_hda] Probing ALC888 codec on ASRock K10N7 o kern/129604 multimedia [sound] Sound stops with error: pcm0:virtual:dsp0.vp0: o kern/127131 multimedia [bktr] /usr/src/sys/dev/bktr/bktr_os.c, line 469: wron s kern/125756 multimedia [sound] [patch] cannot detect soft-modem on HDA bus o kern/124319 multimedia [sound] [snd_emu10k1] [regression] Cannot record from o kern/122086 multimedia [sound] maestro sound driver is working, but mixer ini p kern/121156 multimedia [sound] [patch] Turn on inverted external amplifier se o kern/120857 multimedia [sound] [snd_emu10k1] snd_emu10k1 driver issues a warn o kern/120780 multimedia [sound] [snd_hda] snd_hda doesn't work on Dell Latitut o kern/119973 multimedia [sound] [snd_maestro] [regression] snd_maestro only wo o kern/119931 multimedia [sound] No sound card detected on ASUS "K8V-X SE R2.00 o kern/119759 multimedia [sound] [snd_emu10k1] [regression] Can not record anyt o kern/115300 multimedia [sound] [snd_hda] [regression] snd_hda(4) fails to att o kern/114760 multimedia [sound] [snd_cmi] snd_cmi driver causing sporadic syst o kern/111767 multimedia [sound] ATI SB450 High Definition Audio Controller sou o kern/107516 multimedia [sound] [snd_emu10k1] - skips, clicks and lag after a o kern/107051 multimedia [sound] only 2 channels output works for the ALC850 (o o kern/104874 multimedia [sound] [snd_emu10k1] kldload snd_emu10k1 hangs system o kern/101417 multimedia [sound] 4-speakers output not possible on Asus A8V-Del o kern/100859 multimedia [sound] [snd_ich] snd_ich broken on GIGABYTE 915 syste o kern/98752 multimedia [sound] Intel ich6 82801 FB - on Packard Bell A8810 la o kern/98504 multimedia [sound] Sound is distorted with SB Live 5.1 o kern/98496 multimedia [sound] [snd_ich] some functions don't work in my soun o kern/97609 multimedia [sound] Load Sound Module - VIA8233 - fails o kern/97535 multimedia [sound] [snd_mss] doesn't work in 6.0-RELEASE and abov o kern/96538 multimedia [sound] emu10k1-driver inverts channels o kern/95086 multimedia [sound] uaudio line in problem with sbdm lx o kern/94279 multimedia [sound] [snd_neomagic] snd_neomagic crashes on FreeBSD o kern/93986 multimedia [sound] Acer TravelMate 4652LMi pcm0 channel dead o kern/92512 multimedia [sound] distorted mono output with emu10k1 o kern/87782 multimedia [sound] snd_t4dwave and pcm0:record:0: record interrup o kern/82043 multimedia [sound] snd_emu10k1 - mixer does not work. o kern/81146 multimedia [sound] Sound isn't working AT ALL for Sis7012 onboard o kern/80632 multimedia [sound] pcm driver missing support for CMI8738 auxilla o kern/79912 multimedia [sound] sound broken for 2 VIA chipsets: interrupt sto o kern/79905 multimedia [sound] sis7018 sound module problem o kern/79678 multimedia [sound] sound works except recording from any source o conf/75137 multimedia [sound] add snd_* modules support to /etc/rc.d/mixer f kern/72995 multimedia [sound] Intel ICH2 (82801BA) - sound nearly inaudible o kern/63204 multimedia [sound] /dev/mixer broken with ESS Maestro-2E (still o o kern/60677 multimedia [sound] [patch] No reaction of volume controy key on I s kern/60599 multimedia [bktr] [partial patch] No sound for ATI TV Wonder (ste o kern/37600 multimedia [sound] [partial patch] t4dwave drive doesn't record. o kern/23546 multimedia [sound] [snd_csa] [patch] csa DMA-interrupt problem 79 problems total. From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 3 11:20:37 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 304011065670 for ; Mon, 3 Sep 2012 11:20:37 +0000 (UTC) (envelope-from resuscitated_wael@hotmail.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 008B88FC0A for ; Mon, 3 Sep 2012 11:20:36 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1T8Uhn-0004Bh-R6 for freebsd-multimedia@freebsd.org; Mon, 03 Sep 2012 04:20:35 -0700 Date: Mon, 3 Sep 2012 04:20:35 -0700 (PDT) From: SicoSico To: freebsd-multimedia@freebsd.org Message-ID: <1346671235832-5740285.post@n5.nabble.com> In-Reply-To: <20120903044400.GA2271@tinyCurrent> References: <20110523064614.GA95207@onelab2.iet.unipi.it> <20110523152945.GB99789@onelab2.iet.unipi.it> <1345894983143-5737659.post@n5.nabble.com> <20120825130817.GA3354@tinyCurrent> <1346432933778-5739706.post@n5.nabble.com> <20120831194142.GA1409@tiny.Sisis.de> <1346515258781-5739847.post@n5.nabble.com> <20120901174214.GA38645@tinyCurrent> <1346623371986-5740128.post@n5.nabble.com> <20120903044400.GA2271@tinyCurrent> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: baresip (was Re: Ekiga && FreeBSD (for a future without Skype) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2012 11:20:37 -0000 Yes, I did. And libre.so was indeed extracted in /usr/local/lib -- View this message in context: http://freebsd.1045724.n5.nabble.com/Ekiga-FreeBSD-for-a-future-without-Skype-tp4417102p5740285.html Sent from the freebsd-multimedia mailing list archive at Nabble.com. From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 3 11:25:11 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 843CC106566B for ; Mon, 3 Sep 2012 11:25:11 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 3570E8FC12 for ; Mon, 3 Sep 2012 11:25:11 +0000 (UTC) Received: from [82.113.106.197] (helo=tiny.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1T8UmD-0008M4-Bb; Mon, 03 Sep 2012 13:25:09 +0200 Received: from tiny.Sisis.de (localhost [127.0.0.1]) by tiny.Sisis.de (8.14.5/8.14.3) with ESMTP id q83BP7uC001464; Mon, 3 Sep 2012 13:25:07 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de (8.14.5/8.14.3/Submit) id q83BP6V7001463; Mon, 3 Sep 2012 13:25:06 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Mon, 3 Sep 2012 13:25:06 +0200 From: Matthias Apitz To: SicoSico Message-ID: <20120903112505.GA1451@tiny.Sisis.de> References: <20110523152945.GB99789@onelab2.iet.unipi.it> <1345894983143-5737659.post@n5.nabble.com> <20120825130817.GA3354@tinyCurrent> <1346432933778-5739706.post@n5.nabble.com> <20120831194142.GA1409@tiny.Sisis.de> <1346515258781-5739847.post@n5.nabble.com> <20120901174214.GA38645@tinyCurrent> <1346623371986-5740128.post@n5.nabble.com> <20120903044400.GA2271@tinyCurrent> <1346671235832-5740285.post@n5.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1346671235832-5740285.post@n5.nabble.com> X-Operating-System: FreeBSD 10.0-CURRENT r226986 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 82.113.106.197 Cc: freebsd-multimedia@freebsd.org Subject: Re: baresip (was Re: Ekiga && FreeBSD (for a future without Skype) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2012 11:25:11 -0000 El día Monday, September 03, 2012 a las 04:20:35AM -0700, SicoSico escribió: > Yes, I did. And libre.so was indeed extracted in /usr/local/lib what does $ ldd baresip show? matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: guru@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 3 11:44:42 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BC78B106566C for ; Mon, 3 Sep 2012 11:44:42 +0000 (UTC) (envelope-from resuscitated_wael@hotmail.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 89CB08FC1F for ; Mon, 3 Sep 2012 11:44:41 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1T8V57-0005Vk-0x for freebsd-multimedia@freebsd.org; Mon, 03 Sep 2012 04:44:41 -0700 Date: Mon, 3 Sep 2012 04:44:41 -0700 (PDT) From: SicoSico To: freebsd-multimedia@freebsd.org Message-ID: <1346672681003-5740292.post@n5.nabble.com> In-Reply-To: <20120903112505.GA1451@tiny.Sisis.de> References: <1345894983143-5737659.post@n5.nabble.com> <20120825130817.GA3354@tinyCurrent> <1346432933778-5739706.post@n5.nabble.com> <20120831194142.GA1409@tiny.Sisis.de> <1346515258781-5739847.post@n5.nabble.com> <20120901174214.GA38645@tinyCurrent> <1346623371986-5740128.post@n5.nabble.com> <20120903044400.GA2271@tinyCurrent> <1346671235832-5740285.post@n5.nabble.com> <20120903112505.GA1451@tiny.Sisis.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: baresip (was Re: Ekiga && FreeBSD (for a future without Skype) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2012 11:44:42 -0000 #ldd /usr/local/bin/baresip /usr/local/bin/baresip: libre.so => not found (0) libssl.so.7 => /usr/lib32/libssl.so.7 (0x2808a000) libcrypto.so.7 => /usr/lib32/libcrypto.so.7 (0x280e6000) libz.so.6 => /usr/lib32/libz.so.6 (0x28279000) libthr.so.3 => /usr/lib32/libthr.so.3 (0x2828d000) librem.so => not found (0) libm.so.5 => /usr/lib32/libm.so.5 (0x282b0000) libc.so.7 => /usr/lib32/libc.so.7 (0x282cc000) #cd /usr/local/lib #ls -al | grep libre -rwxr-xr-x 1 root wheel 1224389 Dec 30 2011 libre.so -rwxr-xr-x 1 root wheel 81924 Dec 30 2011 librem.so -- View this message in context: http://freebsd.1045724.n5.nabble.com/Ekiga-FreeBSD-for-a-future-without-Skype-tp4417102p5740292.html Sent from the freebsd-multimedia mailing list archive at Nabble.com. From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 3 12:06:20 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C6821065674 for ; Mon, 3 Sep 2012 12:06:20 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id E2EAE8FC14 for ; Mon, 3 Sep 2012 12:06:19 +0000 (UTC) Received: by bkcje9 with SMTP id je9so2542759bkc.13 for ; Mon, 03 Sep 2012 05:06:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=zG9LRXH7KN4nOQoqjcfhAt2EqNE008GdeCWsytIDifE=; b=MsVtNIKBrefPaDVkTruOHm4uD76WFINfUYawbHyXn5898RSy9qOvCbUPUYM5GHPKF7 6EfLA6Y+6Sp68ToPxW2RA2KIH1cBu7zRHFFOc1j09A3weeZ0CqXQL7FbQ4aq1TbTHnft 0xfi1gOuZKJCs1MbhfwwJBlhOasyhFqaaJFUCMJtkegOxJwLmNjal4tc4TXToGQ8R+81 YRGXGE0s/+wCkWNMA8gZrPjEABQe0hKczU9S8h0nopirKW6nZ8mLBt+po/vdSwtOVHZj 60KEWZ7jKmjxLEjFKvLDtLebR2BVBsy4VJ3EZ4A6scBEb0I1TWJwjaJLBZXb3lvqyOJ7 eqLg== MIME-Version: 1.0 Received: by 10.204.10.70 with SMTP id o6mr6589273bko.31.1346673973170; Mon, 03 Sep 2012 05:06:13 -0700 (PDT) Received: by 10.204.10.141 with HTTP; Mon, 3 Sep 2012 05:06:12 -0700 (PDT) Received: by 10.204.10.141 with HTTP; Mon, 3 Sep 2012 05:06:12 -0700 (PDT) In-Reply-To: <1346672681003-5740292.post@n5.nabble.com> References: <1345894983143-5737659.post@n5.nabble.com> <20120825130817.GA3354@tinyCurrent> <1346432933778-5739706.post@n5.nabble.com> <20120831194142.GA1409@tiny.Sisis.de> <1346515258781-5739847.post@n5.nabble.com> <20120901174214.GA38645@tinyCurrent> <1346623371986-5740128.post@n5.nabble.com> <20120903044400.GA2271@tinyCurrent> <1346671235832-5740285.post@n5.nabble.com> <20120903112505.GA1451@tiny.Sisis.de> <1346672681003-5740292.post@n5.nabble.com> Date: Mon, 3 Sep 2012 13:06:12 +0100 Message-ID: From: Chris Rees To: SicoSico Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-multimedia@freebsd.org Subject: Re: baresip (was Re: Ekiga && FreeBSD (for a future without Skype) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2012 12:06:20 -0000 On 3 Sep 2012 12:44, "SicoSico" wrote: > > #ldd /usr/local/bin/baresip > /usr/local/bin/baresip: > libre.so => not found (0) > libssl.so.7 => /usr/lib32/libssl.so.7 (0x2808a000) > libcrypto.so.7 => /usr/lib32/libcrypto.so.7 (0x280e6000) > libz.so.6 => /usr/lib32/libz.so.6 (0x28279000) > libthr.so.3 => /usr/lib32/libthr.so.3 (0x2828d000) > librem.so => not found (0) > libm.so.5 => /usr/lib32/libm.so.5 (0x282b0000) > libc.so.7 => /usr/lib32/libc.so.7 (0x282cc000) > > #cd /usr/local/lib > #ls -al | grep libre > -rwxr-xr-x 1 root wheel 1224389 Dec 30 2011 libre.so > -rwxr-xr-x 1 root wheel 81924 Dec 30 2011 librem.so > > I made a few tweaks when porting; I think that bare sip expects libre and librem in /usr/lib by default. Perhaps Matthias has them in there too, and it linked that way. Perhaps try the port? Chris From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 3 12:25:39 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DE77D106564A for ; Mon, 3 Sep 2012 12:25:38 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 693748FC12 for ; Mon, 3 Sep 2012 12:25:38 +0000 (UTC) Received: from [82.113.106.197] (helo=tiny.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1T8Vig-0005ls-86; Mon, 03 Sep 2012 14:25:36 +0200 Received: from tiny.Sisis.de (localhost [127.0.0.1]) by tiny.Sisis.de (8.14.5/8.14.3) with ESMTP id q83CPW3f001617; Mon, 3 Sep 2012 14:25:32 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de (8.14.5/8.14.3/Submit) id q83CPVSC001616; Mon, 3 Sep 2012 14:25:31 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Mon, 3 Sep 2012 14:25:31 +0200 From: Matthias Apitz To: Chris Rees Message-ID: <20120903122530.GA1509@tiny.Sisis.de> References: <1346432933778-5739706.post@n5.nabble.com> <20120831194142.GA1409@tiny.Sisis.de> <1346515258781-5739847.post@n5.nabble.com> <20120901174214.GA38645@tinyCurrent> <1346623371986-5740128.post@n5.nabble.com> <20120903044400.GA2271@tinyCurrent> <1346671235832-5740285.post@n5.nabble.com> <20120903112505.GA1451@tiny.Sisis.de> <1346672681003-5740292.post@n5.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 10.0-CURRENT r226986 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 82.113.106.197 Cc: freebsd-multimedia@freebsd.org, SicoSico Subject: Re: baresip (was Re: Ekiga && FreeBSD (for a future without Skype) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2012 12:25:39 -0000 El día Monday, September 03, 2012 a las 01:06:12PM +0100, Chris Rees escribió: > On 3 Sep 2012 12:44, "SicoSico" wrote: > > > > #ldd /usr/local/bin/baresip > > /usr/local/bin/baresip: > > libre.so => not found (0) > > libssl.so.7 => /usr/lib32/libssl.so.7 (0x2808a000) > > libcrypto.so.7 => /usr/lib32/libcrypto.so.7 (0x280e6000) > > libz.so.6 => /usr/lib32/libz.so.6 (0x28279000) > > libthr.so.3 => /usr/lib32/libthr.so.3 (0x2828d000) > > librem.so => not found (0) > > libm.so.5 => /usr/lib32/libm.so.5 (0x282b0000) > > libc.so.7 => /usr/lib32/libc.so.7 (0x282cc000) > > > > #cd /usr/local/lib > > #ls -al | grep libre > > -rwxr-xr-x 1 root wheel 1224389 Dec 30 2011 libre.so > > -rwxr-xr-x 1 root wheel 81924 Dec 30 2011 librem.so > > > > > > I made a few tweaks when porting; I think that bare sip expects libre and > librem in /usr/lib by default. Perhaps Matthias has them in there too, and > it linked that way. No. They are in and fetched from /usr/local/lib: $ uname -a FreeBSD tiny.Sisis.de 10.0-CURRENT FreeBSD 10.0-CURRENT #1 r226986: Tue Nov 1 14:27:40 CET 2011 guru@caracas:/usr/obj/usr/src/sys/GENERIC i386 $ ldd /usr/local/bin/baresip /usr/local/bin/baresip: libre.so => /usr/local/lib/libre.so (0x280b0000) libssl.so.7 => /usr/local/lib/libssl.so.7 (0x28108000) libcrypto.so.7 => /usr/local/lib/libcrypto.so.7 (0x28156000) libz.so.6 => /lib/libz.so.6 (0x282b8000) libthr.so.3 => /lib/libthr.so.3 (0x282cc000) librem.so => /usr/local/lib/librem.so (0x282ed000) libm.so.5 => /lib/libm.so.5 (0x282f5000) libc.so.7 => /lib/libc.so.7 (0x28311000) libssl.so.6 => /usr/lib/libssl.so.6 (0x2843c000) libcrypto.so.6 => /lib/libcrypto.so.6 (0x28485000) Note, you (SicoSico) do the ldd(1) as root and maybe you have some settings which prevent fetching shared libs from there; or try copying the libre.so and librem.so to your /usr/lib32/ matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: guru@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 3 12:27:02 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4F2A11065670 for ; Mon, 3 Sep 2012 12:27:02 +0000 (UTC) (envelope-from resuscitated_wael@hotmail.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 1BF328FC08 for ; Mon, 3 Sep 2012 12:27:01 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1T8Vk5-00089j-1H for freebsd-multimedia@freebsd.org; Mon, 03 Sep 2012 05:27:01 -0700 Date: Mon, 3 Sep 2012 05:27:01 -0700 (PDT) From: SicoSico To: freebsd-multimedia@freebsd.org Message-ID: <1346675221022-5740306.post@n5.nabble.com> In-Reply-To: References: <1346432933778-5739706.post@n5.nabble.com> <20120831194142.GA1409@tiny.Sisis.de> <1346515258781-5739847.post@n5.nabble.com> <20120901174214.GA38645@tinyCurrent> <1346623371986-5740128.post@n5.nabble.com> <20120903044400.GA2271@tinyCurrent> <1346671235832-5740285.post@n5.nabble.com> <20120903112505.GA1451@tiny.Sisis.de> <1346672681003-5740292.post@n5.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: baresip (was Re: Ekiga && FreeBSD (for a future without Skype) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2012 12:27:02 -0000 I tried the port and it is great! I am very grateful :) But i hoped for v4l2 support to work, that is why I am still trying Matthias Apitz compiled binaries. #cd /usr/local/lib #cp libre* /usr/lib32 #baresip Shared object "libssl.so.6" not found, required by "libre.so" #ldd /usr/local/bin/baresip /usr/local/bin/baresip: libre.so => /usr/lib32/libre.so (0x2808a000) libssl.so.7 => /usr/lib32/libssl.so.7 (0x280e3000) libcrypto.so.7 => /usr/lib32/libcrypto.so.7 (0x2813f000) libz.so.6 => /usr/lib32/libz.so.6 (0x282d2000) libthr.so.3 => /usr/lib32/libthr.so.3 (0x282e6000) librem.so => /usr/lib32/librem.so (0x28309000) libm.so.5 => /usr/lib32/libm.so.5 (0x28312000) libc.so.7 => /usr/lib32/libc.so.7 (0x2832e000) libssl.so.6 => not found (0) libcrypto.so.6 => not found (0) #uname -m amd64 -- View this message in context: http://freebsd.1045724.n5.nabble.com/Ekiga-FreeBSD-for-a-future-without-Skype-tp4417102p5740306.html Sent from the freebsd-multimedia mailing list archive at Nabble.com. From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 3 12:39:49 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1AB2106566C for ; Mon, 3 Sep 2012 12:39:49 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 302C58FC14 for ; Mon, 3 Sep 2012 12:39:48 +0000 (UTC) Received: by bkcje9 with SMTP id je9so2561142bkc.13 for ; Mon, 03 Sep 2012 05:39:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=UXOndffPoXzQcF6Y2LCjMwvi2SMi2XfhpfH4YC52bPU=; b=leOchYKQoXwlVg7xx+5ExZr2FphKZjQKqeGT4VCKGqX3gKj5NI6qPnzexsiC183tC9 tzLlg9lCdbg+S11Hrnj5VPiWVm3sY2ML+khjuZf5Iu9JFeb3R1MFkL04XKe8JNEl3ieA TfTgZS180trhtE5ZJkt2Oyu9xfuLcqzI1+qC7rsSJM9Dboh//8UJMiv+mA4WYrbHEWDk 37IPbUy+zIyRHWGJLvUAu71TVj4YRI/Ch9hkNpRlLAlC/B2Un/5RivU4Si7GCuHut2bS zjYX1LFe+tB5ZgxmO3apxII3vtM2C8ac5oBu8gL1N5F7WjERLvuVlGk/YNiWubMAJWB8 p1hQ== MIME-Version: 1.0 Received: by 10.204.145.82 with SMTP id c18mr6621560bkv.133.1346675987979; Mon, 03 Sep 2012 05:39:47 -0700 (PDT) Received: by 10.204.10.141 with HTTP; Mon, 3 Sep 2012 05:39:47 -0700 (PDT) Received: by 10.204.10.141 with HTTP; Mon, 3 Sep 2012 05:39:47 -0700 (PDT) In-Reply-To: <1346675221022-5740306.post@n5.nabble.com> References: <1346432933778-5739706.post@n5.nabble.com> <20120831194142.GA1409@tiny.Sisis.de> <1346515258781-5739847.post@n5.nabble.com> <20120901174214.GA38645@tinyCurrent> <1346623371986-5740128.post@n5.nabble.com> <20120903044400.GA2271@tinyCurrent> <1346671235832-5740285.post@n5.nabble.com> <20120903112505.GA1451@tiny.Sisis.de> <1346672681003-5740292.post@n5.nabble.com> <1346675221022-5740306.post@n5.nabble.com> Date: Mon, 3 Sep 2012 13:39:47 +0100 Message-ID: From: Chris Rees To: SicoSico Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-multimedia@freebsd.org Subject: Re: baresip (was Re: Ekiga && FreeBSD (for a future without Skype) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2012 12:39:49 -0000 On 3 Sep 2012 13:27, "SicoSico" wrote: > > I tried the port and it is great! I am very grateful :) > But i hoped for v4l2 support to work, that is why I am still trying Matthias > Apitz compiled binaries. > > #cd /usr/local/lib > #cp libre* /usr/lib32 > #baresip > Shared object "libssl.so.6" not found, required by "libre.so" > > #ldd /usr/local/bin/baresip > /usr/local/bin/baresip: > libre.so => /usr/lib32/libre.so (0x2808a000) > libssl.so.7 => /usr/lib32/libssl.so.7 (0x280e3000) > libcrypto.so.7 => /usr/lib32/libcrypto.so.7 (0x2813f000) > libz.so.6 => /usr/lib32/libz.so.6 (0x282d2000) > libthr.so.3 => /usr/lib32/libthr.so.3 (0x282e6000) > librem.so => /usr/lib32/librem.so (0x28309000) > libm.so.5 => /usr/lib32/libm.so.5 (0x28312000) > libc.so.7 => /usr/lib32/libc.so.7 (0x2832e000) > libssl.so.6 => not found (0) > libcrypto.so.6 => not found (0) > > #uname -m > amd64 > Oh dear... that's the problem. As Matthias has pointed out, the libs must be in /usr/lib32. The other problem is that you're obviously not running CURRENT, so Matthias's libssl version does not match yours. Matthias, did you get v4l2 working, and if so, how? Chris From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 3 12:50:05 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD11A106564A for ; Mon, 3 Sep 2012 12:50:05 +0000 (UTC) (envelope-from resuscitated_wael@hotmail.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id A50CC8FC18 for ; Mon, 3 Sep 2012 12:50:05 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1T8W6P-00019c-3B for freebsd-multimedia@freebsd.org; Mon, 03 Sep 2012 05:50:05 -0700 Date: Mon, 3 Sep 2012 05:50:05 -0700 (PDT) From: SicoSico To: freebsd-multimedia@freebsd.org Message-ID: <1346676605085-5740314.post@n5.nabble.com> In-Reply-To: References: <1346515258781-5739847.post@n5.nabble.com> <20120901174214.GA38645@tinyCurrent> <1346623371986-5740128.post@n5.nabble.com> <20120903044400.GA2271@tinyCurrent> <1346671235832-5740285.post@n5.nabble.com> <20120903112505.GA1451@tiny.Sisis.de> <1346672681003-5740292.post@n5.nabble.com> <1346675221022-5740306.post@n5.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: baresip (was Re: Ekiga && FreeBSD (for a future without Skype) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2012 12:50:06 -0000 Oh I am running current: #uname -a FreeBSD Machine.home.bsd 10.0-CURRENT FreeBSD 10.0-CURRENT #2: Fri Aug 24 20:20:13 EET 2012 SicoSico@Machine.home.bsd:/usr/obj/usr/src/sys/SicoSico amd64 Why is it trying to find /usr/lib32/libssl.so.6 when it has already found /usr/lib32/libssl.so.7? Also libcrypto.so.6 and libcrypto.so.7? -- View this message in context: http://freebsd.1045724.n5.nabble.com/Ekiga-FreeBSD-for-a-future-without-Skype-tp4417102p5740314.html Sent from the freebsd-multimedia mailing list archive at Nabble.com. From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 3 12:51:31 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D27E106566B for ; Mon, 3 Sep 2012 12:51:31 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 2872D8FC0A for ; Mon, 3 Sep 2012 12:51:30 +0000 (UTC) Received: from [82.113.106.197] (helo=tiny.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1T8W7j-0002Av-8k; Mon, 03 Sep 2012 14:51:28 +0200 Received: from tiny.Sisis.de (localhost [127.0.0.1]) by tiny.Sisis.de (8.14.5/8.14.3) with ESMTP id q83CpPTp001683; Mon, 3 Sep 2012 14:51:25 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de (8.14.5/8.14.3/Submit) id q83CpO9B001682; Mon, 3 Sep 2012 14:51:24 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Mon, 3 Sep 2012 14:51:24 +0200 From: Matthias Apitz To: Chris Rees Message-ID: <20120903125123.GA1651@tiny.Sisis.de> References: <1346515258781-5739847.post@n5.nabble.com> <20120901174214.GA38645@tinyCurrent> <1346623371986-5740128.post@n5.nabble.com> <20120903044400.GA2271@tinyCurrent> <1346671235832-5740285.post@n5.nabble.com> <20120903112505.GA1451@tiny.Sisis.de> <1346672681003-5740292.post@n5.nabble.com> <1346675221022-5740306.post@n5.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 10.0-CURRENT r226986 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 82.113.106.197 Cc: freebsd-multimedia@freebsd.org, SicoSico Subject: Re: baresip (was Re: Ekiga && FreeBSD (for a future without Skype) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2012 12:51:31 -0000 El día Monday, September 03, 2012 a las 01:39:47PM +0100, Chris Rees escribió: > Oh dear... that's the problem. As Matthias has pointed out, the libs must > be in /usr/lib32. > > The other problem is that you're obviously not running CURRENT, so > Matthias's libssl version does not match yours. yes; > > Matthias, did you get v4l2 working, and if so, how? I have the following lines in the config: $ egrep 'video|v4' .baresip/config video_dev /dev/video0 video_size 352x288 video_bitrate 384000 video_fps 25 #video_selfview window # {window,pip} module v4l2.so #module v4l.so and when I press 'v' it starts the video loop as: Enable video-loop on /dev/video0: 352 x 288 v4l2: open video source: 352 x 288 /dev/video0: found valid V4L2 device (352 x 288) pixfmt=YU12 Current input: Camera 1 and I can seeme fine; as I said, I compiled v0.4.0 directly from the sources, just the normal way: $ ./configure $ make # make install I do not remember (and can't check it now) if I set some special flags in ./configure, will check later at home; matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: guru@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 3 17:55:30 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A9B6106566B; Mon, 3 Sep 2012 17:55:30 +0000 (UTC) (envelope-from thomas.e.zander@googlemail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 63EB98FC14; Mon, 3 Sep 2012 17:55:30 +0000 (UTC) Received: by dadr6 with SMTP id r6so3648192dad.13 for ; Mon, 03 Sep 2012 10:55:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ptzatSX8eKuBlIgp77tkgVWSu5VMaVn2mI0xHB5+Q7o=; b=U+pcji51Hm648m5U6iPY6hnMQQbiFWrMo6QU8akywIxBVoSeBLhsckqKmyQGYuFc34 zNV+/hJ+U+NCG1aPucDfFOuiy0gaaUwwYD6vzOSuqf9g8l46iimR1G1R5+BsS0cyHQWe fw0dNvjVLwUeg6VKWl9bLSRLfsQBrR4WS+XBW3uKGiixrtcohqEqQjucVbgR3DNnuriM qZATOLC5HrEQVjvtUIEWyVGTHmT4INZBOuV/twLvdeAsaycbu7hy2J3cTdIiTT2R5eGJ c++EEiAqDu87CO9jN94MRo/9b6moLc0ucGkV6i1KHoeulvIpK6BnesPp2YKNgPN29vR2 3PzA== MIME-Version: 1.0 Received: by 10.68.218.72 with SMTP id pe8mr40340654pbc.33.1346694924502; Mon, 03 Sep 2012 10:55:24 -0700 (PDT) Received: by 10.68.223.69 with HTTP; Mon, 3 Sep 2012 10:55:24 -0700 (PDT) In-Reply-To: <22239640.5438151346584906844.JavaMail.root@wmail3.libero.it> References: <22239640.5438151346584906844.JavaMail.root@wmail3.libero.it> Date: Mon, 3 Sep 2012 19:55:24 +0200 Message-ID: From: Thomas Zander To: Barbara , h.skuhra@gmail.com, Juergen Lock , hm@hm.net.br Content-Type: multipart/mixed; boundary=e89a8ff256989886c904c8cfd8ec Cc: ports@freebsd.org, freebsd-multimedia@freebsd.org Subject: Re: error building mplayer X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2012 17:55:30 -0000 --e89a8ff256989886c904c8cfd8ec Content-Type: text/plain; charset=ISO-8859-1 Hi, > [mplayer build failed] Can you try the attached patch? Riggs --e89a8ff256989886c904c8cfd8ec Content-Type: application/octet-stream; name="mplayer_clang.patch" Content-Disposition: attachment; filename="mplayer_clang.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_h6nv9w010 ZGlmZiAtciAwYWFlYTA5NGM5NjMgbXBsYXllci9NYWtlZmlsZS5vcHRpb25zCi0tLSBhL21wbGF5 ZXIvTWFrZWZpbGUub3B0aW9ucwlNb24gU2VwIDAzIDE4OjU3OjIzIDIwMTIgKzAyMDAKKysrIGIv bXBsYXllci9NYWtlZmlsZS5vcHRpb25zCU1vbiBTZXAgMDMgMTk6NDg6MzMgMjAxMiArMDIwMApA QCAtNTEsMTcgKzUxLDI1IEBACiAuZW5kaWYKIC5lbmRpZiAjV0lUSF9ERUJVRwogCisjU3VwcG9y dGVkIGFyY2hpdGVjdHVyZXMgZm9yIGNsYW5nCisuaWYgJHtBUkNIfSA9PSAiYW1kNjQiCitNUExB WUVSX0NMQU5HX1NVUFBPUlRFRF9BUkNIPQl5ZXMKKy5lbmRpZgorCiAuaWYgIWRlZmluZWQoV0lU SE9VVF9SVENQVSkKIENPTkZJR1VSRV9BUkdTKz0tLWVuYWJsZS1ydW50aW1lLWNwdWRldGVjdGlv bgogLmVuZGlmCiAKLS5pZiAke09TVkVSU0lPTn0gPj0gOTAwMDMzCisuaWYgJHtPU1ZFUlNJT059 ID49IDkwMDAzMyBcCisJJiYgZXhpc3RzKC91c3IvYmluL2NsYW5nKSBcCisJJiYgZGVmaW5lZChN UExBWUVSX0NMQU5HX1NVUFBPUlRFRF9BUkNIKQogV0lUSF9CQVNFX0NMQU5HPXllcwogLmVuZGlm CiAKIC5pZiBkZWZpbmVkKFdJVEhfQkFTRV9DTEFORykKIENDPQkJY2xhbmcKIENYWD0JCWNsYW5n KysKK0NQUD0JCWNsYW5nLWNwcAogLmVsc2UKIC5pZiBkZWZpbmVkKFdJVEhfT1RDSEFJTikKIFVT RV9HQ0M/PQk0LjYrCg== --e89a8ff256989886c904c8cfd8ec-- From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 3 18:04:24 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CEB29106566C; Mon, 3 Sep 2012 18:04:24 +0000 (UTC) (envelope-from thomas.e.zander@googlemail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9E14C8FC15; Mon, 3 Sep 2012 18:04:24 +0000 (UTC) Received: by pbbrp2 with SMTP id rp2so8297726pbb.13 for ; Mon, 03 Sep 2012 11:04:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=pr35bVMTZFIM7Ynrxkt0qmJbdO2SUcyAKj2vu/DStFQ=; b=yOeGV6bGe/VRjucIHDEDfKcD+/FFRTVyXKaJEBM2wjM2cKhi4wRwTyLEEUa2JrWdol AxIG1bButCf4dOwcaILLuL1DKkwYXvxJfh4cq24oKYOfm69pVtD5XA2JS24+MTv6CRZ1 5lhUz5Kl5SOspAvML5kywR2OryWTpuwHGT9QJAFcEV0OcYP+5Xy/sYeu1xVRAcIDXaUL MFA8z6EH04AfVHjugGFwL8jQh/3jBys3JJqdPpGZcOsPbE5W3r5t7n35O4pmjPyDAb+n M9cC41CYYJrCyCvLBtgGK7bqaq21ygqc7LNtj9F6jYwHeVznBafhcGdpFpqJA/ywKU6N hZ2w== MIME-Version: 1.0 Received: by 10.68.227.165 with SMTP id sb5mr39524281pbc.82.1346695464379; Mon, 03 Sep 2012 11:04:24 -0700 (PDT) Received: by 10.68.223.69 with HTTP; Mon, 3 Sep 2012 11:04:24 -0700 (PDT) In-Reply-To: <22239640.5438151346584906844.JavaMail.root@wmail3.libero.it> References: <22239640.5438151346584906844.JavaMail.root@wmail3.libero.it> Date: Mon, 3 Sep 2012 20:04:24 +0200 Message-ID: From: Thomas Zander To: Barbara Content-Type: text/plain; charset=ISO-8859-1 Cc: ports@freebsd.org, freebsd-multimedia@freebsd.org Subject: Re: error building mplayer X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2012 18:04:24 -0000 On Sun, Sep 2, 2012 at 1:21 PM, Barbara wrote: > I also noticed that there are also four options passed to configure which > seems obsoleted (lines 57-60 from pastebin) You are correct about --win32codecsdir. That one has moved to --codecsdir, I'll change that. The other three are coming from the ports infrastructure and mplayer just does not use them. > I'm also wondering if gcc is still required when builded WITH_OTCHAIN but > clang is used as on kern.osreldate: 901500 What exactly do you mean? If WITH_BASE_CLANG is defined, all the extra gcc tricks are ignored as they are in the else branch. Best Riggs From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 3 18:12:05 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 65DD1106566C; Mon, 3 Sep 2012 18:12:05 +0000 (UTC) (envelope-from thomas.e.zander@googlemail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2E05C8FC19; Mon, 3 Sep 2012 18:12:04 +0000 (UTC) Received: by pbbrp2 with SMTP id rp2so8303838pbb.13 for ; Mon, 03 Sep 2012 11:12:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=AT3u5+or+9UK8/GdLbigLQ+Wdjdus92Ije9ctZiGj7U=; b=T4YpZ3ToW8iYAA8Ex8na4KqKPZIN2sovjFhDVyg2zL4rHamsFO2xf5ASvoa5VSnWak t+EjKfaVMNt2XgyB0IjzfOVBhwhg4zByRUujWLy2yOcJ9agAX47PvTVShLIFJg87pr7S Zj0DoKPiyD0LQZf+yM98/gks6zJL10rqGMPHDA0kZWY7Gxq0+5Rf/uk/BbYhTokAxTSL 3UbAd0RJOrVW3/Vw5qh0aaJQQsxCLhQZl0Qvs3yqqQKFs+pKSaQef5NJtsuOHDljc4ai xSwkFdvQNXLPLafaYiHAaI9kxZ2Er4FEwpawNxulbRolW2NZ0TDhsumChp+cQbYA441S Whlg== MIME-Version: 1.0 Received: by 10.66.82.103 with SMTP id h7mr35629323pay.61.1346695924677; Mon, 03 Sep 2012 11:12:04 -0700 (PDT) Received: by 10.68.223.69 with HTTP; Mon, 3 Sep 2012 11:12:04 -0700 (PDT) In-Reply-To: References: <22239640.5438151346584906844.JavaMail.root@wmail3.libero.it> Date: Mon, 3 Sep 2012 20:12:04 +0200 Message-ID: From: Thomas Zander To: Barbara , h.skuhra@gmail.com, Juergen Lock , hm@hm.net.br Content-Type: multipart/mixed; boundary=f46d042de93535fccc04c8d01481 Cc: ports@freebsd.org, freebsd-multimedia@freebsd.org Subject: Re: error building mplayer X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2012 18:12:05 -0000 --f46d042de93535fccc04c8d01481 Content-Type: text/plain; charset=ISO-8859-1 On Mon, Sep 3, 2012 at 7:55 PM, Thomas Zander wrote: > Hi, > >> [mplayer build failed] > > Can you try the attached patch? Updated patch (see attachment) with the codecsdir parameter for w32 codecs on i386. Riggs --f46d042de93535fccc04c8d01481 Content-Type: application/octet-stream; name="mplayer_clang.patch" Content-Disposition: attachment; filename="mplayer_clang.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_h6nvyebk1 ZGlmZiAtciAwYWFlYTA5NGM5NjMgbXBsYXllci9NYWtlZmlsZS5vcHRpb25zCi0tLSBhL21wbGF5 ZXIvTWFrZWZpbGUub3B0aW9ucwlNb24gU2VwIDAzIDE4OjU3OjIzIDIwMTIgKzAyMDAKKysrIGIv bXBsYXllci9NYWtlZmlsZS5vcHRpb25zCU1vbiBTZXAgMDMgMjA6MDg6MTYgMjAxMiArMDIwMApA QCAtNTEsMTcgKzUxLDI1IEBACiAuZW5kaWYKIC5lbmRpZiAjV0lUSF9ERUJVRwogCisjU3VwcG9y dGVkIGFyY2hpdGVjdHVyZXMgZm9yIGNsYW5nCisuaWYgJHtBUkNIfSA9PSAiYW1kNjQiCitNUExB WUVSX0NMQU5HX1NVUFBPUlRFRF9BUkNIPQl5ZXMKKy5lbmRpZgorCiAuaWYgIWRlZmluZWQoV0lU SE9VVF9SVENQVSkKIENPTkZJR1VSRV9BUkdTKz0tLWVuYWJsZS1ydW50aW1lLWNwdWRldGVjdGlv bgogLmVuZGlmCiAKLS5pZiAke09TVkVSU0lPTn0gPj0gOTAwMDMzCisuaWYgJHtPU1ZFUlNJT059 ID49IDkwMDAzMyBcCisJJiYgZXhpc3RzKC91c3IvYmluL2NsYW5nKSBcCisJJiYgZGVmaW5lZChN UExBWUVSX0NMQU5HX1NVUFBPUlRFRF9BUkNIKQogV0lUSF9CQVNFX0NMQU5HPXllcwogLmVuZGlm CiAKIC5pZiBkZWZpbmVkKFdJVEhfQkFTRV9DTEFORykKIENDPQkJY2xhbmcKIENYWD0JCWNsYW5n KysKK0NQUD0JCWNsYW5nLWNwcAogLmVsc2UKIC5pZiBkZWZpbmVkKFdJVEhfT1RDSEFJTikKIFVT RV9HQ0M/PQk0LjYrCkBAIC0yMzIsNyArMjQwLDcgQEAKIC5pZiAke0FSQ0h9ID09ICJpMzg2IiB8 fCAke0FSQ0h9ID09ICJhbWQ2NCIKIC5pZiAhZGVmaW5lZChXSVRIT1VUX1dJTjMyKSAmJiAhZGVm aW5lZChQQUNLQUdFX0JVSUxESU5HKSAmJiAke0FSQ0h9ID09ICJpMzg2IgogUlVOX0RFUEVORFMr PQkke0NPREVDX0RFVEVDVElPTl9GSUxFfToke0NPREVDX1BPUlR9Ci1DT05GSUdVUkVfQVJHUys9 CS0td2luMzJjb2RlY3NkaXI9JHtMT0NBTEJBU0V9L2xpYi93aW4zMgorQ09ORklHVVJFX0FSR1Mr PQktLWNvZGVjc2Rpcj0ke0xPQ0FMQkFTRX0vbGliL3dpbjMyCiBDT0RFQ19QT1JUPQkke1BPUlRT RElSfS9tdWx0aW1lZGlhL3dpbjMyLWNvZGVjcwogQ09ERUNfREVURUNUSU9OX0ZJTEUhPQkke01B S0V9IC1mICR7Q09ERUNfUE9SVH0vTWFrZWZpbGUgLVYgQ09ERUNfREVURUNUSU9OX0ZJTEUKIC5l bHNlCg== --f46d042de93535fccc04c8d01481-- From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 3 18:23:09 2012 Return-Path: Delivered-To: multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D215A106564A for ; Mon, 3 Sep 2012 18:23:09 +0000 (UTC) (envelope-from beat.gaetzi@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9853D8FC08 for ; Mon, 3 Sep 2012 18:23:09 +0000 (UTC) Received: by dadr6 with SMTP id r6so3659887dad.13 for ; Mon, 03 Sep 2012 11:23:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=9TO0bD4RlBJw2d8DANAxEM9AqS2zqTlg3peBCXftOUU=; b=TDEo0eygQgzg+HWes1GrUflzJ7VC9tSmslo2HZfoH3RYSz0BracOlbECYnxSPkL3/i ctDO7pugZi3ySArvHRE7H8/yrirVZGBlJYXqcn3CJigRCn1dgVmnlz+9+sdCEzWT+LsB Ot3mv8/NlbcmnqUbUPl6dNNP5jQBtjIHxZ0wm2mGeEdCd5Fq5qMOBjUTfOUedNgKyIxC pTwPgcZQH4Oub2et9ZQGi3LLXlpV51baS+tleDqKAi3ZbFDg5+ef8RTnhZvo+SfvSgpU x4sZw4Gzvw0Lkhsd/L/Srlb3LhwTQbRjV2dt0eLWRrpoIkVVqH53mPvmRjT7MxG7F6nO Jg2Q== MIME-Version: 1.0 Received: by 10.66.73.9 with SMTP id h9mr496194pav.76.1346696589331; Mon, 03 Sep 2012 11:23:09 -0700 (PDT) Sender: beat.gaetzi@gmail.com Received: by 10.68.134.201 with HTTP; Mon, 3 Sep 2012 11:23:09 -0700 (PDT) In-Reply-To: <201209030145.q831jJTp013876@pointyhat.freebsd.org> References: <201209030145.q831jJTp013876@pointyhat.freebsd.org> Date: Mon, 3 Sep 2012 20:23:09 +0200 X-Google-Sender-Auth: Rzpin4RYn0CrcbUrqdskdvSVO1E Message-ID: From: Beat Gaetzi To: multimedia@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Fwd: jackit-0.121.3_2 failed on amd64 8 X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2012 18:23:09 -0000 ---------- Forwarded message ---------- Excerpt from the build log at http://pointyhat.FreeBSD.org/errorlogs/amd64-errorlogs/a.8.20120902213024/jackit-0.121.3_2.log building jackit-0.121.3_2 on gohan61.freebsd.org in directory /y/pkgbuild/8/20120902213024/chroot/5 building for: 8.3-RELEASE-p4 amd64 maintained by: multimedia@FreeBSD.org port directory: /usr/ports/audio/jack Makefile ident: $FreeBSD: ports/audio/jack/Makefile,v 1.66 2012/05/30 11:27:09 bapt Exp $ [... lines trimmed ...] libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjack_la-client.lo -MD -MP -MF .deps/libjack_la-client.Tpo -c client.c -fPIC -DPIC -o .libs/libjack_la-client.o mv -f .deps/libjack_la-client.Tpo .deps/libjack_la-client.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjack_la-intclient.lo -MD -MP -MF .deps/libjack_la-intclient.Tpo -c -o libjack_la-intclient.lo `test -f 'intclient.c' || echo './'`intclient.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjack_la-intclient.lo -MD -MP -MF .deps/libjack_la-intclient.Tpo -c intclient.c -fPIC -DPIC -o .libs/libjack_la-intclient.o mv -f .deps/libjack_la-intclient.Tpo .deps/libjack_la-intclient.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjack_la-messagebuffer.lo -MD -MP -MF .deps/libjack_la-messagebuffer.Tpo -c -o libjack_la-messagebuffer.lo `test -f 'messagebuffer.c' || echo './'`messagebuffer.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjack_la-messagebuffer.lo -MD -MP -MF .deps/libjack_la-messagebuffer.Tpo -c messagebuffer.c -fPIC -DPIC -o .libs/libjack_la-messagebuffer.o mv -f .deps/libjack_la-messagebuffer.Tpo .deps/libjack_la-messagebuffer.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjack_la-pool.lo -MD -MP -MF .deps/libjack_la-pool.Tpo -c -o libjack_la-pool.lo `test -f 'pool.c' || echo './'`pool.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjack_la-pool.lo -MD -MP -MF .deps/libjack_la-pool.Tpo -c pool.c -fPIC -DPIC -o .libs/libjack_la-pool.o mv -f .deps/libjack_la-pool.Tpo .deps/libjack_la-pool.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjack_la-port.lo -MD -MP -MF .deps/libjack_la-port.Tpo -c -o libjack_la-port.lo `test -f 'port.c' || echo './'`port.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjack_la-port.lo -MD -MP -MF .deps/libjack_la-port.Tpo -c port.c -fPIC -DPIC -o .libs/libjack_la-port.o mv -f .deps/libjack_la-port.Tpo .deps/libjack_la-port.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjack_la-midiport.lo -MD -MP -MF .deps/libjack_la-midiport.Tpo -c -o libjack_la-midiport.lo `test -f 'midiport.c' || echo './'`midiport.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjack_la-midiport.lo -MD -MP -MF .deps/libjack_la-midiport.Tpo -c midiport.c -fPIC -DPIC -o .libs/libjack_la-midiport.o mv -f .deps/libjack_la-midiport.Tpo .deps/libjack_la-midiport.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjack_la-ringbuffer.lo -MD -MP -MF .deps/libjack_la-ringbuffer.Tpo -c -o libjack_la-ringbuffer.lo `test -f 'ringbuffer.c' || echo './'`ringbuffer.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjack_la-ringbuffer.lo -MD -MP -MF .deps/libjack_la-ringbuffer.Tpo -c ringbuffer.c -fPIC -DPIC -o .libs/libjack_la-ringbuffer.o mv -f .deps/libjack_la-ringbuffer.Tpo .deps/libjack_la-ringbuffer.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjack_la-shm.lo -MD -MP -MF .deps/libjack_la-shm.Tpo -c -o libjack_la-shm.lo `test -f 'shm.c' || echo './'`shm.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjack_la-shm.lo -MD -MP -MF .deps/libjack_la-shm.Tpo -c shm.c -fPIC -DPIC -o .libs/libjack_la-shm.o mv -f .deps/libjack_la-shm.Tpo .deps/libjack_la-shm.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjack_la-thread.lo -MD -MP -MF .deps/libjack_la-thread.Tpo -c -o libjack_la-thread.lo `test -f 'thread.c' || echo './'`thread.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjack_la-thread.lo -MD -MP -MF .deps/libjack_la-thread.Tpo -c thread.c -fPIC -DPIC -o .libs/libjack_la-thread.o mv -f .deps/libjack_la-thread.Tpo .deps/libjack_la-thread.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjack_la-time.lo -MD -MP -MF .deps/libjack_la-time.Tpo -c -o libjack_la-time.lo `test -f 'time.c' || echo './'`time.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjack_la-time.lo -MD -MP -MF .deps/libjack_la-time.Tpo -c time.c -fPIC -DPIC -o .libs/libjack_la-time.o mv -f .deps/libjack_la-time.Tpo .deps/libjack_la-time.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjack_la-timestamps.lo -MD -MP -MF .deps/libjack_la-timestamps.Tpo -c -o libjack_la-timestamps.lo `test -f 'timestamps.c' || echo './'`timestamps.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjack_la-timestamps.lo -MD -MP -MF .deps/libjack_la-timestamps.Tpo -c timestamps.c -fPIC -DPIC -o .libs/libjack_la-timestamps.o mv -f .deps/libjack_la-timestamps.Tpo .deps/libjack_la-timestamps.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjack_la-transclient.lo -MD -MP -MF .deps/libjack_la-transclient.Tpo -c -o libjack_la-transclient.lo `test -f 'transclient.c' || echo './'`transclient.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjack_la-transclient.lo -MD -MP -MF .deps/libjack_la-transclient.Tpo -c transclient.c -fPIC -DPIC -o .libs/libjack_la-transclient.o mv -f .deps/libjack_la-transclient.Tpo .deps/libjack_la-transclient.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjack_la-unlock.lo -MD -MP -MF .deps/libjack_la-unlock.Tpo -c -o libjack_la-unlock.lo `test -f 'unlock.c' || echo './'`unlock.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjack_la-unlock.lo -MD -MP -MF .deps/libjack_la-unlock.Tpo -c unlock.c -fPIC -DPIC -o .libs/libjack_la-unlock.o mv -f .deps/libjack_la-unlock.Tpo .deps/libjack_la-unlock.Plo /bin/sh ../libtool --mode=compile cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -c -o simd.lo ./simd.c libtool: compile: cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -c ./simd.c -fPIC -DPIC -o .libs/simd.o /bin/sh ../libtool --tag=CC --mode=link cc -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -export-dynamic -version-info 0:28:0 -L/usr/local/lib -o libjack.la -rpath /usr/local/lib libjack_la-client.lo libjack_la-intclient.lo libjack_la-messagebuffer.lo libjack_la-pool.lo libjack_la-port.lo libjack_la-midiport.lo libjack_la-ringbuffer.lo libjack_la-shm.lo libjack_la-thread.lo libjack_la-time.lo libjack_la-timestamps.lo libjack_la-transclient.lo libjack_la-unlock.lo simd.lo -lm -pthread libtool: link: cc -shared .libs/libjack_la-client.o .libs/libjack_la-intclient.o .libs/libjack_la-messagebuffer.o .libs/libjack_la-pool.o .libs/libjack_la-port.o .libs/libjack_la-midiport.o .libs/libjack_la-ringbuffer.o .libs/libjack_la-shm.o .libs/libjack_la-thread.o .libs/libjack_la-time.o .libs/libjack_la-timestamps.o .libs/libjack_la-transclient.o .libs/libjack_la-unlock.o .libs/simd.o -L/usr/local/lib -lm -pthread -pthread -Wl,-soname -Wl,libjack.so.0 -o .libs/libjack.so.0 libtool: link: (cd ".libs" && rm -f "libjack.so" && ln -s "libjack.so.0" "libjack.so") libtool: link: (cd ".libs" && rm -f "libjack.so" && ln -s "libjack.so.0" "libjack.so") libtool: link: ( cd ".libs" && rm -f "libjack.la" && ln -s "../libjack.la" "libjack.la" ) gmake[2]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/libjack' Making all in jackd gmake[2]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/jackd' cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT jackd.o -MD -MP -MF .deps/jackd.Tpo -c -o jackd.o jackd.c mv -f .deps/jackd.Tpo .deps/jackd.Po /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjackserver_la-engine.lo -MD -MP -MF .deps/libjackserver_la-engine.Tpo -c -o libjackserver_la-engine.lo `test -f 'engine.c' || echo './'`engine.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjackserver_la-engine.lo -MD -MP -MF .deps/libjackserver_la-engine.Tpo -c engine.c -fPIC -DPIC -o .libs/libjackserver_la-engine.o engine.c: In function 'jack_driver_buffer_size': engine.c:518: warning: unused variable 'node' mv -f .deps/libjackserver_la-engine.Tpo .deps/libjackserver_la-engine.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjackserver_la-clientengine.lo -MD -MP -MF .deps/libjackserver_la-clientengine.Tpo -c -o libjackserver_la-clientengine.lo `test -f 'clientengine.c' || echo './'`clientengine.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjackserver_la-clientengine.lo -MD -MP -MF .deps/libjackserver_la-clientengine.Tpo -c clientengine.c -fPIC -DPIC -o .libs/libjackserver_la-clientengine.o mv -f .deps/libjackserver_la-clientengine.Tpo .deps/libjackserver_la-clientengine.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjackserver_la-transengine.lo -MD -MP -MF .deps/libjackserver_la-transengine.Tpo -c -o libjackserver_la-transengine.lo `test -f 'transengine.c' || echo './'`transengine.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjackserver_la-transengine.lo -MD -MP -MF .deps/libjackserver_la-transengine.Tpo -c transengine.c -fPIC -DPIC -o .libs/libjackserver_la-transengine.o mv -f .deps/libjackserver_la-transengine.Tpo .deps/libjackserver_la-transengine.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjackserver_la-controlapi.lo -MD -MP -MF .deps/libjackserver_la-controlapi.Tpo -c -o libjackserver_la-controlapi.lo `test -f 'controlapi.c' || echo './'`controlapi.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjackserver_la-controlapi.lo -MD -MP -MF .deps/libjackserver_la-controlapi.Tpo -c controlapi.c -fPIC -DPIC -o .libs/libjackserver_la-controlapi.o mv -f .deps/libjackserver_la-controlapi.Tpo .deps/libjackserver_la-controlapi.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjackserver_la-systemtest.lo -MD -MP -MF .deps/libjackserver_la-systemtest.Tpo -c -o libjackserver_la-systemtest.lo `test -f '../libjack/systemtest.c' || echo './'`../libjack/systemtest.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjackserver_la-systemtest.lo -MD -MP -MF .deps/libjackserver_la-systemtest.Tpo -c ../libjack/systemtest.c -fPIC -DPIC -o .libs/libjackserver_la-systemtest.o mv -f .deps/libjackserver_la-systemtest.Tpo .deps/libjackserver_la-systemtest.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjackserver_la-sanitycheck.lo -MD -MP -MF .deps/libjackserver_la-sanitycheck.Tpo -c -o libjackserver_la-sanitycheck.lo `test -f '../libjack/sanitycheck.c' || echo './'`../libjack/sanitycheck.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjackserver_la-sanitycheck.lo -MD -MP -MF .deps/libjackserver_la-sanitycheck.Tpo -c ../libjack/sanitycheck.c -fPIC -DPIC -o .libs/libjackserver_la-sanitycheck.o mv -f .deps/libjackserver_la-sanitycheck.Tpo .deps/libjackserver_la-sanitycheck.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjackserver_la-client.lo -MD -MP -MF .deps/libjackserver_la-client.Tpo -c -o libjackserver_la-client.lo `test -f '../libjack/client.c' || echo './'`../libjack/client.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjackserver_la-client.lo -MD -MP -MF .deps/libjackserver_la-client.Tpo -c ../libjack/client.c -fPIC -DPIC -o .libs/libjackserver_la-client.o mv -f .deps/libjackserver_la-client.Tpo .deps/libjackserver_la-client.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjackserver_la-driver.lo -MD -MP -MF .deps/libjackserver_la-driver.Tpo -c -o libjackserver_la-driver.lo `test -f '../libjack/driver.c' || echo './'`../libjack/driver.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjackserver_la-driver.lo -MD -MP -MF .deps/libjackserver_la-driver.Tpo -c ../libjack/driver.c -fPIC -DPIC -o .libs/libjackserver_la-driver.o mv -f .deps/libjackserver_la-driver.Tpo .deps/libjackserver_la-driver.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjackserver_la-intclient.lo -MD -MP -MF .deps/libjackserver_la-intclient.Tpo -c -o libjackserver_la-intclient.lo `test -f '../libjack/intclient.c' || echo './'`../libjack/intclient.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjackserver_la-intclient.lo -MD -MP -MF .deps/libjackserver_la-intclient.Tpo -c ../libjack/intclient.c -fPIC -DPIC -o .libs/libjackserver_la-intclient.o mv -f .deps/libjackserver_la-intclient.Tpo .deps/libjackserver_la-intclient.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjackserver_la-messagebuffer.lo -MD -MP -MF .deps/libjackserver_la-messagebuffer.Tpo -c -o libjackserver_la-messagebuffer.lo `test -f '../libjack/messagebuffer.c' || echo './'`../libjack/messagebuffer.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjackserver_la-messagebuffer.lo -MD -MP -MF .deps/libjackserver_la-messagebuffer.Tpo -c ../libjack/messagebuffer.c -fPIC -DPIC -o .libs/libjackserver_la-messagebuffer.o mv -f .deps/libjackserver_la-messagebuffer.Tpo .deps/libjackserver_la-messagebuffer.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjackserver_la-pool.lo -MD -MP -MF .deps/libjackserver_la-pool.Tpo -c -o libjackserver_la-pool.lo `test -f '../libjack/pool.c' || echo './'`../libjack/pool.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjackserver_la-pool.lo -MD -MP -MF .deps/libjackserver_la-pool.Tpo -c ../libjack/pool.c -fPIC -DPIC -o .libs/libjackserver_la-pool.o mv -f .deps/libjackserver_la-pool.Tpo .deps/libjackserver_la-pool.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjackserver_la-port.lo -MD -MP -MF .deps/libjackserver_la-port.Tpo -c -o libjackserver_la-port.lo `test -f '../libjack/port.c' || echo './'`../libjack/port.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjackserver_la-port.lo -MD -MP -MF .deps/libjackserver_la-port.Tpo -c ../libjack/port.c -fPIC -DPIC -o .libs/libjackserver_la-port.o mv -f .deps/libjackserver_la-port.Tpo .deps/libjackserver_la-port.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjackserver_la-midiport.lo -MD -MP -MF .deps/libjackserver_la-midiport.Tpo -c -o libjackserver_la-midiport.lo `test -f '../libjack/midiport.c' || echo './'`../libjack/midiport.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjackserver_la-midiport.lo -MD -MP -MF .deps/libjackserver_la-midiport.Tpo -c ../libjack/midiport.c -fPIC -DPIC -o .libs/libjackserver_la-midiport.o mv -f .deps/libjackserver_la-midiport.Tpo .deps/libjackserver_la-midiport.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjackserver_la-ringbuffer.lo -MD -MP -MF .deps/libjackserver_la-ringbuffer.Tpo -c -o libjackserver_la-ringbuffer.lo `test -f '../libjack/ringbuffer.c' || echo './'`../libjack/ringbuffer.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjackserver_la-ringbuffer.lo -MD -MP -MF .deps/libjackserver_la-ringbuffer.Tpo -c ../libjack/ringbuffer.c -fPIC -DPIC -o .libs/libjackserver_la-ringbuffer.o mv -f .deps/libjackserver_la-ringbuffer.Tpo .deps/libjackserver_la-ringbuffer.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjackserver_la-shm.lo -MD -MP -MF .deps/libjackserver_la-shm.Tpo -c -o libjackserver_la-shm.lo `test -f '../libjack/shm.c' || echo './'`../libjack/shm.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjackserver_la-shm.lo -MD -MP -MF .deps/libjackserver_la-shm.Tpo -c ../libjack/shm.c -fPIC -DPIC -o .libs/libjackserver_la-shm.o mv -f .deps/libjackserver_la-shm.Tpo .deps/libjackserver_la-shm.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjackserver_la-thread.lo -MD -MP -MF .deps/libjackserver_la-thread.Tpo -c -o libjackserver_la-thread.lo `test -f '../libjack/thread.c' || echo './'`../libjack/thread.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjackserver_la-thread.lo -MD -MP -MF .deps/libjackserver_la-thread.Tpo -c ../libjack/thread.c -fPIC -DPIC -o .libs/libjackserver_la-thread.o mv -f .deps/libjackserver_la-thread.Tpo .deps/libjackserver_la-thread.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjackserver_la-time.lo -MD -MP -MF .deps/libjackserver_la-time.Tpo -c -o libjackserver_la-time.lo `test -f '../libjack/time.c' || echo './'`../libjack/time.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjackserver_la-time.lo -MD -MP -MF .deps/libjackserver_la-time.Tpo -c ../libjack/time.c -fPIC -DPIC -o .libs/libjackserver_la-time.o mv -f .deps/libjackserver_la-time.Tpo .deps/libjackserver_la-time.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjackserver_la-transclient.lo -MD -MP -MF .deps/libjackserver_la-transclient.Tpo -c -o libjackserver_la-transclient.lo `test -f '../libjack/transclient.c' || echo './'`../libjack/transclient.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjackserver_la-transclient.lo -MD -MP -MF .deps/libjackserver_la-transclient.Tpo -c ../libjack/transclient.c -fPIC -DPIC -o .libs/libjackserver_la-transclient.o mv -f .deps/libjackserver_la-transclient.Tpo .deps/libjackserver_la-transclient.Plo /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjackserver_la-unlock.lo -MD -MP -MF .deps/libjackserver_la-unlock.Tpo -c -o libjackserver_la-unlock.lo `test -f '../libjack/unlock.c' || echo './'`../libjack/unlock.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT libjackserver_la-unlock.lo -MD -MP -MF .deps/libjackserver_la-unlock.Tpo -c ../libjack/unlock.c -fPIC -DPIC -o .libs/libjackserver_la-unlock.o mv -f .deps/libjackserver_la-unlock.Tpo .deps/libjackserver_la-unlock.Plo /bin/sh ../libtool --mode=compile cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -c -o simd.lo ./../libjack/simd.c libtool: compile: cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -c ./../libjack/simd.c -fPIC -DPIC -o .libs/simd.o /bin/sh ../libtool --tag=CC --mode=link cc -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -export-dynamic -version-info 0:28:0 -L/usr/local/lib -o libjackserver.la -rpath /usr/local/lib libjackserver_la-engine.lo libjackserver_la-clientengine.lo libjackserver_la-transengine.lo libjackserver_la-controlapi.lo libjackserver_la-systemtest.lo libjackserver_la-sanitycheck.lo libjackserver_la-client.lo libjackserver_la-driver.lo libjackserver_la-intclient.lo libjackserver_la-messagebuffer.lo libjackserver_la-pool.lo libjackserver_la-port.lo libjackserver_la-midiport.lo libjackserver_la-ringbuffer.lo libjackserver_la-shm.lo libjackserver_la-thread.lo libjackserver_la-time.lo libjackserver_la-transclient.lo libjackserver_la-unlock.lo simd.lo -lm -pthread libtool: link: cc -shared .libs/libjackserver_la-engine.o .libs/libjackserver_la-clientengine.o .libs/libjackserver_la-transengine.o .libs/libjackserver_la-controlapi.o .libs/libjackserver_la-systemtest.o .libs/libjackserver_la-sanitycheck.o .libs/libjackserver_la-client.o .libs/libjackserver_la-driver.o .libs/libjackserver_la-intclient.o .libs/libjackserver_la-messagebuffer.o .libs/libjackserver_la-pool.o .libs/libjackserver_la-port.o .libs/libjackserver_la-midiport.o .libs/libjackserver_la-ringbuffer.o .libs/libjackserver_la-shm.o .libs/libjackserver_la-thread.o .libs/libjackserver_la-time.o .libs/libjackserver_la-transclient.o .libs/libjackserver_la-unlock.o .libs/simd.o -L/usr/local/lib -lm -pthread -pthread -Wl,-soname -Wl,libjackserver.so.0 -o .libs/libjackserver.so.0 libtool: link: (cd ".libs" && rm -f "libjackserver.so" && ln -s "libjackserver.so.0" "libjackserver.so") libtool: link: (cd ".libs" && rm -f "libjackserver.so" && ln -s "libjackserver.so.0" "libjackserver.so") libtool: link: ( cd ".libs" && rm -f "libjackserver.la" && ln -s "../libjackserver.la" "libjackserver.la" ) /bin/sh ../libtool --tag=CC --mode=link cc -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -L/usr/local/lib -o jackd jackd.o libjackserver.la -lm -pthread libtool: link: cc -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/local/bin\" -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -o .libs/jackd jackd.o -pthread -L/usr/local/lib ./.libs/libjackserver.so -lm -pthread -Wl,-rpath -Wl,/usr/local/lib echo "#define JACKD_MD5_SUM \"`md5 -q .libs/jackd | awk '{print $1}'`\"" > jack_md5.h gmake all-am gmake[3]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/jackd' gmake[3]: Nothing to be done for `all-am'. gmake[3]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/jackd' gmake[2]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/jackd' Making all in drivers gmake[2]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/drivers' Making all in dummy gmake[3]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/drivers/dummy' /bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -I../../config -I../.. -I../.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -O2 -pipe -fno-strict-aliasing -I../../config -I../.. -I../.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT dummy_driver.lo -MD -MP -MF .deps/dummy_driver.Tpo -c -o dummy_driver.lo dummy_driver.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -I../../config -I../.. -I../.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -O2 -pipe -fno-strict-aliasing -I../../config -I../.. -I../.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT dummy_driver.lo -MD -MP -MF .deps/dummy_driver.Tpo -c dummy_driver.c -fPIC -DPIC -o .libs/dummy_driver.o mv -f .deps/dummy_driver.Tpo .deps/dummy_driver.Plo /bin/sh ../../libtool --tag=CC --mode=link cc -I../../config -I../.. -I../.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -O2 -pipe -fno-strict-aliasing -I../../config -I../.. -I../.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -module -avoid-version -L/usr/local/lib -o jack_dummy.la -rpath /usr/local/lib/jack dummy_driver.lo ../../jackd/libjackserver.la -lm -pthread libtool: link: cc -shared .libs/dummy_driver.o -Wl,-rpath -Wl,/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/jackd/.libs -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib ../../jackd/.libs/libjackserver.so -lm -pthread -pthread -Wl,-soname -Wl,jack_dummy.so -o .libs/jack_dummy.so libtool: link: ( cd ".libs" && rm -f "jack_dummy.la" && ln -s "../jack_dummy.la" "jack_dummy.la" ) gmake[3]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/drivers/dummy' Making all in oss gmake[3]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/drivers/oss' /bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -I../../config -I../.. -I../.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/lib/oss/include -O2 -pipe -fno-strict-aliasing -I../../config -I../.. -I../.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT oss_driver.lo -MD -MP -MF .deps/oss_driver.Tpo -c -o oss_driver.lo oss_driver.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -I../../config -I../.. -I../.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/lib/oss/include -O2 -pipe -fno-strict-aliasing -I../../config -I../.. -I../.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT oss_driver.lo -MD -MP -MF .deps/oss_driver.Tpo -c oss_driver.c -fPIC -DPIC -o .libs/oss_driver.o mv -f .deps/oss_driver.Tpo .deps/oss_driver.Plo /bin/sh ../../libtool --tag=CC --mode=link cc -I../../config -I../.. -I../.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/lib/oss/include -O2 -pipe -fno-strict-aliasing -I../../config -I../.. -I../.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -module -avoid-version -L/usr/local/lib -o jack_oss.la -rpath /usr/local/lib/jack oss_driver.lo ../../jackd/libjackserver.la -lm -pthread libtool: link: cc -shared .libs/oss_driver.o -Wl,-rpath -Wl,/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/jackd/.libs -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib ../../jackd/.libs/libjackserver.so -lm -pthread -pthread -Wl,-soname -Wl,jack_oss.so -o .libs/jack_oss.so libtool: link: ( cd ".libs" && rm -f "jack_oss.la" && ln -s "../jack_oss.la" "jack_oss.la" ) gmake[3]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/drivers/oss' Making all in portaudio gmake[3]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/drivers/portaudio' /bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -I../../config -I../.. -I../.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -O2 -pipe -fno-strict-aliasing -I../../config -I../.. -I../.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT portaudio_driver.lo -MD -MP -MF .deps/portaudio_driver.Tpo -c -o portaudio_driver.lo portaudio_driver.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -I../../config -I../.. -I../.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -O2 -pipe -fno-strict-aliasing -I../../config -I../.. -I../.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT portaudio_driver.lo -MD -MP -MF .deps/portaudio_driver.Tpo -c portaudio_driver.c -fPIC -DPIC -o .libs/portaudio_driver.o portaudio_driver.c: In function 'driver_initialize': portaudio_driver.c:795: warning: unused variable 'deviceID' portaudio_driver.c:542: warning: 'outputDeviceID' may be used uninitialized in this function portaudio_driver.c:542: note: 'outputDeviceID' was declared here portaudio_driver.c:542: warning: 'inputDeviceID' may be used uninitialized in this function portaudio_driver.c:542: note: 'inputDeviceID' was declared here mv -f .deps/portaudio_driver.Tpo .deps/portaudio_driver.Plo /bin/sh ../../libtool --tag=CC --mode=link cc -I../../config -I../.. -I../.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -O2 -pipe -fno-strict-aliasing -I../../config -I../.. -I../.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -module -avoid-version -L/usr/local/lib -o jack_portaudio.la -rpath /usr/local/lib/jack portaudio_driver.lo -lportaudio -lm -pthread libtool: link: cc -shared .libs/portaudio_driver.o -L/usr/local/lib -lportaudio -lm -pthread -pthread -Wl,-soname -Wl,jack_portaudio.so -o .libs/jack_portaudio.so libtool: link: ( cd ".libs" && rm -f "jack_portaudio.la" && ln -s "../jack_portaudio.la" "jack_portaudio.la" ) gmake[3]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/drivers/portaudio' Making all in netjack gmake[3]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/drivers/netjack' /bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../../config -I../.. -I../.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT jack_net_la-net_driver.lo -MD -MP -MF .deps/jack_net_la-net_driver.Tpo -c -o jack_net_la-net_driver.lo `test -f 'net_driver.c' || echo './'`net_driver.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../../config -I../.. -I../.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT jack_net_la-net_driver.lo -MD -MP -MF .deps/jack_net_la-net_driver.Tpo -c net_driver.c -fPIC -DPIC -o .libs/jack_net_la-net_driver.o mv -f .deps/jack_net_la-net_driver.Tpo .deps/jack_net_la-net_driver.Plo /bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../../config -I../.. -I../.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT jack_net_la-netjack_packet.lo -MD -MP -MF .deps/jack_net_la-netjack_packet.Tpo -c -o jack_net_la-netjack_packet.lo `test -f 'netjack_packet.c' || echo './'`netjack_packet.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../../config -I../.. -I../.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT jack_net_la-netjack_packet.lo -MD -MP -MF .deps/jack_net_la-netjack_packet.Tpo -c netjack_packet.c -fPIC -DPIC -o .libs/jack_net_la-netjack_packet.o mv -f .deps/jack_net_la-netjack_packet.Tpo .deps/jack_net_la-netjack_packet.Plo /bin/sh ../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../../config -I../.. -I../.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT jack_net_la-netjack.lo -MD -MP -MF .deps/jack_net_la-netjack.Tpo -c -o jack_net_la-netjack.lo `test -f 'netjack.c' || echo './'`netjack.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../../config -I../.. -I../.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT jack_net_la-netjack.lo -MD -MP -MF .deps/jack_net_la-netjack.Tpo -c netjack.c -fPIC -DPIC -o .libs/jack_net_la-netjack.o netjack.c: In function 'netjack_attach': netjack.c:410: warning: passing argument 1 of 'celt_decoder_create' makes integer from pointer without a cast netjack.c:457: warning: passing argument 1 of 'celt_encoder_create' makes integer from pointer without a cast mv -f .deps/jack_net_la-netjack.Tpo .deps/jack_net_la-netjack.Plo /bin/sh ../../libtool --tag=CC --mode=link cc -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../../config -I../.. -I../.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -module -avoid-version -L/usr/local/lib -lsamplerate -L/usr/local/lib -lcelt0 -L/usr/local/lib -o jack_net.la -rpath /usr/local/lib/jack jack_net_la-net_driver.lo jack_net_la-netjack_packet.lo jack_net_la-netjack.lo ../../libjack/libjack.la ../../jackd/libjackserver.la -lm -pthread libtool: link: cc -shared .libs/jack_net_la-net_driver.o .libs/jack_net_la-netjack_packet.o .libs/jack_net_la-netjack.o -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/libjack/.libs -Wl,-rpath -Wl,/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/jackd/.libs -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib /usr/local/lib/libsamplerate.so /usr/local/lib/libcelt0.so ../../libjack/.libs/libjack.so ../../jackd/.libs/libjackserver.so -lm -pthread -pthread -Wl,-soname -Wl,jack_net.so -o .libs/jack_net.so libtool: link: ( cd ".libs" && rm -f "jack_net.la" && ln -s "../jack_net.la" "jack_net.la" ) gmake[3]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/drivers/netjack' gmake[3]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/drivers' gmake[3]: Nothing to be done for `all-am'. gmake[3]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/drivers' gmake[2]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/drivers' Making all in example-clients gmake[2]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/example-clients' /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT inprocess.lo -MD -MP -MF .deps/inprocess.Tpo -c -o inprocess.lo inprocess.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT inprocess.lo -MD -MP -MF .deps/inprocess.Tpo -c inprocess.c -fPIC -DPIC -o .libs/inprocess.o mv -f .deps/inprocess.Tpo .deps/inprocess.Plo /bin/sh ../libtool --tag=CC --mode=link cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -module -avoid-version -L/usr/local/lib -o inprocess.la -rpath /usr/local/lib/jack inprocess.lo -lm -pthread libtool: link: cc -shared .libs/inprocess.o -L/usr/local/lib -lm -pthread -pthread -Wl,-soname -Wl,inprocess.so -o .libs/inprocess.so libtool: link: ( cd ".libs" && rm -f "inprocess.la" && ln -s "../inprocess.la" "inprocess.la" ) /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT intime.lo -MD -MP -MF .deps/intime.Tpo -c -o intime.lo intime.c libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT intime.lo -MD -MP -MF .deps/intime.Tpo -c intime.c -fPIC -DPIC -o .libs/intime.o mv -f .deps/intime.Tpo .deps/intime.Plo /bin/sh ../libtool --tag=CC --mode=link cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -module -avoid-version -L/usr/local/lib -o intime.la -rpath /usr/local/lib/jack intime.lo -lm -pthread libtool: link: cc -shared .libs/intime.o -L/usr/local/lib -lm -pthread -pthread -Wl,-soname -Wl,intime.so -o .libs/intime.so libtool: link: ( cd ".libs" && rm -f "intime.la" && ln -s "../intime.la" "intime.la" ) cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT simple_client.o -MD -MP -MF .deps/simple_client.Tpo -c -o simple_client.o simple_client.c mv -f .deps/simple_client.Tpo .deps/simple_client.Po /bin/sh ../libtool --tag=CC --mode=link cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -L/usr/local/lib -o jack_simple_client simple_client.o ../libjack/libjack.la -lm -pthread libtool: link: cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -o .libs/jack_simple_client simple_client.o -pthread -L/usr/local/lib ../libjack/.libs/libjack.so -lm -pthread -Wl,-rpath -Wl,/usr/local/lib cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT simple_session_client.o -MD -MP -MF .deps/simple_session_client.Tpo -c -o simple_session_client.o simple_session_client.c mv -f .deps/simple_session_client.Tpo .deps/simple_session_client.Po /bin/sh ../libtool --tag=CC --mode=link cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -L/usr/local/lib -o jack_simple_session_client simple_session_client.o ../libjack/libjack.la -lm -pthread libtool: link: cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -o .libs/jack_simple_session_client simple_session_client.o -pthread -L/usr/local/lib ../libjack/.libs/libjack.so -lm -pthread -Wl,-rpath -Wl,/usr/local/lib cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT transport_client.o -MD -MP -MF .deps/transport_client.Tpo -c -o transport_client.o transport_client.c mv -f .deps/transport_client.Tpo .deps/transport_client.Po /bin/sh ../libtool --tag=CC --mode=link cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -L/usr/local/lib -o jack_transport_client transport_client.o ../libjack/libjack.la -lm -pthread libtool: link: cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -o .libs/jack_transport_client transport_client.o -pthread -L/usr/local/lib ../libjack/.libs/libjack.so -lm -pthread -Wl,-rpath -Wl,/usr/local/lib cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT impulse_grabber.o -MD -MP -MF .deps/impulse_grabber.Tpo -c -o impulse_grabber.o impulse_grabber.c mv -f .deps/impulse_grabber.Tpo .deps/impulse_grabber.Po /bin/sh ../libtool --tag=CC --mode=link cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -L/usr/local/lib -o jack_impulse_grabber impulse_grabber.o ../libjack/libjack.la -lm -pthread libtool: link: cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -o .libs/jack_impulse_grabber impulse_grabber.o -pthread -L/usr/local/lib ../libjack/.libs/libjack.so -lm -pthread -Wl,-rpath -Wl,/usr/local/lib cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT metro.o -MD -MP -MF .deps/metro.Tpo -c -o metro.o metro.c mv -f .deps/metro.Tpo .deps/metro.Po /bin/sh ../libtool --tag=CC --mode=link cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -L/usr/local/lib -o jack_metro metro.o ../libjack/libjack.la -lm -pthread libtool: link: cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -o .libs/jack_metro metro.o -pthread -L/usr/local/lib ../libjack/.libs/libjack.so -lm -pthread -Wl,-rpath -Wl,/usr/local/lib cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT showtime.o -MD -MP -MF .deps/showtime.Tpo -c -o showtime.o showtime.c mv -f .deps/showtime.Tpo .deps/showtime.Po /bin/sh ../libtool --tag=CC --mode=link cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -L/usr/local/lib -o jack_showtime showtime.o ../libjack/libjack.la -lm -pthread libtool: link: cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -o .libs/jack_showtime showtime.o -pthread -L/usr/local/lib ../libjack/.libs/libjack.so -lm -pthread -Wl,-rpath -Wl,/usr/local/lib cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT midisine.o -MD -MP -MF .deps/midisine.Tpo -c -o midisine.o midisine.c mv -f .deps/midisine.Tpo .deps/midisine.Po /bin/sh ../libtool --tag=CC --mode=link cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -L/usr/local/lib -o jack_midisine midisine.o ../libjack/libjack.la -lm -pthread libtool: link: cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -o .libs/jack_midisine midisine.o -pthread -L/usr/local/lib ../libjack/.libs/libjack.so -lm -pthread -Wl,-rpath -Wl,/usr/local/lib cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT midiseq.o -MD -MP -MF .deps/midiseq.Tpo -c -o midiseq.o midiseq.c mv -f .deps/midiseq.Tpo .deps/midiseq.Po /bin/sh ../libtool --tag=CC --mode=link cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -L/usr/local/lib -o jack_midiseq midiseq.o ../libjack/libjack.la -lm -pthread libtool: link: cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -o .libs/jack_midiseq midiseq.o -pthread -L/usr/local/lib ../libjack/.libs/libjack.so -lm -pthread -Wl,-rpath -Wl,/usr/local/lib cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT latent_client.o -MD -MP -MF .deps/latent_client.Tpo -c -o latent_client.o latent_client.c mv -f .deps/latent_client.Tpo .deps/latent_client.Po /bin/sh ../libtool --tag=CC --mode=link cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -L/usr/local/lib -o jack_latent_client latent_client.o ../libjack/libjack.la -lm -pthread libtool: link: cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -o .libs/jack_latent_client latent_client.o -pthread -L/usr/local/lib ../libjack/.libs/libjack.so -lm -pthread -Wl,-rpath -Wl,/usr/local/lib cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT server_control.o -MD -MP -MF .deps/server_control.Tpo -c -o server_control.o server_control.c server_control.c:60: warning: 'jackctl_get_parameter' defined but not used mv -f .deps/server_control.Tpo .deps/server_control.Po /bin/sh ../libtool --tag=CC --mode=link cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -L/usr/local/lib -o jack_server_control server_control.o ../jackd/libjackserver.la -lm -pthread libtool: link: cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -o .libs/jack_server_control server_control.o -pthread -L/usr/local/lib ../jackd/.libs/libjackserver.so -lm -pthread -Wl,-rpath -Wl,/usr/local/lib cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT capture_client.o -MD -MP -MF .deps/capture_client.Tpo -c -o capture_client.o capture_client.c mv -f .deps/capture_client.Tpo .deps/capture_client.Po /bin/sh ../libtool --tag=CC --mode=link cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -L/usr/local/lib -lsndfile -L/usr/local/lib -o jack_rec capture_client.o ../libjack/libjack.la -lm -pthread libtool: link: cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -o .libs/jack_rec capture_client.o -pthread -L/usr/local/lib /usr/local/lib/libsndfile.so /usr/local/lib/libFLAC.so /usr/local/lib/libvorbisenc.so /usr/local/lib/libvorbis.so /usr/local/lib/libogg.so ../libjack/.libs/libjack.so -lm -pthread -Wl,-rpath -Wl,/usr/local/lib gmake[2]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/example-clients' Making all in tools gmake[2]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/tools' cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT ipload.o -MD -MP -MF .deps/ipload.Tpo -c -o ipload.o ipload.c mv -f .deps/ipload.Tpo .deps/ipload.Po /bin/sh ../libtool --tag=CC --mode=link cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -L/usr/local/lib -o jack_load ipload.o ../libjack/libjack.la -lm -pthread libtool: link: cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -o .libs/jack_load ipload.o -pthread -L/usr/local/lib ../libjack/.libs/libjack.so -lm -pthread -Wl,-rpath -Wl,/usr/local/lib cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT ipunload.o -MD -MP -MF .deps/ipunload.Tpo -c -o ipunload.o ipunload.c mv -f .deps/ipunload.Tpo .deps/ipunload.Po /bin/sh ../libtool --tag=CC --mode=link cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -L/usr/local/lib -o jack_unload ipunload.o ../libjack/libjack.la -lm -pthread libtool: link: cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -o .libs/jack_unload ipunload.o -pthread -L/usr/local/lib ../libjack/.libs/libjack.so -lm -pthread -Wl,-rpath -Wl,/usr/local/lib cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT monitor_client.o -MD -MP -MF .deps/monitor_client.Tpo -c -o monitor_client.o monitor_client.c mv -f .deps/monitor_client.Tpo .deps/monitor_client.Po /bin/sh ../libtool --tag=CC --mode=link cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -L/usr/local/lib -o jack_monitor_client monitor_client.o ../libjack/libjack.la -lm -pthread libtool: link: cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -o .libs/jack_monitor_client monitor_client.o -pthread -L/usr/local/lib ../libjack/.libs/libjack.so -lm -pthread -Wl,-rpath -Wl,/usr/local/lib cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT connect.o -MD -MP -MF .deps/connect.Tpo -c -o connect.o connect.c mv -f .deps/connect.Tpo .deps/connect.Po /bin/sh ../libtool --tag=CC --mode=link cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -L/usr/local/lib -o jack_connect connect.o ../libjack/libjack.la -lm -pthread libtool: link: cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -o .libs/jack_connect connect.o -pthread -L/usr/local/lib ../libjack/.libs/libjack.so -lm -pthread -Wl,-rpath -Wl,/usr/local/lib /bin/sh ../libtool --tag=CC --mode=link cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -L/usr/local/lib -o jack_disconnect connect.o ../libjack/libjack.la -lm -pthread libtool: link: cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -o .libs/jack_disconnect connect.o -pthread -L/usr/local/lib ../libjack/.libs/libjack.so -lm -pthread -Wl,-rpath -Wl,/usr/local/lib cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT lsp.o -MD -MP -MF .deps/lsp.Tpo -c -o lsp.o lsp.c lsp.c: In function 'main': lsp.c:176: warning: 'jack_port_get_latency' is deprecated (declared at ../jack/jack.h:1038) lsp.c:190: warning: 'jack_port_get_total_latency' is deprecated (declared at ../jack/jack.h:1051) mv -f .deps/lsp.Tpo .deps/lsp.Po /bin/sh ../libtool --tag=CC --mode=link cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -L/usr/local/lib -o jack_lsp lsp.o ../libjack/libjack.la -lm -pthread libtool: link: cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -o .libs/jack_lsp lsp.o -pthread -L/usr/local/lib ../libjack/.libs/libjack.so -lm -pthread -Wl,-rpath -Wl,/usr/local/lib cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT freewheel.o -MD -MP -MF .deps/freewheel.Tpo -c -o freewheel.o freewheel.c mv -f .deps/freewheel.Tpo .deps/freewheel.Po /bin/sh ../libtool --tag=CC --mode=link cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -L/usr/local/lib -o jack_freewheel freewheel.o ../libjack/libjack.la -lm -pthread libtool: link: cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -o .libs/jack_freewheel freewheel.o -pthread -L/usr/local/lib ../libjack/.libs/libjack.so -lm -pthread -Wl,-rpath -Wl,/usr/local/lib cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT evmon.o -MD -MP -MF .deps/evmon.Tpo -c -o evmon.o evmon.c mv -f .deps/evmon.Tpo .deps/evmon.Po /bin/sh ../libtool --tag=CC --mode=link cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -L/usr/local/lib -o jack_evmon evmon.o ../libjack/libjack.la -lm -pthread libtool: link: cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -o .libs/jack_evmon evmon.o -pthread -L/usr/local/lib ../libjack/.libs/libjack.so -lm -pthread -Wl,-rpath -Wl,/usr/local/lib cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT alias.o -MD -MP -MF .deps/alias.Tpo -c -o alias.o alias.c mv -f .deps/alias.Tpo .deps/alias.Po /bin/sh ../libtool --tag=CC --mode=link cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -L/usr/local/lib -o jack_alias alias.o ../libjack/libjack.la -lm -pthread libtool: link: cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -o .libs/jack_alias alias.o -pthread -L/usr/local/lib ../libjack/.libs/libjack.so -lm -pthread -Wl,-rpath -Wl,/usr/local/lib cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT bufsize.o -MD -MP -MF .deps/bufsize.Tpo -c -o bufsize.o bufsize.c mv -f .deps/bufsize.Tpo .deps/bufsize.Po /bin/sh ../libtool --tag=CC --mode=link cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -L/usr/local/lib -o jack_bufsize bufsize.o ../libjack/libjack.la -lm -pthread libtool: link: cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -o .libs/jack_bufsize bufsize.o -pthread -L/usr/local/lib ../libjack/.libs/libjack.so -lm -pthread -Wl,-rpath -Wl,/usr/local/lib cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT samplerate.o -MD -MP -MF .deps/samplerate.Tpo -c -o samplerate.o samplerate.c mv -f .deps/samplerate.Tpo .deps/samplerate.Po /bin/sh ../libtool --tag=CC --mode=link cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -L/usr/local/lib -o jack_samplerate samplerate.o ../libjack/libjack.la -lm -pthread libtool: link: cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -o .libs/jack_samplerate samplerate.o -pthread -L/usr/local/lib ../libjack/.libs/libjack.so -lm -pthread -Wl,-rpath -Wl,/usr/local/lib cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT session_notify.o -MD -MP -MF .deps/session_notify.Tpo -c -o session_notify.o session_notify.c mv -f .deps/session_notify.Tpo .deps/session_notify.Po /bin/sh ../libtool --tag=CC --mode=link cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -L/usr/local/lib -o jack_session_notify session_notify.o ../libjack/libjack.la -lm -pthread libtool: link: cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -o .libs/jack_session_notify session_notify.o -pthread -L/usr/local/lib ../libjack/.libs/libjack.so -lm -pthread -Wl,-rpath -Wl,/usr/local/lib cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT wait.o -MD -MP -MF .deps/wait.Tpo -c -o wait.o wait.c mv -f .deps/wait.Tpo .deps/wait.Po /bin/sh ../libtool --tag=CC --mode=link cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -L/usr/local/lib -o jack_wait wait.o ../libjack/libjack.la -lm -pthread libtool: link: cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -o .libs/jack_wait wait.o -pthread -L/usr/local/lib ../libjack/.libs/libjack.so -lm -pthread -Wl,-rpath -Wl,/usr/local/lib cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT midi_dump.o -MD -MP -MF .deps/midi_dump.Tpo -c -o midi_dump.o midi_dump.c mv -f .deps/midi_dump.Tpo .deps/midi_dump.Po /bin/sh ../libtool --tag=CC --mode=link cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -L/usr/local/lib -o jack_midi_dump midi_dump.o ../libjack/libjack.la -lm -pthread libtool: link: cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -o .libs/jack_midi_dump midi_dump.o -pthread -L/usr/local/lib ../libjack/.libs/libjack.so -lm -pthread -Wl,-rpath -Wl,/usr/local/lib cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT iodelay.o -MD -MP -MF .deps/iodelay.Tpo -c -o iodelay.o iodelay.c mv -f .deps/iodelay.Tpo .deps/iodelay.Po /bin/sh ../libtool --tag=CC --mode=link cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -L/usr/local/lib -o jack_iodelay iodelay.o ../libjack/libjack.la -lm -pthread libtool: link: cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -o .libs/jack_iodelay iodelay.o -pthread -L/usr/local/lib ../libjack/.libs/libjack.so -lm -pthread -Wl,-rpath -Wl,/usr/local/lib cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT load_test.o -MD -MP -MF .deps/load_test.Tpo -c -o load_test.o load_test.c mv -f .deps/load_test.Tpo .deps/load_test.Po /bin/sh ../libtool --tag=CC --mode=link cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -L/usr/local/lib -o jack_load_test load_test.o ../libjack/libjack.la -lm -pthread libtool: link: cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -o .libs/jack_load_test load_test.o -pthread -L/usr/local/lib ../libjack/.libs/libjack.so -lm -pthread -Wl,-rpath -Wl,/usr/local/lib cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT transport.o -MD -MP -MF .deps/transport.Tpo -c -o transport.o transport.c mv -f .deps/transport.Tpo .deps/transport.Po /bin/sh ../libtool --tag=CC --mode=link cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -lreadline -L/usr/local/lib -o jack_transport transport.o ../libjack/libjack.la -lm -pthread libtool: link: cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -o .libs/jack_transport transport.o -pthread -lreadline -L/usr/local/lib ../libjack/.libs/libjack.so -lm -pthread -Wl,-rpath -Wl,/usr/local/lib cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I/usr/local/include -I../drivers/netjack -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT jack_netsource-netsource.o -MD -MP -MF .deps/jack_netsource-netsource.Tpo -c -o jack_netsource-netsource.o `test -f 'netsource.c' || echo './'`netsource.c netsource.c: In function 'alloc_ports': netsource.c:142: warning: passing argument 1 of 'celt_decoder_create' makes integer from pointer without a cast netsource.c:185: warning: passing argument 1 of 'celt_encoder_create' makes integer from pointer without a cast mv -f .deps/jack_netsource-netsource.Tpo .deps/jack_netsource-netsource.Po cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I/usr/local/include -I../drivers/netjack -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT jack_netsource-netjack_packet.o -MD -MP -MF .deps/jack_netsource-netjack_packet.Tpo -c -o jack_netsource-netjack_packet.o `test -f '../drivers/netjack/netjack_packet.c' || echo './'`../drivers/netjack/netjack_packet.c mv -f .deps/jack_netsource-netjack_packet.Tpo .deps/jack_netsource-netjack_packet.Po /bin/sh ../libtool --tag=CC --mode=link cc -I/usr/local/include -I../drivers/netjack -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -L/usr/local/lib -lsamplerate -L/usr/local/lib -lcelt0 -L/usr/local/lib -o jack_netsource jack_netsource-netsource.o jack_netsource-netjack_packet.o ../libjack/libjack.la -lm -pthread libtool: link: cc -I/usr/local/include -I../drivers/netjack -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -o .libs/jack_netsource jack_netsource-netsource.o jack_netsource-netjack_packet.o -pthread -L/usr/local/lib /usr/local/lib/libsamplerate.so /usr/local/lib/libcelt0.so ../libjack/.libs/libjack.so -lm -pthread -Wl,-rpath -Wl,/usr/local/lib cc -DHAVE_CONFIG_H -I. -I.. -I/usr/local/include -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -MT tw.o -MD -MP -MF .deps/tw.Tpo -c -o tw.o tw.c mv -f .deps/tw.Tpo .deps/tw.Po /bin/sh ../libtool --tag=CC --mode=link cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -L/usr/local/lib -o jack_thread_wait tw.o ../libjack/libjack.la -lm -pthread libtool: link: cc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -o .libs/jack_thread_wait tw.o -pthread -L/usr/local/lib ../libjack/.libs/libjack.so -lm -pthread -Wl,-rpath -Wl,/usr/local/lib gmake[2]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/tools' Making all in config gmake[2]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/config' gmake[3]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/config' gmake[3]: Nothing to be done for `all-am'. gmake[3]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/config' gmake[2]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/config' Making all in doc gmake[2]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/doc' *** Running doxygen *** doxygen reference.doxygen warning: Tag `DETAILS_AT_TOP' at line 163 of file reference.doxygen has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag `SHOW_DIRECTORIES' at line 444 of file reference.doxygen has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag `HTML_ALIGN_MEMBERS' at line 759 of file reference.doxygen has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" epstopdf: not found error: Problems running epstopdf. Check your TeX installation! Searching for include files... Searching for example files... Searching for images... Searching for files in directory /work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/doc Searching for dot files... Searching for msc files... Searching for files to exclude Searching for files to process... Reading and parsing tag files Preprocessing /work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/doc/mainpage.dox... Parsing file /work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/doc/mainpage.dox... Preprocessing /work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/doc/transport.dox... Parsing file /work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/doc/transport.dox... Preprocessing /work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/doc/porting.dox... Parsing file /work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/doc/porting.dox... Preprocessing /work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/example-clients/inprocess.c... Parsing file /work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/example-clients/inprocess.c... Preprocessing /work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/example-clients/simple_client.c... Parsing file /work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/example-clients/simple_client.c... Preprocessing /work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/jack/intclient.h... Parsing file /work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/jack/intclient.h... Preprocessing /work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/jack/jack.h... Parsing file /work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/jack/jack.h... Preprocessing /work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/jack/ringbuffer.h... Parsing file /work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/jack/ringbuffer.h... Preprocessing /work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/jack/statistics.h... Parsing file /work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/jack/statistics.h... Preprocessing /work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/jack/thread.h... Parsing file /work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/jack/thread.h... Preprocessing /work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/jack/transport.h... Parsing file /work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/jack/transport.h... Preprocessing /work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/jack/types.h... Parsing file /work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/jack/types.h... Preprocessing /work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/jack/midiport.h... Parsing file /work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/jack/midiport.h... Preprocessing /work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/jack/session.h... Parsing file /work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/jack/session.h... Preprocessing /work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/jack/weakjack.h... Parsing file /work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/jack/weakjack.h... Preprocessing /work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/jack/control.h... Parsing file /work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/jack/control.h... Building group list... Building directory list... Building namespace list... Building file list... Building class list... Associating documentation with classes... Computing nesting relations for classes... Building example list... Searching for enumerations... Searching for documented typedefs... Searching for members imported via using declarations... Searching for included using directives... Searching for documented variables... Building member list... Searching for friends... Searching for documented defines... Computing class inheritance relations... Computing class usage relations... Flushing cached template relations that have become invalid... Creating members for template instances... Computing class relations... Add enum values to enums... Searching for member function documentation... Building page list... Search for main page... Computing page relations... Determining the scope of groups... Sorting lists... Freeing entry tree Determining which enums are documented Computing member relations... Building full member lists recursively... Adding members to member groups. Computing member references... Inheriting documentation... Generating disk names... Adding source references... Adding xrefitems... Sorting member lists... Computing dependencies between directories... Generating citations page... Counting data structures... Resolving user defined references... Finding anchors and sections in the documentation... Combining using relations... Adding members to index pages... Generating style sheet... Generating example documentation... Generating file sources... Generating code for file control.h... Parsing code for file inprocess.c... Generating code for file intclient.h... Generating code for file jack.h... Parsing code for file mainpage.dox... Generating code for file midiport.h... Parsing code for file porting.dox... Generating code for file ringbuffer.h... Generating code for file session.h... Parsing code for file simple_client.c... Generating code for file statistics.h... Generating code for file thread.h... Parsing code for file transport.dox... Generating code for file transport.h... Generating code for file types.h... Generating code for file weakjack.h... Generating file documentation... Generating docs for file control.h... Generating docs for file inprocess.c... Generating docs for file intclient.h... Generating docs for file jack.h... Generating docs for file mainpage.dox... Generating docs for file midiport.h... Generating docs for file porting.dox... Generating docs for file ringbuffer.h... Generating docs for file session.h... Generating docs for file simple_client.c... Generating docs for file statistics.h... Generating docs for file thread.h... Generating docs for file transport.dox... Generating docs for file transport.h... Generating docs for file types.h... Generating docs for file weakjack.h... Generating page documentation... Generating docs for page transport-design... Generating docs for page porting-guide... Generating docs for page deprecated... Generating group documentation... Generating class documentation... Generating docs for compound _jack_latency_range... Generating docs for compound _jack_midi_event... Generating docs for compound _jack_session_event... Generating docs for compound jack_position_t... Generating docs for compound jack_ringbuffer_data_t... Generating docs for compound jack_ringbuffer_t... Generating docs for compound jack_session_command_t... Generating docs for compound jack_transport_info_t... Generating docs for compound jackctl_parameter_value... Generating docs for compound port_pair_t... Generating namespace index... Generating graph info page... Generating directory documentation... Generating index page... Generating page index... Generating module index... Generating namespace index... Generating namespace member index... Generating annotated compound index... Generating alphabetical compound index... Generating hierarchical class index... Generating member index... Generating file index... Generating file member index... Generating example index... finalizing index lists... symbol cache used 367/65536 hits=14773 misses=367 lookup cache used 452/65536 hits=2455 misses=452 finished... touch doxygen-build.stamp gmake[2]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/doc' Making all in man gmake[2]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/man' gmake all-am gmake[3]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/man' gmake[3]: Nothing to be done for `all-am'. gmake[3]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/man' gmake[2]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/man' Making all in python gmake[2]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/python' gmake[2]: Nothing to be done for `all'. gmake[2]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/python' gmake[2]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3' gmake[2]: Nothing to be done for `all-am'. gmake[2]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3' gmake[1]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3' ================================================================ ======================================== make: don't know how to make regression-test(continuing) ================================================================ ======================================== add_pkg celt-0.11.3_1.tbz flac-1.2.1_3.tbz libiconv-1.14.tbz libogg-1.3.0,4.tbz libsamplerate-0.1.8_3.tbz libsndfile-1.0.25_2.tbz libvorbis-1.3.3_1,3.tbz pkgconf-0.8.7_2.tbz portaudio-18.1_2.tbz adding dependencies pkg_add celt-0.11.3_1.tbz skipping celt-0.11.3_1, already added pkg_add flac-1.2.1_3.tbz skipping flac-1.2.1_3, already added pkg_add libiconv-1.14.tbz skipping libiconv-1.14, already added pkg_add libogg-1.3.0,4.tbz skipping libogg-1.3.0,4, already added pkg_add libsamplerate-0.1.8_3.tbz skipping libsamplerate-0.1.8_3, already added pkg_add libsndfile-1.0.25_2.tbz skipping libsndfile-1.0.25_2, already added pkg_add libvorbis-1.3.3_1,3.tbz skipping libvorbis-1.3.3_1,3, already added pkg_add pkgconf-0.8.7_2.tbz skipping pkgconf-0.8.7_2, already added pkg_add portaudio-18.1_2.tbz skipping portaudio-18.1_2, already added ===> Installing for jackit-0.121.3_2 ===> jackit-0.121.3_2 depends on executable: pkgconf - found ===> jackit-0.121.3_2 depends on shared library: portaudio.0 - found ===> jackit-0.121.3_2 depends on shared library: sndfile.1 - found ===> jackit-0.121.3_2 depends on shared library: samplerate.1 - found ===> jackit-0.121.3_2 depends on shared library: celt0.2 - found ===> Generating temporary packing list ===> Checking if audio/jack already installed Making install in jack gmake[1]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/jack' gmake[2]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/jack' gmake[2]: Nothing to be done for `install-exec-am'. test -z "/usr/local/include/jack" || ../config/install-sh -c -d "/usr/local/include/jack" install -o root -g wheel -m 444 intclient.h jack.h ringbuffer.h statistics.h session.h thread.h timestamps.h transport.h types.h midiport.h weakmacros.h weakjack.h control.h '/usr/local/include/jack' gmake[2]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/jack' gmake[1]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/jack' Making install in libjack gmake[1]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/libjack' gmake[2]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/libjack' test -z "/usr/local/lib" || ../config/install-sh -c -d "/usr/local/lib" /bin/sh ../libtool --mode=install /usr/bin/install -c -o root -g wheel libjack.la '/usr/local/lib' libtool: install: /usr/bin/install -c -o root -g wheel .libs/libjack.so.0 /usr/local/lib/libjack.so.0 libtool: install: (cd /usr/local/lib && { ln -s -f libjack.so.0 libjack.so || { rm -f libjack.so && ln -s libjack.so.0 libjack.so; }; }) libtool: install: (cd /usr/local/lib && { ln -s -f libjack.so.0 libjack.so || { rm -f libjack.so && ln -s libjack.so.0 libjack.so; }; }) libtool: install: /usr/bin/install -c -o root -g wheel .libs/libjack.lai /usr/local/lib/libjack.la ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,-rpath -Wl,LIBDIR' linker flag See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- gmake install-exec-hook gmake[3]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/libjack' Removing JACK shared memory registry key 0x282929 ipcrm -M 0x282929 ipcrm: can't remove private shared memory segments gmake[3]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/libjack' gmake[2]: Nothing to be done for `install-data-am'. gmake[2]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/libjack' gmake[1]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/libjack' Making install in jackd gmake[1]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/jackd' gmake install-am gmake[2]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/jackd' gmake[3]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/jackd' test -z "/usr/local/lib" || ../config/install-sh -c -d "/usr/local/lib" /bin/sh ../libtool --mode=install /usr/bin/install -c -o root -g wheel libjackserver.la '/usr/local/lib' libtool: install: /usr/bin/install -c -o root -g wheel .libs/libjackserver.so.0 /usr/local/lib/libjackserver.so.0 libtool: install: (cd /usr/local/lib && { ln -s -f libjackserver.so.0 libjackserver.so || { rm -f libjackserver.so && ln -s libjackserver.so.0 libjackserver.so; }; }) libtool: install: (cd /usr/local/lib && { ln -s -f libjackserver.so.0 libjackserver.so || { rm -f libjackserver.so && ln -s libjackserver.so.0 libjackserver.so; }; }) libtool: install: /usr/bin/install -c -o root -g wheel .libs/libjackserver.lai /usr/local/lib/libjackserver.la ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/lib If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,-rpath -Wl,LIBDIR' linker flag See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- test -z "/usr/local/bin" || ../config/install-sh -c -d "/usr/local/bin" /bin/sh ../libtool --mode=install install -s -o root -g wheel -m 555 jackd '/usr/local/bin' libtool: install: install -o root -g wheel -m 555 -s .libs/jackd /usr/local/bin/jackd gmake install-exec-hook gmake[4]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/jackd' Nothing to make for install-exec-hook. gmake[4]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/jackd' test -z "/usr/local/man/man1" || ../config/install-sh -c -d "/usr/local/man/man1" install -o root -g wheel -m 444 jackd.1 jackstart.1 '/usr/local/man/man1' gmake[3]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/jackd' gmake[2]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/jackd' gmake[1]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/jackd' Making install in drivers gmake[1]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/drivers' Making install in dummy gmake[2]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/drivers/dummy' gmake[3]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/drivers/dummy' gmake[3]: Nothing to be done for `install-exec-am'. test -z "/usr/local/lib/jack" || ../../config/install-sh -c -d "/usr/local/lib/jack" /bin/sh ../../libtool --mode=install /usr/bin/install -c -o root -g wheel jack_dummy.la '/usr/local/lib/jack' libtool: install: warning: relinking `jack_dummy.la' libtool: install: (cd /work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/drivers/dummy; /bin/sh /work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/libtool --tag CC --mode=relink cc -I../../config -I../.. -I../.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -O2 -pipe -fno-strict-aliasing -I../../config -I../.. -I../.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -module -avoid-version -L/usr/local/lib -o jack_dummy.la -rpath /usr/local/lib/jack dummy_driver.lo ../../jackd/libjackserver.la -lm -pthread ) libtool: relink: cc -shared .libs/dummy_driver.o -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -ljackserver -lm -pthread -pthread -Wl,-soname -Wl,jack_dummy.so -o .libs/jack_dummy.so libtool: install: /usr/bin/install -c -o root -g wheel .libs/jack_dummy.soT /usr/local/lib/jack/jack_dummy.so libtool: install: /usr/bin/install -c -o root -g wheel .libs/jack_dummy.lai /usr/local/lib/jack/jack_dummy.la ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/lib/jack If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,-rpath -Wl,LIBDIR' linker flag See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- gmake[3]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/drivers/dummy' gmake[2]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/drivers/dummy' Making install in oss gmake[2]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/drivers/oss' gmake[3]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/drivers/oss' gmake[3]: Nothing to be done for `install-exec-am'. test -z "/usr/local/lib/jack" || ../../config/install-sh -c -d "/usr/local/lib/jack" /bin/sh ../../libtool --mode=install /usr/bin/install -c -o root -g wheel jack_oss.la '/usr/local/lib/jack' libtool: install: warning: relinking `jack_oss.la' libtool: install: (cd /work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/drivers/oss; /bin/sh /work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/libtool --tag CC --mode=relink cc -I../../config -I../.. -I../.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -I/usr/lib/oss/include -O2 -pipe -fno-strict-aliasing -I../../config -I../.. -I../.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -module -avoid-version -L/usr/local/lib -o jack_oss.la -rpath /usr/local/lib/jack oss_driver.lo ../../jackd/libjackserver.la -lm -pthread ) libtool: relink: cc -shared .libs/oss_driver.o -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -ljackserver -lm -pthread -pthread -Wl,-soname -Wl,jack_oss.so -o .libs/jack_oss.so libtool: install: /usr/bin/install -c -o root -g wheel .libs/jack_oss.soT /usr/local/lib/jack/jack_oss.so libtool: install: /usr/bin/install -c -o root -g wheel .libs/jack_oss.lai /usr/local/lib/jack/jack_oss.la ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/lib/jack If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,-rpath -Wl,LIBDIR' linker flag See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- gmake[3]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/drivers/oss' gmake[2]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/drivers/oss' Making install in portaudio gmake[2]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/drivers/portaudio' gmake[3]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/drivers/portaudio' gmake[3]: Nothing to be done for `install-exec-am'. test -z "/usr/local/lib/jack" || ../../config/install-sh -c -d "/usr/local/lib/jack" /bin/sh ../../libtool --mode=install /usr/bin/install -c -o root -g wheel jack_portaudio.la '/usr/local/lib/jack' libtool: install: /usr/bin/install -c -o root -g wheel .libs/jack_portaudio.so /usr/local/lib/jack/jack_portaudio.so libtool: install: /usr/bin/install -c -o root -g wheel .libs/jack_portaudio.lai /usr/local/lib/jack/jack_portaudio.la ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/lib/jack If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,-rpath -Wl,LIBDIR' linker flag See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- gmake[3]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/drivers/portaudio' gmake[2]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/drivers/portaudio' Making install in netjack gmake[2]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/drivers/netjack' gmake[3]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/drivers/netjack' gmake[3]: Nothing to be done for `install-exec-am'. test -z "/usr/local/lib/jack" || ../../config/install-sh -c -d "/usr/local/lib/jack" /bin/sh ../../libtool --mode=install /usr/bin/install -c -o root -g wheel jack_net.la '/usr/local/lib/jack' libtool: install: warning: relinking `jack_net.la' libtool: install: (cd /work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/drivers/netjack; /bin/sh /work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/libtool --tag CC --mode=relink cc -I/usr/local/include -O2 -pipe -fno-strict-aliasing -I../../config -I../.. -I../.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -module -avoid-version -L/usr/local/lib -lsamplerate -L/usr/local/lib -lcelt0 -L/usr/local/lib -o jack_net.la -rpath /usr/local/lib/jack jack_net_la-net_driver.lo jack_net_la-netjack_packet.lo jack_net_la-netjack.lo ../../libjack/libjack.la ../../jackd/libjackserver.la -lm -pthread ) libtool: relink: cc -shared .libs/jack_net_la-net_driver.o .libs/jack_net_la-netjack_packet.o .libs/jack_net_la-netjack.o -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib -lsamplerate -lcelt0 -ljack -ljackserver -lm -pthread -pthread -Wl,-soname -Wl,jack_net.so -o .libs/jack_net.so libtool: install: /usr/bin/install -c -o root -g wheel .libs/jack_net.soT /usr/local/lib/jack/jack_net.so libtool: install: /usr/bin/install -c -o root -g wheel .libs/jack_net.lai /usr/local/lib/jack/jack_net.la ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/lib/jack If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,-rpath -Wl,LIBDIR' linker flag See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- gmake[3]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/drivers/netjack' gmake[2]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/drivers/netjack' gmake[2]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/drivers' gmake[3]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/drivers' gmake[3]: Nothing to be done for `install-exec-am'. gmake[3]: Nothing to be done for `install-data-am'. gmake[3]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/drivers' gmake[2]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/drivers' gmake[1]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/drivers' Making install in example-clients gmake[1]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/example-clients' gmake[2]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/example-clients' test -z "/usr/local/bin" || ../config/install-sh -c -d "/usr/local/bin" /bin/sh ../libtool --mode=install install -s -o root -g wheel -m 555 jack_simple_client jack_simple_session_client jack_transport_client jack_impulse_grabber jack_metro jack_showtime jack_midisine jack_midiseq jack_latent_client jack_server_control jack_rec '/usr/local/bin' libtool: install: install -o root -g wheel -m 555 -s .libs/jack_simple_client /usr/local/bin/jack_simple_client libtool: install: install -o root -g wheel -m 555 -s .libs/jack_simple_session_client /usr/local/bin/jack_simple_session_client libtool: install: install -o root -g wheel -m 555 -s .libs/jack_transport_client /usr/local/bin/jack_transport_client libtool: install: install -o root -g wheel -m 555 -s .libs/jack_impulse_grabber /usr/local/bin/jack_impulse_grabber libtool: install: install -o root -g wheel -m 555 -s .libs/jack_metro /usr/local/bin/jack_metro libtool: install: install -o root -g wheel -m 555 -s .libs/jack_showtime /usr/local/bin/jack_showtime libtool: install: install -o root -g wheel -m 555 -s .libs/jack_midisine /usr/local/bin/jack_midisine libtool: install: install -o root -g wheel -m 555 -s .libs/jack_midiseq /usr/local/bin/jack_midiseq libtool: install: install -o root -g wheel -m 555 -s .libs/jack_latent_client /usr/local/bin/jack_latent_client libtool: install: install -o root -g wheel -m 555 -s .libs/jack_server_control /usr/local/bin/jack_server_control libtool: install: install -o root -g wheel -m 555 -s .libs/jack_rec /usr/local/bin/jack_rec test -z "/usr/local/lib/jack" || ../config/install-sh -c -d "/usr/local/lib/jack" /bin/sh ../libtool --mode=install /usr/bin/install -c -o root -g wheel inprocess.la intime.la '/usr/local/lib/jack' libtool: install: /usr/bin/install -c -o root -g wheel .libs/inprocess.so /usr/local/lib/jack/inprocess.so libtool: install: /usr/bin/install -c -o root -g wheel .libs/inprocess.lai /usr/local/lib/jack/inprocess.la libtool: install: /usr/bin/install -c -o root -g wheel .libs/intime.so /usr/local/lib/jack/intime.so libtool: install: /usr/bin/install -c -o root -g wheel .libs/intime.lai /usr/local/lib/jack/intime.la ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/lib/jack If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,-rpath -Wl,LIBDIR' linker flag See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- gmake[2]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/example-clients' gmake[1]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/example-clients' Making install in tools gmake[1]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/tools' gmake[2]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/tools' test -z "/usr/local/bin" || ../config/install-sh -c -d "/usr/local/bin" /bin/sh ../libtool --mode=install install -s -o root -g wheel -m 555 jack_load jack_unload jack_monitor_client jack_connect jack_disconnect jack_lsp jack_freewheel jack_evmon jack_alias jack_bufsize jack_samplerate jack_session_notify jack_wait jack_midi_dump jack_iodelay jack_load_test jack_transport jack_netsource '/usr/local/bin' libtool: install: install -o root -g wheel -m 555 -s .libs/jack_load /usr/local/bin/jack_load libtool: install: install -o root -g wheel -m 555 -s .libs/jack_unload /usr/local/bin/jack_unload libtool: install: install -o root -g wheel -m 555 -s .libs/jack_monitor_client /usr/local/bin/jack_monitor_client libtool: install: install -o root -g wheel -m 555 -s .libs/jack_connect /usr/local/bin/jack_connect libtool: install: install -o root -g wheel -m 555 -s .libs/jack_disconnect /usr/local/bin/jack_disconnect libtool: install: install -o root -g wheel -m 555 -s .libs/jack_lsp /usr/local/bin/jack_lsp libtool: install: install -o root -g wheel -m 555 -s .libs/jack_freewheel /usr/local/bin/jack_freewheel libtool: install: install -o root -g wheel -m 555 -s .libs/jack_evmon /usr/local/bin/jack_evmon libtool: install: install -o root -g wheel -m 555 -s .libs/jack_alias /usr/local/bin/jack_alias libtool: install: install -o root -g wheel -m 555 -s .libs/jack_bufsize /usr/local/bin/jack_bufsize libtool: install: install -o root -g wheel -m 555 -s .libs/jack_samplerate /usr/local/bin/jack_samplerate libtool: install: install -o root -g wheel -m 555 -s .libs/jack_session_notify /usr/local/bin/jack_session_notify libtool: install: install -o root -g wheel -m 555 -s .libs/jack_wait /usr/local/bin/jack_wait libtool: install: install -o root -g wheel -m 555 -s .libs/jack_midi_dump /usr/local/bin/jack_midi_dump libtool: install: install -o root -g wheel -m 555 -s .libs/jack_iodelay /usr/local/bin/jack_iodelay libtool: install: install -o root -g wheel -m 555 -s .libs/jack_load_test /usr/local/bin/jack_load_test libtool: install: install -o root -g wheel -m 555 -s .libs/jack_transport /usr/local/bin/jack_transport libtool: install: install -o root -g wheel -m 555 -s .libs/jack_netsource /usr/local/bin/jack_netsource gmake[2]: Nothing to be done for `install-data-am'. gmake[2]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/tools' gmake[1]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/tools' Making install in config gmake[1]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/config' gmake[2]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/config' gmake[3]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/config' gmake[3]: Nothing to be done for `install-exec-am'. gmake[3]: Nothing to be done for `install-data-am'. gmake[3]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/config' gmake[2]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/config' gmake[1]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/config' Making install in doc gmake[1]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/doc' gmake[2]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/doc' gmake[2]: Nothing to be done for `install-exec-am'. /bin/sh /work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/config/install-sh -d /usr/local/share/jack-audio-connection-kit/reference/html (installfiles=`echo reference/html/*.html`; \ if test "$installfiles" = 'reference/html/*.html'; \ then echo '-- Nothing to install' ; \ else \ for i in $installfiles reference/html/doxygen.png reference/html/fsm.png reference/html/doxygen.css; do \ echo '-- Installing '$i ; \ install -o root -g wheel -m 444 $i /usr/local/share/jack-audio-connection-kit/reference/html; \ done; \ fi) -- Installing reference/html/annotated.html -- Installing reference/html/classes.html -- Installing reference/html/control_8h.html -- Installing reference/html/control_8h_source.html -- Installing reference/html/deprecated.html -- Installing reference/html/dir_3e6ff996e0a05d442d13220a8cf7408f.html -- Installing reference/html/dir_d611c2c1e1e252f8153c91ce21a161f9.html -- Installing reference/html/files.html -- Installing reference/html/functions.html -- Installing reference/html/functions_vars.html -- Installing reference/html/globals.html -- Installing reference/html/globals_0x65.html -- Installing reference/html/globals_0x69.html -- Installing reference/html/globals_0x6a.html -- Installing reference/html/globals_0x6d.html -- Installing reference/html/globals_0x6f.html -- Installing reference/html/globals_0x70.html -- Installing reference/html/globals_0x74.html -- Installing reference/html/globals_0x77.html -- Installing reference/html/globals_defs.html -- Installing reference/html/globals_enum.html -- Installing reference/html/globals_eval.html -- Installing reference/html/globals_func.html -- Installing reference/html/globals_type.html -- Installing reference/html/globals_vars.html -- Installing reference/html/group__ClientCallbacks.html -- Installing reference/html/group__ClientFunctions.html -- Installing reference/html/group__ClientThreads.html -- Installing reference/html/group__ControlAPI.html -- Installing reference/html/group__ErrorOutput.html -- Installing reference/html/group__JackSessionManagerAPI.html -- Installing reference/html/group__LatencyFunctions.html -- Installing reference/html/group__MIDIAPI.html -- Installing reference/html/group__NonCallbackAPI.html -- Installing reference/html/group__PortFunctions.html -- Installing reference/html/group__PortSearching.html -- Installing reference/html/group__ServerControl.html -- Installing reference/html/group__SessionClientFunctions.html -- Installing reference/html/group__TimeFunctions.html -- Installing reference/html/group__TransportControl.html -- Installing reference/html/group__WeakLinkage.html -- Installing reference/html/index.html -- Installing reference/html/inprocess_8c.html -- Installing reference/html/intclient_8h.html -- Installing reference/html/intclient_8h_source.html -- Installing reference/html/jack_8h.html -- Installing reference/html/jack_8h_source.html -- Installing reference/html/mainpage_8dox.html -- Installing reference/html/midiport_8h.html -- Installing reference/html/midiport_8h_source.html -- Installing reference/html/modules.html -- Installing reference/html/pages.html -- Installing reference/html/porting-guide.html -- Installing reference/html/porting_8dox.html -- Installing reference/html/ringbuffer_8h.html -- Installing reference/html/ringbuffer_8h_source.html -- Installing reference/html/session_8h.html -- Installing reference/html/session_8h_source.html -- Installing reference/html/simple__client_8c.html -- Installing reference/html/statistics_8h.html -- Installing reference/html/statistics_8h_source.html -- Installing reference/html/struct__jack__latency__range.html -- Installing reference/html/struct__jack__midi__event.html -- Installing reference/html/struct__jack__session__event.html -- Installing reference/html/structjack__position__t.html -- Installing reference/html/structjack__ringbuffer__data__t.html -- Installing reference/html/structjack__ringbuffer__t.html -- Installing reference/html/structjack__session__command__t.html -- Installing reference/html/structjack__transport__info__t.html -- Installing reference/html/structport__pair__t.html -- Installing reference/html/thread_8h.html -- Installing reference/html/thread_8h_source.html -- Installing reference/html/transport-design.html -- Installing reference/html/transport_8dox.html -- Installing reference/html/transport_8h.html -- Installing reference/html/transport_8h_source.html -- Installing reference/html/types_8h.html -- Installing reference/html/types_8h_source.html -- Installing reference/html/unionjackctl__parameter__value.html -- Installing reference/html/weakjack_8h.html -- Installing reference/html/weakjack_8h_source.html -- Installing reference/html/doxygen.png -- Installing reference/html/fsm.png -- Installing reference/html/doxygen.css gmake[2]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/doc' gmake[1]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/doc' Making install in man gmake[1]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/man' gmake install-am gmake[2]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/man' gmake[3]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/man' gmake[3]: Nothing to be done for `install-exec-am'. test -z "/usr/local/man/man1" || ../config/install-sh -c -d "/usr/local/man/man1" gmake[3]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/man' gmake[2]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/man' gmake[1]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/man' Making install in python gmake[1]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/python' gmake[2]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/python' gmake[2]: Nothing to be done for `install-exec-am'. gmake[2]: Nothing to be done for `install-data-am'. gmake[2]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/python' gmake[1]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3/python' gmake[1]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3' gmake[2]: Entering directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3' gmake[2]: Nothing to be done for `install-exec-am'. test -z "/usr/local/libdata/pkgconfig" || config/install-sh -c -d "/usr/local/libdata/pkgconfig" install -o root -g wheel -m 444 jack.pc '/usr/local/libdata/pkgconfig' gmake[2]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3' gmake[1]: Leaving directory `/work/a/ports/audio/jack/work/jack-audio-connection-kit-0.121.3' ===> Compressing manual pages for jackit-0.121.3_2 ===> Running ldconfig /sbin/ldconfig -m /usr/local/lib ===> Registering installation for jackit-0.121.3_2 ===> SECURITY REPORT: This port has installed the following files which may act as network servers and may therefore pose a remote security risk to the system. /usr/local/lib/libjackserver.so.0 /usr/local/lib/jack/jack_net.so /usr/local/bin/jack_netsource If there are vulnerabilities in these programs there may be a security risk to the system. FreeBSD makes no guarantee about the security of ports included in the Ports Collection. Please type 'make deinstall' to deinstall the port if this is a concern. For more information, and contact details about the security status of this software, see the following webpage: http://jackaudio.org/ ================================================================ ======================================== ===> Building package for jackit-0.121.3_2 Deleting jackit-0.121.3_2 pkg_delete: unable to completely remove directory '/usr/local/share/jack-audio-connection-kit/reference/html' pkg_delete: unable to completely remove directory '/usr/local/share/jack-audio-connection-kit/reference' pkg_delete: unable to completely remove directory '/usr/local/share/jack-audio-connection-kit' pkg_delete: couldn't entirely delete package (perhaps the packing list is incorrectly specified?) ================================================================ === Checking filesystem state list of extra files and directories in / (not present before this port was installed but present after it was deinstalled) 1343771 4 drwxr-xr-x 3 root wheel 512 Sep 3 01:44 usr/local/share/jack-audio-connection-kit 1343790 4 drwxr-xr-x 3 root wheel 512 Sep 3 01:44 usr/local/share/jack-audio-connection-kit/reference 1343791 8 drwxr-xr-x 2 root wheel 3072 Sep 3 01:45 usr/local/share/jack-audio-connection-kit/reference/html 1343797 12 -r--r--r-- 1 root wheel 5911 Sep 3 01:44 usr/local/share/jack-audio-connection-kit/reference/html/dir_3e6ff996e0a05d442d13220a8cf7408f.html 1343798 8 -r--r--r-- 1 root wheel 3271 Sep 3 01:44 usr/local/share/jack-audio-connection-kit/reference/html/dir_d611c2c1e1e252f8153c91ce21a161f9.html ================================================================ build of /usr/ports/audio/jack ended at Mon Sep 3 01:45:14 UTC 2012 From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 3 18:32:31 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 25AEE106566C; Mon, 3 Sep 2012 18:32:31 +0000 (UTC) (envelope-from hm@hm.net.br) Received: from msrv.matik.com.br (msrv.matik.com.br [187.95.0.181]) by mx1.freebsd.org (Postfix) with ESMTP id 58FF78FC0C; Mon, 3 Sep 2012 18:32:29 +0000 (UTC) Received: from pop1.hm.net.br (pop1.hm.net.br [177.180.199.32]) (authenticated bits=0) by msrv.matik.com.br (8.14.5/8.14.5) with ESMTP id q83IWHYK020657 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 3 Sep 2012 15:32:18 -0300 (BRT) (envelope-from hm@hm.net.br) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.97.5 at msrv.matik.com.br X-DKIM: OpenDKIM Filter v2.5.2 msrv.matik.com.br q83IWHYK020657 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=hm.net.br; s=racoon; t=1346697140; bh=BQ3/fh3b6NgmXLtyl63IyZTr6yQTVPbtff17AtQrmjo=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=XutxPbNhB69CNB7ZiF7hkOIs/UHhQA40VVV57wm7P5WwPMx1eGboxueLXsKds63GX 3fTJBcOjG97P8NFhxzKwS8vfyAiQv/f6uJDWwewG/89t4eIN9I0sX9QsAd7B6z2DCD sAPjVh8NJiE4b8/RuE6twRG8sv1Fmwi0zMmXov3s= Authentication-Results: msrv.matik.com.br; sender-id=pass header.from=hm@hm.net.br; auth=pass (PLAIN); spf=pass smtp.mfrom=hm@hm.net.br Message-ID: <5044F7A7.6030409@hm.net.br> Date: Mon, 03 Sep 2012 15:32:07 -0300 From: H Organization: HM-Net TI Ltda. User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:15.0) Gecko/20120901 Firefox/15.0 SeaMonkey/2.12 MIME-Version: 1.0 To: Thomas Zander References: <22239640.5438151346584906844.JavaMail.root@wmail3.libero.it> In-Reply-To: X-Enigmail-Version: 1.4.3 OpenPGP: id=9C63083C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigBEE357E3FC74C31D7245466D" X-Spam-Status: No, score=-301.3 required=5.0 tests=AWL=-0.604,BAYES_00=-1.9,DKIM_SIGNED=0.1,DKIM_VALID=-0.1,DKIM_VALID_AU=-0.1,RCVD_IN_RP_RNBL=1.31,SPF_PASS=-0.001,T_RP_MATCHES_RCVD=-0.01,USER_IN_DKIM_WHITELIST=-100,USER_IN_SPF_WHITELIST=-100,USER_IN_WHITELIST=-100 msrv.matik.com.br 1282; Body=1 Fuz1=1 Fuz2=1 Reported 0 times. [1 mail.matik.com.br.] [127.0.0.6] [187.95.0.182] autolearn=no ASN AS28573 177.180.192.0/21 X-Spam-Checker-Version: SpamAssassin 3.3.2-hm_201202.c (2011-06-06) on msrv.matik.com.br Cc: ports@freebsd.org, h.skuhra@gmail.com, Juergen Lock , freebsd-multimedia@freebsd.org Subject: Re: error building mplayer X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2012 18:32:31 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigBEE357E3FC74C31D7245466D Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 03/09/2012 15:12, Thomas Zander wrote: > On Mon, Sep 3, 2012 at 7:55 PM, Thomas Zander > wrote: >> Hi, >> >>> [mplayer build failed] >> >> Can you try the attached patch? >=20 > Updated patch (see attachment) with the codecsdir parameter for w32 > codecs on i386. >=20 > Riggs >=20 with the second patch it completed ok thanks Hans --=20 HM +55 11 4249.2222 --------------enigBEE357E3FC74C31D7245466D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlBE97EACgkQvKVfg5xjCDwrHwCgkNyDoY+hzSMJhclFq+he/Zfi VPIAoIb73HIZPUs4Lvro5RlXvN771hy0 =PLHm -----END PGP SIGNATURE----- --------------enigBEE357E3FC74C31D7245466D-- From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 3 18:43:34 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 910BF1065674 for ; Mon, 3 Sep 2012 18:43:34 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 178AE8FC0C for ; Mon, 3 Sep 2012 18:43:33 +0000 (UTC) Received: by bkcje9 with SMTP id je9so2743666bkc.13 for ; Mon, 03 Sep 2012 11:43:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=3EF6ilgc8viYVJ26HQNoZuX22HXs8NnBtgwXf4gspX8=; b=ruVQYgEPjBZaBDG4OYccshVsUH+V8aaBqjw9V+81i3i0wcBzj4iUC89qyWVWQ1Hbs7 cQekcuZWXuOR/Ptpsc3QQ+SsJM7FOyCgL/sNj3sIBH0hmhzDbpPhoboDW8fdhwr9Jk2V 3jzVMPOAOhWU+oQaBPLfMY4nzMeStrHkYdKMTF29Q9at4DpaeYYkNkhD6pCFRbQoqgr+ TwqhqS3mI5aqnpoF/53Js/lzG71ObGOPNdQExuZAEjbT0rLZEp19Cxhlgq9W0jGc3nyO eu7aB3+3SmpFuFgllJXULe4zbIpkfecN48gkNM/hGK5TUzcsgfgUdSPXmqQNeJPzlDCt Il+w== Received: by 10.204.129.14 with SMTP id m14mr7316293bks.7.1346697813213; Mon, 03 Sep 2012 11:43:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.10.141 with HTTP; Mon, 3 Sep 2012 11:43:03 -0700 (PDT) In-Reply-To: <20120903125123.GA1651@tiny.Sisis.de> References: <1346515258781-5739847.post@n5.nabble.com> <20120901174214.GA38645@tinyCurrent> <1346623371986-5740128.post@n5.nabble.com> <20120903044400.GA2271@tinyCurrent> <1346671235832-5740285.post@n5.nabble.com> <20120903112505.GA1451@tiny.Sisis.de> <1346672681003-5740292.post@n5.nabble.com> <1346675221022-5740306.post@n5.nabble.com> <20120903125123.GA1651@tiny.Sisis.de> From: Chris Rees Date: Mon, 3 Sep 2012 19:43:03 +0100 Message-ID: To: Matthias Apitz Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-multimedia@freebsd.org, SicoSico Subject: Re: baresip (was Re: Ekiga && FreeBSD (for a future without Skype) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2012 18:43:34 -0000 On 3 September 2012 13:51, Matthias Apitz wrote: > El d=EDa Monday, September 03, 2012 a las 01:39:47PM +0100, Chris Rees es= cribi=F3: > >> Oh dear... that's the problem. As Matthias has pointed out, the libs mu= st >> be in /usr/lib32. >> >> The other problem is that you're obviously not running CURRENT, so >> Matthias's libssl version does not match yours. > > yes; > >> >> Matthias, did you get v4l2 working, and if so, how? > > I have the following lines in the config: > > $ egrep 'video|v4' .baresip/config > video_dev /dev/video0 > video_size 352x288 > video_bitrate 384000 > video_fps 25 > #video_selfview window # {window,pip} > module v4l2.so > #module v4l.so > > and when I press 'v' it starts the video loop as: > > Enable video-loop on /dev/video0: 352 x 288 > v4l2: open video source: 352 x 288 > /dev/video0: found valid V4L2 device (352 x 288) pixfmt=3DYU12 > Current input: Camera 1 > > and I can seeme fine; > > as I said, I compiled v0.4.0 directly from the sources, just the normal w= ay: > > $ ./configure > $ make > # make install > > I do not remember (and can't check it now) if I set some special flags > in ./configure, will check later at home; > The port now supports V4L2 and PORTAUDIO as well, after investigation and sharing code. Beer is owed to Matthias for doing the real work! Chris From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 3 19:12:11 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DCCEC1065673 for ; Mon, 3 Sep 2012 19:12:11 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 2785B8FC19 for ; Mon, 3 Sep 2012 19:12:10 +0000 (UTC) Received: from [89.204.139.206] (helo=tiny.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1T8c42-0005Bh-R6; Mon, 03 Sep 2012 21:12:03 +0200 Received: from tiny.Sisis.de (localhost [127.0.0.1]) by tiny.Sisis.de (8.14.5/8.14.3) with ESMTP id q83JBxPa001441; Mon, 3 Sep 2012 21:12:00 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de (8.14.5/8.14.3/Submit) id q83JBwl2001440; Mon, 3 Sep 2012 21:11:58 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Mon, 3 Sep 2012 21:11:58 +0200 From: Matthias Apitz To: Chris Rees Message-ID: <20120903191157.GA1414@tiny.Sisis.de> References: <1346623371986-5740128.post@n5.nabble.com> <20120903044400.GA2271@tinyCurrent> <1346671235832-5740285.post@n5.nabble.com> <20120903112505.GA1451@tiny.Sisis.de> <1346672681003-5740292.post@n5.nabble.com> <1346675221022-5740306.post@n5.nabble.com> <20120903125123.GA1651@tiny.Sisis.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 10.0-CURRENT r226986 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.139.206 Cc: freebsd-multimedia@freebsd.org, SicoSico Subject: Re: baresip (was Re: Ekiga && FreeBSD (for a future without Skype) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2012 19:12:12 -0000 El día Monday, September 03, 2012 a las 07:43:03PM +0100, Chris Rees escribió: > The port now supports V4L2 and PORTAUDIO as well, after investigation > and sharing code. > > Beer is owed to Matthias for doing the real work! Concerning beer: I ported baresip to my FreeBSD laptops to see if I could substitute with this Skype, for example that my wife could phone me from home to my FreeBSD netbook connected via UMTS to Internet while sitting in the greens, in a beer garden; I could never manage this; SIP, in general, seems to be a mess, and my UMTS provider, in detail, does not NAT the incoming IP traffic to my netbook :-( the dream continues to have video and voice without Skype, ofc matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: guru@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 3 19:16:26 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2AE52106566B for ; Mon, 3 Sep 2012 19:16:26 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id A1C088FC14 for ; Mon, 3 Sep 2012 19:16:25 +0000 (UTC) Received: by bkcje9 with SMTP id je9so2754888bkc.13 for ; Mon, 03 Sep 2012 12:16:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=vn5QRipkMBSeGikIkTqX+py8A6l04aBjzeHmtfM6g3w=; b=tpvrUxex0m6dvPQALpWLv1Vx5ZO//8xGkHh4NrXEwoVoNTJd15vQZNILx/k8hJR/Iy F+baYMGTd2v4u0za0wg0k5GMmawxACbLaOa6b8yzcpSGl4LVTzeVbQcXSWtjW36nU/U5 fq0xCkeicKYv+M4ARyqwXWAZeW6z6/tEWXj6iS5/WSGslA9Qqwdvc2kuiS+ie8wWO3Qk 3CHJZGQd5CmntuoKezZRK84NGHnVPd8um9DQBDIpyzRr3Dro1B8JPcFOD7ToynlRr6rK JBNK9EFRauW4lm9tiMsx8ZtcVKt0wnbXx2pErmSPZK2VMy+YU0hQqQmh6wMkDgtFeznk D+Gw== Received: by 10.204.152.27 with SMTP id e27mr7324139bkw.56.1346699784578; Mon, 03 Sep 2012 12:16:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.10.141 with HTTP; Mon, 3 Sep 2012 12:15:54 -0700 (PDT) In-Reply-To: <20120903191157.GA1414@tiny.Sisis.de> References: <1346623371986-5740128.post@n5.nabble.com> <20120903044400.GA2271@tinyCurrent> <1346671235832-5740285.post@n5.nabble.com> <20120903112505.GA1451@tiny.Sisis.de> <1346672681003-5740292.post@n5.nabble.com> <1346675221022-5740306.post@n5.nabble.com> <20120903125123.GA1651@tiny.Sisis.de> <20120903191157.GA1414@tiny.Sisis.de> From: Chris Rees Date: Mon, 3 Sep 2012 20:15:54 +0100 Message-ID: To: Matthias Apitz Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-multimedia@freebsd.org, SicoSico Subject: Re: baresip (was Re: Ekiga && FreeBSD (for a future without Skype) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2012 19:16:26 -0000 On 3 September 2012 20:11, Matthias Apitz wrote: > El d=EDa Monday, September 03, 2012 a las 07:43:03PM +0100, Chris Rees es= cribi=F3: > >> The port now supports V4L2 and PORTAUDIO as well, after investigation >> and sharing code. >> >> Beer is owed to Matthias for doing the real work! > > Concerning beer: I ported baresip to my FreeBSD laptops to see if I could > substitute with this Skype, for example that my wife could phone me from > home to my FreeBSD netbook connected via UMTS to Internet while sitting > in the greens, in a beer garden; I could never manage this; SIP, in > general, seems to be a mess, and my UMTS provider, in detail, does not > NAT the incoming IP traffic to my netbook :-( > > the dream continues to have video and voice without Skype, ofc Well, UMTS tends to strictly forbid any VOIP traffic anyway; they're run by phone companies, so they don't want you doing that. I don't think you'll find a way around it, and if you do, you risk the wrath of your ISP :P Chris From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 3 19:28:25 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A53E1065670 for ; Mon, 3 Sep 2012 19:28:25 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 21A078FC24 for ; Mon, 3 Sep 2012 19:28:24 +0000 (UTC) Received: from [89.204.139.206] (helo=tiny.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1T8cJr-0003xe-GT; Mon, 03 Sep 2012 21:28:23 +0200 Received: from tiny.Sisis.de (localhost [127.0.0.1]) by tiny.Sisis.de (8.14.5/8.14.3) with ESMTP id q83JSKJw001492; Mon, 3 Sep 2012 21:28:20 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de (8.14.5/8.14.3/Submit) id q83JSECO001491; Mon, 3 Sep 2012 21:28:14 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Mon, 3 Sep 2012 21:28:14 +0200 From: Matthias Apitz To: Chris Rees Message-ID: <20120903192812.GA1478@tiny.Sisis.de> References: <1346671235832-5740285.post@n5.nabble.com> <20120903112505.GA1451@tiny.Sisis.de> <1346672681003-5740292.post@n5.nabble.com> <1346675221022-5740306.post@n5.nabble.com> <20120903125123.GA1651@tiny.Sisis.de> <20120903191157.GA1414@tiny.Sisis.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 10.0-CURRENT r226986 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.139.206 Cc: freebsd-multimedia@freebsd.org, SicoSico Subject: Re: baresip (was Re: Ekiga && FreeBSD (for a future without Skype) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2012 19:28:25 -0000 El día Monday, September 03, 2012 a las 08:15:54PM +0100, Chris Rees escribió: > > substitute with this Skype, for example that my wife could phone me from > > home to my FreeBSD netbook connected via UMTS to Internet while sitting > > in the greens, in a beer garden; I could never manage this; SIP, in > > general, seems to be a mess, and my UMTS provider, in detail, does not > > NAT the incoming IP traffic to my netbook :-( > > > > the dream continues to have video and voice without Skype, ofc > > Well, UMTS tends to strictly forbid any VOIP traffic anyway; they're > run by phone companies, so they don't want you doing that. My UMTS provider is Fonic.de, a German o2 label; and they do no forbid VOIP as I read, and there is no problem with Skype calls, for example. It is just not working, not even incoming SSH is NAT'ed to the ppp interface. matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: guru@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 3 19:30:01 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7127C106567E; Mon, 3 Sep 2012 19:30:01 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe08.c2i.net [212.247.154.226]) by mx1.freebsd.org (Postfix) with ESMTP id 2B4ED8FC21; Mon, 3 Sep 2012 19:29:59 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [176.74.212.201] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe08.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 316209875; Mon, 03 Sep 2012 21:29:50 +0200 From: Hans Petter Selasky To: Roberth =?iso-8859-1?q?Sjon=F8y?= Date: Mon, 3 Sep 2012 21:30:52 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.1-PRERELEASE; KDE/4.8.4; amd64; ; ) References: <201209021300.58695.hselasky@c2i.net> In-Reply-To: X-Face: 'mmZ:T{)),Oru^0c+/}w'`gU1$ubmG?lp!=R4Wy\ELYo2)@'UZ24N@ =?iso-8859-1?q?d2+AyewRX=7DmAm=3BYp=0A=09=7CU=5B?=@, _z/([?1bCfM{_"B<.J>mICJCHAzzGHI{y7{%JVz%R~yJHIji`y> =?iso-8859-1?q?Y=7Dk1C4TfysrsUI=0A=09-=25GU9V5=5DiUZF=26nRn9mJ=27=3F=26?=>O MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_sVQRQoKLq20BXa9" Message-Id: <201209032130.52971.hselasky@c2i.net> Cc: freebsd-multimedia@freebsd.org, freebsd-usb@freebsd.org Subject: Re: M2Tech HiFace Two and FreeBSD X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2012 19:30:01 -0000 --Boundary-00=_sVQRQoKLq20BXa9 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable On Sunday 02 September 2012 13:06:40 Roberth Sjon=F8y wrote: > Here you go, >=20 > http://pastebin.com/LKT1LkNd >=20 > Regards, >=20 > Roberth Sjon=F8y Hi, I spent some time today to pull together USB AUDIO V2.0 support for FreeBSD= =2E=20 See: http://svn.freebsd.org/changeset/base/240078 The attached patch will update uaudio.c, but is not complete. Only mixer=20 parsing is complete. Audio descriptors and sample rate selection is not=20 complete. Can you see what you get when you load snd_uaudio after applying the attach= ed=20 patch + r240078 ? If you want to help out fix the remaining few bits and pieces feel free. Th= ey=20 are all located inside "uaudio_chan_fill_info()" in uaudio.c ! =2D-HPS --Boundary-00=_sVQRQoKLq20BXa9 Content-Type: text/x-patch; charset="iso-8859-1"; name="uaudio.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="uaudio.diff" === sys/dev/sound/usb/uaudio.c ================================================================== --- sys/dev/sound/usb/uaudio.c (revision 240078) +++ sys/dev/sound/usb/uaudio.c (local) @@ -162,7 +162,6 @@ struct uaudio_softc *priv_sc; struct pcm_channel *pcm_ch; struct usb_xfer *xfer[UAUDIO_NCHANBUFS]; - const struct usb_audio_streaming_interface_descriptor *p_asid; const struct usb_audio_streaming_type1_descriptor *p_asf1d; const struct usb_audio_streaming_endpoint_descriptor *p_sed; const usb_endpoint_descriptor_audio_t *p_ed1; @@ -296,6 +295,26 @@ struct uaudio_terminal_node *root; }; +struct uaudio20_terminal_node { + union { + const struct usb_descriptor *desc; + const struct usb_audio20_clock_source_unit *csrc; + const struct usb_audio20_clock_selector_unit *csel; + const struct usb_audio20_clock_multiplier_unit *cmul; + const struct usb_audio20_input_terminal *it; + const struct usb_audio20_output_terminal *ot; + const struct usb_audio20_mixer_unit_0 *mu; + const struct usb_audio20_selector_unit *su; + const struct usb_audio20_feature_unit *fu; + const struct usb_audio20_sample_rate_unit *ru; + const struct usb_audio20_processing_unit_0 *pu; + const struct usb_audio20_extension_unit_0 *eu; + const struct usb_audio20_effect_unit *ef; + } u; + struct uaudio_search_result usr; + struct uaudio20_terminal_node *root; +}; + struct uaudio_format { uint16_t wFormat; uint8_t bPrecision; @@ -321,6 +340,31 @@ {0, 0, 0, NULL} }; +struct uaudio20_format { + uint32_t dwFormat; + uint8_t bPrecision; + uint32_t freebsd_fmt; + const char *description; +}; + +static const struct uaudio20_format uaudio20_formats[] = { + + {UA20_FMT_PCM8, 8, AFMT_U8, "8-bit U-LE PCM"}, + {UA20_FMT_PCM8, 16, AFMT_U16_LE, "16-bit U-LE PCM"}, + {UA20_FMT_PCM8, 24, AFMT_U24_LE, "24-bit U-LE PCM"}, + {UA20_FMT_PCM8, 32, AFMT_U32_LE, "32-bit U-LE PCM"}, + + {UA20_FMT_PCM, 8, AFMT_S8, "8-bit S-LE PCM"}, + {UA20_FMT_PCM, 16, AFMT_S16_LE, "16-bit S-LE PCM"}, + {UA20_FMT_PCM, 24, AFMT_S24_LE, "24-bit S-LE PCM"}, + {UA20_FMT_PCM, 32, AFMT_S32_LE, "32-bit S-LE PCM"}, + + {UA20_FMT_ALAW, 8, AFMT_A_LAW, "8-bit A-Law"}, + {UA20_FMT_MULAW, 8, AFMT_MU_LAW, "8-bit mu-Law"}, + + {0, 0, 0, NULL} +}; + #define UAC_OUTPUT 0 #define UAC_INPUT 1 #define UAC_EQUAL 2 @@ -346,18 +390,8 @@ static usb_callback_t umidi_bulk_read_callback; static usb_callback_t umidi_bulk_write_callback; -static void uaudio_chan_fill_info_sub(struct uaudio_softc *, - struct usb_device *, uint32_t, uint8_t, uint8_t); -static void uaudio_chan_fill_info(struct uaudio_softc *, - struct usb_device *); -static void uaudio_mixer_add_ctl_sub(struct uaudio_softc *, - struct uaudio_mixer_node *); -static void uaudio_mixer_add_ctl(struct uaudio_softc *, - struct uaudio_mixer_node *); -static void uaudio_mixer_add_input(struct uaudio_softc *, - const struct uaudio_terminal_node *, int); -static void uaudio_mixer_add_output(struct uaudio_softc *, - const struct uaudio_terminal_node *, int); +/* ==== USB audio v1.0 ==== */ + static void uaudio_mixer_add_mixer(struct uaudio_softc *, const struct uaudio_terminal_node *, int); static void uaudio_mixer_add_selector(struct uaudio_softc *, @@ -386,6 +420,42 @@ const uint8_t *, uint8_t, struct uaudio_search_result *); static void uaudio_mixer_find_outputs_sub(struct uaudio_terminal_node *, uint8_t, uint8_t, struct uaudio_search_result *); +static const void *uaudio_mixer_verify_desc(const void *, uint32_t); + +/* ==== USB audio v2.0 ==== */ + +static void uaudio20_mixer_add_mixer(struct uaudio_softc *, + const struct uaudio20_terminal_node *, int); +static void uaudio20_mixer_add_selector(struct uaudio_softc *, + const struct uaudio20_terminal_node *, int); +static void uaudio20_mixer_add_feature(struct uaudio_softc *, + const struct uaudio20_terminal_node *, int); +static struct usb_audio20_cluster uaudio20_mixer_get_cluster(uint8_t, + const struct uaudio20_terminal_node *); +static uint16_t uaudio20_mixer_determine_class(const struct uaudio20_terminal_node *, + struct uaudio_mixer_node *); +static uint16_t uaudio20_mixer_feature_name(const struct uaudio20_terminal_node *, + struct uaudio_mixer_node *); +static const struct uaudio20_terminal_node *uaudio20_mixer_get_input( + const struct uaudio20_terminal_node *, uint8_t); +static const struct uaudio20_terminal_node *uaudio20_mixer_get_output( + const struct uaudio20_terminal_node *, uint8_t); +static void uaudio20_mixer_find_inputs_sub(struct uaudio20_terminal_node *, + const uint8_t *, uint8_t, struct uaudio_search_result *); +static void uaudio20_mixer_find_outputs_sub(struct uaudio20_terminal_node *, + uint8_t, uint8_t, struct uaudio_search_result *); +static const void *uaudio20_mixer_verify_desc(const void *, uint32_t); + +/* USB audio v1.0 and v2.0 */ + +static void uaudio_chan_fill_info_sub(struct uaudio_softc *, + struct usb_device *, uint32_t, uint8_t, uint8_t); +static void uaudio_chan_fill_info(struct uaudio_softc *, + struct usb_device *); +static void uaudio_mixer_add_ctl_sub(struct uaudio_softc *, + struct uaudio_mixer_node *); +static void uaudio_mixer_add_ctl(struct uaudio_softc *, + struct uaudio_mixer_node *); static void uaudio_mixer_fill_info(struct uaudio_softc *, struct usb_device *, void *); static uint16_t uaudio_mixer_get(struct usb_device *, uint8_t, @@ -395,7 +465,6 @@ static usb_error_t uaudio_set_speed(struct usb_device *, uint8_t, uint32_t); static int uaudio_mixer_signext(uint8_t, int); static int uaudio_mixer_bsd2value(struct uaudio_mixer_node *, int32_t val); -static const void *uaudio_mixer_verify_desc(const void *, uint32_t); static void uaudio_mixer_init(struct uaudio_softc *); static uint8_t umidi_convert_to_usb(struct umidi_sub_chan *, uint8_t, uint8_t); static struct umidi_sub_chan *umidi_sub_by_fifo(struct usb_fifo *); @@ -413,9 +482,6 @@ #ifdef USB_DEBUG static void uaudio_chan_dump_ep_desc( const usb_endpoint_descriptor_audio_t *); -static void uaudio_mixer_dump_cluster(uint8_t, - const struct uaudio_terminal_node *); -static const char *uaudio_mixer_get_terminal_name(uint16_t); #endif static const struct usb_config @@ -614,10 +680,10 @@ id = usbd_get_interface_descriptor(uaa->iface); + uaudio_mixer_fill_info(sc, uaa->device, id); + uaudio_chan_fill_info(sc, uaa->device); - uaudio_mixer_fill_info(sc, uaa->device, id); - DPRINTF("audio rev %d.%02x\n", sc->sc_audio_rev >> 8, sc->sc_audio_rev & 0xff); @@ -862,7 +928,7 @@ uint32_t rate, uint8_t channels, uint8_t bit_resolution) { struct usb_descriptor *desc = NULL; - const struct usb_audio_streaming_interface_descriptor *asid = NULL; + const struct usb_audio_streaming_interface_descriptor *asid= NULL; const struct usb_audio_streaming_type1_descriptor *asf1d = NULL; const struct usb_audio_streaming_endpoint_descriptor *sed = NULL; usb_endpoint_descriptor_audio_t *ed1 = NULL; @@ -1047,7 +1113,6 @@ bit_resolution, p_fmt->description); chan->sample_rate = rate; - chan->p_asid = asid; chan->p_asf1d = asf1d; chan->p_ed1 = ed1; chan->p_ed2 = ed2; @@ -1724,43 +1789,94 @@ } static void -uaudio_mixer_add_input(struct uaudio_softc *sc, +uaudio_mixer_add_mixer(struct uaudio_softc *sc, const struct uaudio_terminal_node *iot, int id) { -#ifdef USB_DEBUG - const struct usb_audio_input_terminal *d = iot[id].u.it; + struct uaudio_mixer_node mix; - DPRINTFN(3, "bTerminalId=%d wTerminalType=0x%04x " - "bAssocTerminal=%d bNrChannels=%d wChannelConfig=%d " - "iChannelNames=%d\n", - d->bTerminalId, UGETW(d->wTerminalType), d->bAssocTerminal, - d->bNrChannels, UGETW(d->wChannelConfig), - d->iChannelNames); -#endif -} + const struct usb_audio_mixer_unit_0 *d0 = iot[id].u.mu; + const struct usb_audio_mixer_unit_1 *d1; -static void -uaudio_mixer_add_output(struct uaudio_softc *sc, - const struct uaudio_terminal_node *iot, int id) -{ -#ifdef USB_DEBUG - const struct usb_audio_output_terminal *d = iot[id].u.ot; + uint32_t bno; /* bit number */ + uint32_t p; /* bit number accumulator */ + uint32_t mo; /* matching outputs */ + uint32_t mc; /* matching channels */ + uint32_t ichs; /* input channels */ + uint32_t ochs; /* output channels */ + uint32_t c; + uint32_t chs; /* channels */ + uint32_t i; + uint32_t o; - DPRINTFN(3, "bTerminalId=%d wTerminalType=0x%04x " - "bAssocTerminal=%d bSourceId=%d iTerminal=%d\n", - d->bTerminalId, UGETW(d->wTerminalType), d->bAssocTerminal, - d->bSourceId, d->iTerminal); -#endif + DPRINTFN(3, "bUnitId=%d bNrInPins=%d\n", + d0->bUnitId, d0->bNrInPins); + + /* compute the number of input channels */ + + ichs = 0; + for (i = 0; i < d0->bNrInPins; i++) { + ichs += uaudio_mixer_get_cluster( + d0->baSourceId[i], iot).bNrChannels; + } + + d1 = (const void *)(d0->baSourceId + d0->bNrInPins); + + /* and the number of output channels */ + + ochs = d1->bNrChannels; + + DPRINTFN(3, "ichs=%d ochs=%d\n", ichs, ochs); + + memset(&mix, 0, sizeof(mix)); + + mix.wIndex = MAKE_WORD(d0->bUnitId, sc->sc_mixer_iface_no); + uaudio_mixer_determine_class(&iot[id], &mix); + mix.type = MIX_SIGNED_16; + + if (uaudio_mixer_verify_desc(d0, ((ichs * ochs) + 7) / 8) == NULL) + return; + + for (p = i = 0; i < d0->bNrInPins; i++) { + chs = uaudio_mixer_get_cluster( + d0->baSourceId[i], iot).bNrChannels; + mc = 0; + for (c = 0; c < chs; c++) { + mo = 0; + for (o = 0; o < ochs; o++) { + bno = ((p + c) * ochs) + o; + if (BIT_TEST(d1->bmControls, bno)) + mo++; + } + if (mo == 1) + mc++; + } + if ((mc == chs) && (chs <= MIX_MAX_CHAN)) { + + /* repeat bit-scan */ + + mc = 0; + for (c = 0; c < chs; c++) { + for (o = 0; o < ochs; o++) { + bno = ((p + c) * ochs) + o; + if (BIT_TEST(d1->bmControls, bno)) + mix.wValue[mc++] = MAKE_WORD(p + c + 1, o + 1); + } + } + mix.nchan = chs; + uaudio_mixer_add_ctl(sc, &mix); + } + p += chs; + } } static void -uaudio_mixer_add_mixer(struct uaudio_softc *sc, - const struct uaudio_terminal_node *iot, int id) +uaudio20_mixer_add_mixer(struct uaudio_softc *sc, + const struct uaudio20_terminal_node *iot, int id) { struct uaudio_mixer_node mix; - const struct usb_audio_mixer_unit_0 *d0 = iot[id].u.mu; - const struct usb_audio_mixer_unit_1 *d1; + const struct usb_audio20_mixer_unit_0 *d0 = iot[id].u.mu; + const struct usb_audio20_mixer_unit_1 *d1; uint32_t bno; /* bit number */ uint32_t p; /* bit number accumulator */ @@ -1780,8 +1896,8 @@ ichs = 0; for (i = 0; i < d0->bNrInPins; i++) { - ichs += (uaudio_mixer_get_cluster(d0->baSourceId[i], iot) - .bNrChannels); + ichs += uaudio20_mixer_get_cluster( + d0->baSourceId[i], iot).bNrChannels; } d1 = (const void *)(d0->baSourceId + d0->bNrInPins); @@ -1795,26 +1911,25 @@ memset(&mix, 0, sizeof(mix)); mix.wIndex = MAKE_WORD(d0->bUnitId, sc->sc_mixer_iface_no); - uaudio_mixer_determine_class(&iot[id], &mix); + uaudio20_mixer_determine_class(&iot[id], &mix); mix.type = MIX_SIGNED_16; - if (uaudio_mixer_verify_desc(d0, ((ichs * ochs) + 7) / 8) == NULL) { + if (uaudio20_mixer_verify_desc(d0, ((ichs * ochs) + 7) / 8) == NULL) return; - } + for (p = i = 0; i < d0->bNrInPins; i++) { - chs = uaudio_mixer_get_cluster(d0->baSourceId[i], iot).bNrChannels; + chs = uaudio20_mixer_get_cluster( + d0->baSourceId[i], iot).bNrChannels; mc = 0; for (c = 0; c < chs; c++) { mo = 0; for (o = 0; o < ochs; o++) { bno = ((p + c) * ochs) + o; - if (BIT_TEST(d1->bmControls, bno)) { + if (BIT_TEST(d1->bmControls, bno)) mo++; - } } - if (mo == 1) { + if (mo == 1) mc++; - } } if ((mc == chs) && (chs <= MIX_MAX_CHAN)) { @@ -1824,15 +1939,12 @@ for (c = 0; c < chs; c++) { for (o = 0; o < ochs; o++) { bno = ((p + c) * ochs) + o; - if (BIT_TEST(d1->bmControls, bno)) { + if (BIT_TEST(d1->bmControls, bno)) mix.wValue[mc++] = MAKE_WORD(p + c + 1, o + 1); - } } } mix.nchan = chs; uaudio_mixer_add_ctl(sc, &mix); - } else { - /* XXX */ } p += chs; } @@ -1882,6 +1994,49 @@ uaudio_mixer_add_ctl(sc, &mix); } +static void +uaudio20_mixer_add_selector(struct uaudio_softc *sc, + const struct uaudio20_terminal_node *iot, int id) +{ + const struct usb_audio20_selector_unit *d = iot[id].u.su; + struct uaudio_mixer_node mix; + uint16_t i; + + DPRINTFN(3, "bUnitId=%d bNrInPins=%d\n", + d->bUnitId, d->bNrInPins); + + if (d->bNrInPins == 0) + return; + + memset(&mix, 0, sizeof(mix)); + + mix.wIndex = MAKE_WORD(d->bUnitId, sc->sc_mixer_iface_no); + mix.wValue[0] = MAKE_WORD(0, 0); + uaudio20_mixer_determine_class(&iot[id], &mix); + mix.nchan = 1; + mix.type = MIX_SELECTOR; + + mix.ctl = SOUND_MIXER_NRDEVICES; + mix.minval = 1; + mix.maxval = d->bNrInPins; + + if (mix.maxval > MAX_SELECTOR_INPUT_PIN) + mix.maxval = MAX_SELECTOR_INPUT_PIN; + + mix.mul = (mix.maxval - mix.minval); + for (i = 0; i < MAX_SELECTOR_INPUT_PIN; i++) + mix.slctrtype[i] = SOUND_MIXER_NRDEVICES; + + for (i = 0; i < mix.maxval; i++) { + mix.slctrtype[i] = uaudio20_mixer_feature_name( + &iot[d->baSourceId[i]], &mix); + } + + mix.class = 0; /* not used */ + + uaudio_mixer_add_ctl(sc, &mix); +} + static uint32_t uaudio_mixer_feature_get_bmaControls(const struct usb_audio_feature_unit *d, uint8_t i) @@ -2031,6 +2186,127 @@ } static void +uaudio20_mixer_add_feature(struct uaudio_softc *sc, + const struct uaudio20_terminal_node *iot, int id) +{ + const struct usb_audio20_feature_unit *d = iot[id].u.fu; + struct uaudio_mixer_node mix; + uint32_t ctl; + uint32_t mmask; + uint32_t cmask; + uint16_t mixernumber; + uint8_t nchan; + uint8_t chan; + uint8_t i; + uint8_t what; + + if (UGETDW(d->bmaControls[0]) == 0) + return; + + memset(&mix, 0, sizeof(mix)); + + nchan = (d->bLength - 6) / 4; + mmask = UGETDW(d->bmaControls[0]); + cmask = 0; + + if (nchan == 0) + return; + + /* figure out what we can control */ + + for (chan = 1; chan < nchan; chan++) + cmask |= UGETDW(d->bmaControls[chan]); + + if (nchan > MIX_MAX_CHAN) + nchan = MIX_MAX_CHAN; + + mix.wIndex = MAKE_WORD(d->bUnitId, sc->sc_mixer_iface_no); + + for (ctl = 3; ctl != 0; ctl <<= 2) { + + mixernumber = uaudio20_mixer_feature_name(&iot[id], &mix); + + switch (ctl) { + case (3 << 0): + mix.type = MIX_ON_OFF; + mix.ctl = SOUND_MIXER_NRDEVICES; + what = MUTE_CONTROL; + break; + case (3 << 2): + mix.type = MIX_SIGNED_16; + mix.ctl = mixernumber; + what = VOLUME_CONTROL; + break; + case (3 << 4): + mix.type = MIX_SIGNED_8; + mix.ctl = SOUND_MIXER_BASS; + what = BASS_CONTROL; + break; + case (3 << 6): + mix.type = MIX_SIGNED_8; + mix.ctl = SOUND_MIXER_NRDEVICES; /* XXXXX */ + what = MID_CONTROL; + break; + case (3 << 8): + mix.type = MIX_SIGNED_8; + mix.ctl = SOUND_MIXER_TREBLE; + what = TREBLE_CONTROL; + break; + case (3 << 12): + mix.type = MIX_ON_OFF; + mix.ctl = SOUND_MIXER_NRDEVICES; /* XXXXX */ + what = AGC_CONTROL; + break; + case (3 << 14): + mix.type = MIX_UNSIGNED_16; + mix.ctl = SOUND_MIXER_NRDEVICES; /* XXXXX */ + what = DELAY_CONTROL; + break; + case (3 << 16): + mix.type = MIX_ON_OFF; + mix.ctl = SOUND_MIXER_NRDEVICES; /* XXXXX */ + what = BASS_BOOST_CONTROL; + break; + case (3 << 18): + mix.type = MIX_ON_OFF; + mix.ctl = SOUND_MIXER_LOUD; /* Is this correct ? */ + what = LOUDNESS_CONTROL; + break; + case (3 << 20): + mix.type = MIX_SIGNED_16; + mix.ctl = mixernumber; + what = INPUT_GAIN_CONTROL; + break; + case (3 << 22): + mix.type = MIX_SIGNED_16; + mix.ctl = mixernumber; + what = INPUT_GAIN_PAD_CONTROL; + break; + default: + continue; + } + + if ((mmask & ctl) == ctl) { + mix.nchan = 1; + mix.wValue[0] = MAKE_WORD(what, 0); + } else if ((cmask & ctl) == ctl) { + mix.nchan = nchan - 1; + for (i = 1; i < nchan; i++) { + if ((UGETDW(d->bmaControls[i]) & ctl) == ctl) + mix.wValue[i - 1] = MAKE_WORD(what, i); + else + mix.wValue[i - 1] = -1; + } + } else { + continue; + } + + if (mix.type != MIX_UNKNOWN) + uaudio_mixer_add_ctl(sc, &mix); + } +} + +static void uaudio_mixer_add_processing_updown(struct uaudio_softc *sc, const struct uaudio_terminal_node *iot, int id) { @@ -2276,35 +2552,144 @@ return (NULL); } -#ifdef USB_DEBUG -static void -uaudio_mixer_dump_cluster(uint8_t id, const struct uaudio_terminal_node *iot) +static const void * +uaudio20_mixer_verify_desc(const void *arg, uint32_t len) { - static const char *channel_names[16] = { - "LEFT", "RIGHT", "CENTER", "LFE", - "LEFT_SURROUND", "RIGHT_SURROUND", "LEFT_CENTER", "RIGHT_CENTER", - "SURROUND", "LEFT_SIDE", "RIGHT_SIDE", "TOP", - "RESERVED12", "RESERVED13", "RESERVED14", "RESERVED15", - }; - uint16_t cc; - uint8_t i; - const struct usb_audio_cluster cl = uaudio_mixer_get_cluster(id, iot); + const struct usb_audio20_mixer_unit_1 *d1; + const struct usb_audio20_extension_unit_1 *e1; + const struct usb_audio20_processing_unit_1 *u1; - cc = UGETW(cl.wChannelConfig); + union { + const struct usb_descriptor *desc; + const struct usb_audio20_clock_source_unit *csrc; + const struct usb_audio20_clock_selector_unit *csel; + const struct usb_audio20_clock_multiplier_unit *cmul; + const struct usb_audio20_input_terminal *it; + const struct usb_audio20_output_terminal *ot; + const struct usb_audio20_mixer_unit_0 *mu; + const struct usb_audio20_selector_unit *su; + const struct usb_audio20_feature_unit *fu; + const struct usb_audio20_sample_rate_unit *ru; + const struct usb_audio20_processing_unit_0 *pu; + const struct usb_audio20_extension_unit_0 *eu; + const struct usb_audio20_effect_unit *ef; + } u; - DPRINTF("cluster: bNrChannels=%u iChannelNames=%u wChannelConfig=" - "0x%04x:\n", cl.iChannelNames, cl.bNrChannels, cc); + u.desc = arg; - for (i = 0; cc; i++) { - if (cc & 1) { - DPRINTF(" - %s\n", channel_names[i]); - } - cc >>= 1; + if (u.desc == NULL) + goto error; + if (u.desc->bDescriptorType != UDESC_CS_INTERFACE) + goto error; + switch (u.desc->bDescriptorSubtype) { + case UDESCSUB_AC_INPUT: + len += sizeof(*u.it); + break; + + case UDESCSUB_AC_OUTPUT: + len += sizeof(*u.ot); + break; + + case UDESCSUB_AC_MIXER: + len += sizeof(*u.mu); + + if (u.desc->bLength < len) + goto error; + len += u.mu->bNrInPins; + + if (u.desc->bLength < len) + goto error; + + d1 = (const void *)(u.mu->baSourceId + u.mu->bNrInPins); + + len += sizeof(*d1) + d1->bNrChannels; + break; + + case UDESCSUB_AC_SELECTOR: + len += sizeof(*u.su); + + if (u.desc->bLength < len) + goto error; + + len += u.su->bNrInPins; + break; + + case UDESCSUB_AC_FEATURE: + len += sizeof(*u.fu); + break; + + case UDESCSUB_AC_EFFECT: + len += sizeof(*u.ef) + 4; + break; + + case UDESCSUB_AC_PROCESSING_V2: + len += sizeof(*u.pu); + + if (u.desc->bLength < len) + goto error; + + len += u.pu->bNrInPins; + + if (u.desc->bLength < len) + goto error; + + u1 = (const void *)(u.pu->baSourceId + u.pu->bNrInPins); + + len += sizeof(*u1); + break; + + case UDESCSUB_AC_EXTENSION_V2: + len += sizeof(*u.eu); + + if (u.desc->bLength < len) + goto error; + + len += u.eu->bNrInPins; + + if (u.desc->bLength < len) + goto error; + + e1 = (const void *)(u.eu->baSourceId + u.eu->bNrInPins); + + len += sizeof(*e1); + break; + + case UDESCSUB_AC_CLOCK_SRC: + len += sizeof(*u.csrc); + break; + + case UDESCSUB_AC_CLOCK_SEL: + len += sizeof(*u.csel); + break; + + case UDESCSUB_AC_CLOCK_MUL: + len += sizeof(*u.cmul); + break; + + case UDESCSUB_AC_SAMPLE_RT: + len += sizeof(*u.ru); + break; + + default: + goto error; } + + if (u.desc->bLength < len) + goto error; + + return (u.desc); + +error: + if (u.desc) { + DPRINTF("invalid descriptor, type=%d, " + "sub_type=%d, len=%d of %d bytes\n", + u.desc->bDescriptorType, + u.desc->bDescriptorSubtype, + u.desc->bLength, len); + } + return (NULL); } -#endif - static struct usb_audio_cluster uaudio_mixer_get_cluster(uint8_t id, const struct uaudio_terminal_node *iot) { @@ -2369,108 +2754,80 @@ return (r); } -#ifdef USB_DEBUG +static struct usb_audio20_cluster +uaudio20_mixer_get_cluster(uint8_t id, const struct uaudio20_terminal_node *iot) +{ + struct usb_audio20_cluster r; + const struct usb_descriptor *dp; + uint8_t i; -struct uaudio_tt_to_string { - uint16_t terminal_type; - const char *desc; -}; + for (i = 0; i < UAUDIO_RECURSE_LIMIT; i++) { /* avoid infinite loops */ + dp = iot[id].u.desc; + if (dp == NULL) + goto error; -static const struct uaudio_tt_to_string uaudio_tt_to_string[] = { + switch (dp->bDescriptorSubtype) { + case UDESCSUB_AC_INPUT: + r.bNrChannels = iot[id].u.it->bNrChannels; + r.bmChannelConfig[0] = iot[id].u.it->bmChannelConfig[0]; + r.bmChannelConfig[1] = iot[id].u.it->bmChannelConfig[1]; + r.bmChannelConfig[2] = iot[id].u.it->bmChannelConfig[2]; + r.bmChannelConfig[3] = iot[id].u.it->bmChannelConfig[3]; + r.iChannelNames = iot[id].u.it->iTerminal; + goto done; - /* USB terminal types */ - {UAT_UNDEFINED, "UAT_UNDEFINED"}, - {UAT_STREAM, "UAT_STREAM"}, - {UAT_VENDOR, "UAT_VENDOR"}, + case UDESCSUB_AC_OUTPUT: + id = iot[id].u.ot->bSourceId; + break; - /* input terminal types */ - {UATI_UNDEFINED, "UATI_UNDEFINED"}, - {UATI_MICROPHONE, "UATI_MICROPHONE"}, - {UATI_DESKMICROPHONE, "UATI_DESKMICROPHONE"}, - {UATI_PERSONALMICROPHONE, "UATI_PERSONALMICROPHONE"}, - {UATI_OMNIMICROPHONE, "UATI_OMNIMICROPHONE"}, - {UATI_MICROPHONEARRAY, "UATI_MICROPHONEARRAY"}, - {UATI_PROCMICROPHONEARR, "UATI_PROCMICROPHONEARR"}, + case UDESCSUB_AC_MIXER: + r = *(const struct usb_audio20_cluster *) + &iot[id].u.mu->baSourceId[iot[id].u.mu-> + bNrInPins]; + goto done; - /* output terminal types */ - {UATO_UNDEFINED, "UATO_UNDEFINED"}, - {UATO_SPEAKER, "UATO_SPEAKER"}, - {UATO_HEADPHONES, "UATO_HEADPHONES"}, - {UATO_DISPLAYAUDIO, "UATO_DISPLAYAUDIO"}, - {UATO_DESKTOPSPEAKER, "UATO_DESKTOPSPEAKER"}, - {UATO_ROOMSPEAKER, "UATO_ROOMSPEAKER"}, - {UATO_COMMSPEAKER, "UATO_COMMSPEAKER"}, - {UATO_SUBWOOFER, "UATO_SUBWOOFER"}, + case UDESCSUB_AC_SELECTOR: + if (iot[id].u.su->bNrInPins > 0) { + /* XXX This is not really right */ + id = iot[id].u.su->baSourceId[0]; + } + break; - /* bidir terminal types */ - {UATB_UNDEFINED, "UATB_UNDEFINED"}, - {UATB_HANDSET, "UATB_HANDSET"}, - {UATB_HEADSET, "UATB_HEADSET"}, - {UATB_SPEAKERPHONE, "UATB_SPEAKERPHONE"}, - {UATB_SPEAKERPHONEESUP, "UATB_SPEAKERPHONEESUP"}, - {UATB_SPEAKERPHONEECANC, "UATB_SPEAKERPHONEECANC"}, + case UDESCSUB_AC_SAMPLE_RT: + id = iot[id].u.ru->bSourceId; + break; - /* telephony terminal types */ - {UATT_UNDEFINED, "UATT_UNDEFINED"}, - {UATT_PHONELINE, "UATT_PHONELINE"}, - {UATT_TELEPHONE, "UATT_TELEPHONE"}, - {UATT_DOWNLINEPHONE, "UATT_DOWNLINEPHONE"}, + case UDESCSUB_AC_EFFECT: + id = iot[id].u.ef->bSourceId; + break; - /* external terminal types */ - {UATE_UNDEFINED, "UATE_UNDEFINED"}, - {UATE_ANALOGCONN, "UATE_ANALOGCONN"}, - {UATE_LINECONN, "UATE_LINECONN"}, - {UATE_LEGACYCONN, "UATE_LEGACYCONN"}, - {UATE_DIGITALAUIFC, "UATE_DIGITALAUIFC"}, - {UATE_SPDIF, "UATE_SPDIF"}, - {UATE_1394DA, "UATE_1394DA"}, - {UATE_1394DV, "UATE_1394DV"}, + case UDESCSUB_AC_FEATURE: + id = iot[id].u.fu->bSourceId; + break; - /* embedded function terminal types */ - {UATF_UNDEFINED, "UATF_UNDEFINED"}, - {UATF_CALIBNOISE, "UATF_CALIBNOISE"}, - {UATF_EQUNOISE, "UATF_EQUNOISE"}, - {UATF_CDPLAYER, "UATF_CDPLAYER"}, - {UATF_DAT, "UATF_DAT"}, - {UATF_DCC, "UATF_DCC"}, - {UATF_MINIDISK, "UATF_MINIDISK"}, - {UATF_ANALOGTAPE, "UATF_ANALOGTAPE"}, - {UATF_PHONOGRAPH, "UATF_PHONOGRAPH"}, - {UATF_VCRAUDIO, "UATF_VCRAUDIO"}, - {UATF_VIDEODISCAUDIO, "UATF_VIDEODISCAUDIO"}, - {UATF_DVDAUDIO, "UATF_DVDAUDIO"}, - {UATF_TVTUNERAUDIO, "UATF_TVTUNERAUDIO"}, - {UATF_SATELLITE, "UATF_SATELLITE"}, - {UATF_CABLETUNER, "UATF_CABLETUNER"}, - {UATF_DSS, "UATF_DSS"}, - {UATF_RADIORECV, "UATF_RADIORECV"}, - {UATF_RADIOXMIT, "UATF_RADIOXMIT"}, - {UATF_MULTITRACK, "UATF_MULTITRACK"}, - {UATF_SYNTHESIZER, "UATF_SYNTHESIZER"}, + case UDESCSUB_AC_PROCESSING_V2: + r = *((const struct usb_audio20_cluster *) + &iot[id].u.pu->baSourceId[iot[id].u.pu-> + bNrInPins]); + goto done; - /* unknown */ - {0x0000, "UNKNOWN"}, -}; + case UDESCSUB_AC_EXTENSION_V2: + r = *((const struct usb_audio20_cluster *) + &iot[id].u.eu->baSourceId[iot[id].u.eu-> + bNrInPins]); + goto done; -static const char * -uaudio_mixer_get_terminal_name(uint16_t terminal_type) -{ - const struct uaudio_tt_to_string *uat = uaudio_tt_to_string; - - while (uat->terminal_type) { - if (uat->terminal_type == terminal_type) { - break; + default: + goto error; } - uat++; } - if (uat->terminal_type == 0) { - DPRINTF("unknown terminal type (0x%04x)", terminal_type); - } - return (uat->desc); +error: + DPRINTF("Bad data!\n"); + memset(&r, 0, sizeof(r)); +done: + return (r); } -#endif - static uint16_t uaudio_mixer_determine_class(const struct uaudio_terminal_node *iot, struct uaudio_mixer_node *mix) @@ -2524,6 +2881,58 @@ return (terminal_type); } +static uint16_t +uaudio20_mixer_determine_class(const struct uaudio20_terminal_node *iot, + struct uaudio_mixer_node *mix) +{ + uint16_t terminal_type = 0x0000; + const struct uaudio20_terminal_node *input[2]; + const struct uaudio20_terminal_node *output[2]; + + input[0] = uaudio20_mixer_get_input(iot, 0); + input[1] = uaudio20_mixer_get_input(iot, 1); + + output[0] = uaudio20_mixer_get_output(iot, 0); + output[1] = uaudio20_mixer_get_output(iot, 1); + + /* + * check if there is only + * one output terminal: + */ + if (output[0] && (!output[1])) + terminal_type = UGETW(output[0]->u.ot->wTerminalType); + /* + * If the only output terminal is USB, + * the class is UAC_RECORD. + */ + if ((terminal_type & 0xff00) == (UAT_UNDEFINED & 0xff00)) { + + mix->class = UAC_RECORD; + if (input[0] && (!input[1])) { + terminal_type = UGETW(input[0]->u.it->wTerminalType); + } else { + terminal_type = 0; + } + goto done; + } + /* + * if the unit is connected to just + * one input terminal, the + * class is UAC_INPUT: + */ + if (input[0] && (!input[1])) { + mix->class = UAC_INPUT; + terminal_type = UGETW(input[0]->u.it->wTerminalType); + goto done; + } + /* + * Otherwise, the class is UAC_OUTPUT. + */ + mix->class = UAC_OUTPUT; +done: + return (terminal_type); +} + struct uaudio_tt_to_feature { uint16_t terminal_type; uint16_t feature; @@ -2636,6 +3045,28 @@ return (uat->feature); } +static uint16_t +uaudio20_mixer_feature_name(const struct uaudio20_terminal_node *iot, + struct uaudio_mixer_node *mix) +{ + const struct uaudio_tt_to_feature *uat; + uint16_t terminal_type = uaudio20_mixer_determine_class(iot, mix); + + if ((mix->class == UAC_RECORD) && (terminal_type == 0)) + return (SOUND_MIXER_IMIX); + + for (uat = uaudio_tt_to_feature; uat->terminal_type != 0; uat++) { + if (uat->terminal_type == terminal_type) + break; + } + + DPRINTF("terminal_type=%s (0x%04x) -> %d\n", + uaudio_mixer_get_terminal_name(terminal_type), + terminal_type, uat->feature); + + return (uat->feature); +} + static const struct uaudio_terminal_node * uaudio_mixer_get_input(const struct uaudio_terminal_node *iot, uint8_t i) { @@ -2653,6 +3084,21 @@ return (NULL); } +static const struct uaudio20_terminal_node * +uaudio20_mixer_get_input(const struct uaudio20_terminal_node *iot, uint8_t i) +{ + struct uaudio20_terminal_node *root = iot->root; + uint8_t n; + + for (n = iot->usr.id_max; n != 0xFFU; n--) { + if (iot->usr.bit_input[n / 8] & (1 << (n % 8))) { + if (!i--) + return (root + n); + } + } + return (NULL); +} + static const struct uaudio_terminal_node * uaudio_mixer_get_output(const struct uaudio_terminal_node *iot, uint8_t i) { @@ -2670,6 +3116,21 @@ return (NULL); } +static const struct uaudio20_terminal_node * +uaudio20_mixer_get_output(const struct uaudio20_terminal_node *iot, uint8_t i) +{ + struct uaudio20_terminal_node *root = iot->root; + uint8_t n; + + for (n = iot->usr.id_max; n != 0xFFU; n--) { + if (iot->usr.bit_output[n / 8] & (1 << (n % 8))) { + if (!i--) + return (root + n); + } + } + return (NULL); +} + static void uaudio_mixer_find_inputs_sub(struct uaudio_terminal_node *root, const uint8_t *p_id, uint8_t n_id, @@ -2749,6 +3210,95 @@ } static void +uaudio20_mixer_find_inputs_sub(struct uaudio20_terminal_node *root, + const uint8_t *p_id, uint8_t n_id, + struct uaudio_search_result *info) +{ + struct uaudio20_terminal_node *iot; + uint8_t n; + uint8_t i; + + if (info->recurse_level >= UAUDIO_RECURSE_LIMIT) + return; + + info->recurse_level++; + + for (n = 0; n < n_id; n++) { + + i = p_id[n]; + + if (info->bit_visited[i / 8] & (1 << (i % 8))) { + /* don't go into a circle */ + DPRINTF("avoided going into a circle at id=%d!\n", i); + continue; + } else { + info->bit_visited[i / 8] |= (1 << (i % 8)); + } + + iot = (root + i); + + if (iot->u.desc == NULL) + continue; + + switch (iot->u.desc->bDescriptorSubtype) { + case UDESCSUB_AC_INPUT: + info->bit_input[i / 8] |= (1 << (i % 8)); + break; + + case UDESCSUB_AC_OUTPUT: + uaudio20_mixer_find_inputs_sub( + root, &iot->u.ot->bSourceId, 1, info); + break; + + case UDESCSUB_AC_MIXER: + uaudio20_mixer_find_inputs_sub( + root, iot->u.mu->baSourceId, + iot->u.mu->bNrInPins, info); + break; + + case UDESCSUB_AC_SELECTOR: + uaudio20_mixer_find_inputs_sub( + root, iot->u.su->baSourceId, + iot->u.su->bNrInPins, info); + break; + + case UDESCSUB_AC_SAMPLE_RT: + uaudio20_mixer_find_inputs_sub( + root, &iot->u.ru->bSourceId, + 1, info); + break; + + case UDESCSUB_AC_EFFECT: + uaudio20_mixer_find_inputs_sub( + root, &iot->u.ef->bSourceId, + 1, info); + break; + + case UDESCSUB_AC_FEATURE: + uaudio20_mixer_find_inputs_sub( + root, &iot->u.fu->bSourceId, 1, info); + break; + + case UDESCSUB_AC_PROCESSING_V2: + uaudio20_mixer_find_inputs_sub( + root, iot->u.pu->baSourceId, + iot->u.pu->bNrInPins, info); + break; + + case UDESCSUB_AC_EXTENSION_V2: + uaudio20_mixer_find_inputs_sub( + root, iot->u.eu->baSourceId, + iot->u.eu->bNrInPins, info); + break; + default: + break; + } + } + info->recurse_level--; +} + + +static void uaudio_mixer_find_outputs_sub(struct uaudio_terminal_node *root, uint8_t id, uint8_t n_id, struct uaudio_search_result *info) { @@ -2774,6 +3324,33 @@ } static void +uaudio20_mixer_find_outputs_sub(struct uaudio20_terminal_node *root, uint8_t id, + uint8_t n_id, struct uaudio_search_result *info) +{ + struct uaudio20_terminal_node *iot = (root + id); + uint8_t j; + + for (j = n_id; j != 0xFFU; j--) { + if ((j != id) && ((root + j)->u.desc) && + ((root + j)->u.desc->bDescriptorSubtype == UDESCSUB_AC_OUTPUT)) { + + /* + * "j" (output) <--- virtual wire <--- "id" (input) + * + * if "j" has "id" on the input, then "id" have "j" on + * the output, because they are connected: + */ + if ((root + j)->usr.bit_input[id / 8] & (1 << (id % 8))) { + iot->usr.bit_output[j / 8] |= (1 << (j % 8)); + } + } + } +} + +extern uint8_t uaudio_mixer_assert[(sizeof(struct uaudio_terminal_node) == + sizeof(struct uaudio20_terminal_node)) ? 1 : -1]; + +static void uaudio_mixer_fill_info(struct uaudio_softc *sc, struct usb_device *udev, void *desc) { @@ -2809,7 +3386,8 @@ DPRINTFN(3, "found AC header, vers=%03x, len=%d\n", sc->sc_audio_rev, wTotalLen); - if (sc->sc_audio_rev != UAUDIO_VERSION) { + if (sc->sc_audio_rev != UAUDIO_VERSION && + sc->sc_audio_rev != UAUDIO_VERSION_20) { if (sc->sc_uq_bad_adc) { @@ -2835,7 +3413,10 @@ wTotalLen -= dp->bLength; } - au = uaudio_mixer_verify_desc(dp, 0); + if (sc->sc_audio_rev >= UAUDIO_VERSION_20) + au = uaudio20_mixer_verify_desc(dp, 0); + else + au = uaudio_mixer_verify_desc(dp, 0); if (au) { iot[au->bUnitId].u.desc = (const void *)au; @@ -2853,7 +3434,13 @@ */ i = ID_max; do { - uaudio_mixer_find_inputs_sub(iot, &i, 1, &((iot + i)->usr)); + if (sc->sc_audio_rev >= UAUDIO_VERSION_20) { + uaudio20_mixer_find_inputs_sub((void *)iot, + &i, 1, &((iot + i)->usr)); + } else { + uaudio_mixer_find_inputs_sub(iot, + &i, 1, &((iot + i)->usr)); + } } while (i--); /* @@ -2862,7 +3449,13 @@ */ i = ID_max; do { - uaudio_mixer_find_outputs_sub(iot, i, ID_max, &((iot + i)->usr)); + if (sc->sc_audio_rev >= UAUDIO_VERSION_20) { + uaudio20_mixer_find_outputs_sub((void *)iot, + i, ID_max, &((iot + i)->usr)); + } else { + uaudio_mixer_find_outputs_sub(iot, + i, ID_max, &((iot + i)->usr)); + } } while (i--); /* set "id_max" and "root" */ @@ -2873,106 +3466,57 @@ (iot + i)->root = iot; } while (i--); -#ifdef USB_DEBUG + /* + * Scan the config to create a linked list of "mixer" nodes: + */ + i = ID_max; do { - uint8_t j; + dp = iot[i].u.desc; - if (iot[i].u.desc == NULL) { + if (dp == NULL) continue; - } - DPRINTF("id %d:\n", i); - switch (iot[i].u.desc->bDescriptorSubtype) { - case UDESCSUB_AC_INPUT: - DPRINTF(" - AC_INPUT type=%s\n", - uaudio_mixer_get_terminal_name - (UGETW(iot[i].u.it->wTerminalType))); - uaudio_mixer_dump_cluster(i, iot); - break; + DPRINTFN(11, "id=%d subtype=%d\n", + i, dp->bDescriptorSubtype); - case UDESCSUB_AC_OUTPUT: - DPRINTF(" - AC_OUTPUT type=%s " - "src=%d\n", uaudio_mixer_get_terminal_name - (UGETW(iot[i].u.ot->wTerminalType)), - iot[i].u.ot->bSourceId); - break; + if (sc->sc_audio_rev >= UAUDIO_VERSION_20) { - case UDESCSUB_AC_MIXER: - DPRINTF(" - AC_MIXER src:\n"); - for (j = 0; j < iot[i].u.mu->bNrInPins; j++) { - DPRINTF(" - %d\n", iot[i].u.mu->baSourceId[j]); - } - uaudio_mixer_dump_cluster(i, iot); - break; + switch (dp->bDescriptorSubtype) { + case UDESCSUB_AC_HEADER: + DPRINTF("unexpected AC header\n"); + break; - case UDESCSUB_AC_SELECTOR: - DPRINTF(" - AC_SELECTOR src:\n"); - for (j = 0; j < iot[i].u.su->bNrInPins; j++) { - DPRINTF(" - %d\n", iot[i].u.su->baSourceId[j]); - } - break; + case UDESCSUB_AC_INPUT: + case UDESCSUB_AC_OUTPUT: + case UDESCSUB_AC_PROCESSING_V2: + case UDESCSUB_AC_EXTENSION_V2: + case UDESCSUB_AC_EFFECT: + case UDESCSUB_AC_CLOCK_SRC: + case UDESCSUB_AC_CLOCK_SEL: + case UDESCSUB_AC_CLOCK_MUL: + case UDESCSUB_AC_SAMPLE_RT: + break; - case UDESCSUB_AC_FEATURE: - DPRINTF(" - AC_FEATURE src=%d\n", iot[i].u.fu->bSourceId); - break; + case UDESCSUB_AC_MIXER: + uaudio20_mixer_add_mixer(sc, (void *)iot, i); + break; - case UDESCSUB_AC_PROCESSING: - DPRINTF(" - AC_PROCESSING src:\n"); - for (j = 0; j < iot[i].u.pu->bNrInPins; j++) { - DPRINTF(" - %d\n", iot[i].u.pu->baSourceId[j]); - } - uaudio_mixer_dump_cluster(i, iot); - break; + case UDESCSUB_AC_SELECTOR: + uaudio20_mixer_add_selector(sc, (void *)iot, i); + break; - case UDESCSUB_AC_EXTENSION: - DPRINTF(" - AC_EXTENSION src:\n"); - for (j = 0; j < iot[i].u.eu->bNrInPins; j++) { - DPRINTF("%d ", iot[i].u.eu->baSourceId[j]); - } - uaudio_mixer_dump_cluster(i, iot); - break; + case UDESCSUB_AC_FEATURE: + uaudio20_mixer_add_feature(sc, (void *)iot, i); + break; - default: - DPRINTF("unknown audio control (subtype=%d)\n", - iot[i].u.desc->bDescriptorSubtype); - } - - DPRINTF("Inputs to this ID are:\n"); - - j = ID_max; - do { - if (iot[i].usr.bit_input[j / 8] & (1 << (j % 8))) { - DPRINTF(" -- ID=%d\n", j); + default: + DPRINTF("bad AC desc subtype=0x%02x\n", + dp->bDescriptorSubtype); + break; } - } while (j--); - - DPRINTF("Outputs from this ID are:\n"); - - j = ID_max; - do { - if (iot[i].usr.bit_output[j / 8] & (1 << (j % 8))) { - DPRINTF(" -- ID=%d\n", j); - } - } while (j--); - - } while (i--); -#endif - - /* - * scan the config to create a linked - * list of "mixer" nodes: - */ - - i = ID_max; - do { - dp = iot[i].u.desc; - - if (dp == NULL) { continue; } - DPRINTFN(11, "id=%d subtype=%d\n", - i, dp->bDescriptorSubtype); switch (dp->bDescriptorSubtype) { case UDESCSUB_AC_HEADER: @@ -2980,11 +3524,7 @@ break; case UDESCSUB_AC_INPUT: - uaudio_mixer_add_input(sc, iot, i); - break; - case UDESCSUB_AC_OUTPUT: - uaudio_mixer_add_output(sc, iot, i); break; case UDESCSUB_AC_MIXER: @@ -3016,9 +3556,7 @@ } while (i--); done: - if (iot) { - free(iot, M_TEMP); - } + free(iot, M_TEMP); } static uint16_t @@ -3031,9 +3569,9 @@ uint8_t data[4]; usb_error_t err; - if (mc->wValue[0] == -1) { + if (mc->wValue[0] == -1) return (0); - } + req.bmRequestType = UT_READ_CLASS_INTERFACE; req.bRequest = what; USETW(req.wValue, mc->wValue[0]); @@ -3045,12 +3583,12 @@ DPRINTF("err=%s\n", usbd_errstr(err)); return (0); } - if (len < 1) { + if (len < 1) data[0] = 0; - } - if (len < 2) { + + if (len < 2) data[1] = 0; - } + val = (data[0] | (data[1] << 8)); DPRINTFN(3, "val=%d\n", val); --Boundary-00=_sVQRQoKLq20BXa9-- From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 3 19:47:23 2012 Return-Path: Delivered-To: multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A27FA106566B; Mon, 3 Sep 2012 19:47:23 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 54C828FC1A; Mon, 3 Sep 2012 19:47:23 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 6CC311E00715; Mon, 3 Sep 2012 21:47:16 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.4) with ESMTP id q83JjhpP038775; Mon, 3 Sep 2012 21:45:43 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id q83JjhuE038774; Mon, 3 Sep 2012 21:45:43 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Mon, 3 Sep 2012 21:45:43 +0200 To: Andriy Gapon Message-ID: <20120903194543.GA38349@triton8.kn-bremen.de> References: <504468AB.8050003@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <504468AB.8050003@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: multimedia@FreeBSD.org, pawel@FreeBSD.org Subject: Re: vlc-2.0.3_1,3 patch phase fails; devel/upnp bug X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2012 19:47:23 -0000 On Mon, Sep 03, 2012 at 11:22:03AM +0300, Andriy Gapon wrote: > ===> Patching for vlc-2.0.3_1,3 > ===> vlc-2.0.3_1,3 depends on file: /usr/local/bin/perl5.12.4 - found > ===> Applying extra patch > /usr/ports/multimedia/vlc/files/extra-patch-modules__services_discovery__upnp_intel.cpp > cannot open > /usr/ports/multimedia/vlc/files/extra-patch-modules__services_discovery__upnp_intel.cpp: > No such file or directory > > I do have > UPNP=on: UPnP network device control > in my showconfig output. > > The file files/extra-patch-modules__services_discovery__upnp_intel.cpp doesn't > exist indeed. Yeah it's no longer needed, I'll remove the bogus reference to it. But turns out there is another problem, at least clicking on upnp in the playlist view crashes in uuid_create() in libc, looking in the devel/upnp source reveals it has a different (internal) version of uuid_create() that has different args and was meant to be called but the one from libc got picked instead up and crashed due to the different args. The following hack in /usr/ports/devel/upnp/files/patch-upnp-src-inc-uuid.h fixes it, I've Cc'd the devel/upnp maintainer, maybe he wants to commit something like it? --- upnp/src/inc/uuid.h.orig +++ upnp/src/inc/uuid.h @@ -22,6 +22,14 @@ #include "sysdep.h" +#ifdef __FreeBSD__ +/* Workaround to avoid picking up different uuid_* fns from FreeBSD's libc */ +#define uuid_create libupnp_uuid_create +#define uuid_unpack libupnp_uuid_unpack +#define uuid_create_from_name libupnp_uuid_create_from_name +#define uuid_compare libupnp_uuid_compare +#endif + /*! . */ typedef struct _uuid_upnp { /*! . */ From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 3 20:55:02 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C6922106566B for ; Mon, 3 Sep 2012 20:55:02 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from noop.in-addr.com (mail.in-addr.com [IPv6:2001:470:8:162::1]) by mx1.freebsd.org (Postfix) with ESMTP id 82C678FC12 for ; Mon, 3 Sep 2012 20:55:02 +0000 (UTC) Received: from gjp by noop.in-addr.com with local (Exim 4.80 (FreeBSD)) (envelope-from ) id 1T8dfa-000KWz-Tt; Mon, 03 Sep 2012 16:54:54 -0400 Date: Mon, 3 Sep 2012 16:54:54 -0400 From: Gary Palmer To: Matthias Apitz Message-ID: <20120903205454.GA77784@in-addr.com> References: <20120903112505.GA1451@tiny.Sisis.de> <1346672681003-5740292.post@n5.nabble.com> <1346675221022-5740306.post@n5.nabble.com> <20120903125123.GA1651@tiny.Sisis.de> <20120903191157.GA1414@tiny.Sisis.de> <20120903192812.GA1478@tiny.Sisis.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120903192812.GA1478@tiny.Sisis.de> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: gpalmer@freebsd.org X-SA-Exim-Scanned: No (on noop.in-addr.com); SAEximRunCond expanded to false Cc: freebsd-multimedia@freebsd.org, SicoSico , Chris Rees Subject: Re: baresip (was Re: Ekiga && FreeBSD (for a future without Skype) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2012 20:55:02 -0000 On Mon, Sep 03, 2012 at 09:28:14PM +0200, Matthias Apitz wrote: > El d?a Monday, September 03, 2012 a las 08:15:54PM +0100, Chris Rees escribi?: > > > > substitute with this Skype, for example that my wife could phone me from > > > home to my FreeBSD netbook connected via UMTS to Internet while sitting > > > in the greens, in a beer garden; I could never manage this; SIP, in > > > general, seems to be a mess, and my UMTS provider, in detail, does not > > > NAT the incoming IP traffic to my netbook :-( > > > > > > the dream continues to have video and voice without Skype, ofc > > > > Well, UMTS tends to strictly forbid any VOIP traffic anyway; they're > > run by phone companies, so they don't want you doing that. > > My UMTS provider is Fonic.de, a German o2 label; and they do no forbid VOIP > as I read, and there is no problem with Skype calls, for example. It is > just not working, not even incoming SSH is NAT'ed to the ppp interface. Skype does stuff standard SIP doesn't. e.g. AFAIR skype can tunnel its traffic over TCP/80 to take advantage of firewall holes for HTTP traffic. SIP was designed for an IPv6 world where endpoints are direclty exposed to the Internet. You probably have to use a SIP proxy on an unfirewalled public IP to handle your traffic. ( SIP sets up random ports on both end points to exchange voice traffic over. Most firewalls don't sniff SIP traffic and so the inbound packets are dropped. NAT and SIP really don't like each other too much ) Gary From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 3 22:18:53 2012 Return-Path: Delivered-To: multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D22891065674 for ; Mon, 3 Sep 2012 22:18:53 +0000 (UTC) (envelope-from pcc@gmx.net) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by mx1.freebsd.org (Postfix) with SMTP id E6F968FC16 for ; Mon, 3 Sep 2012 22:18:52 +0000 (UTC) Received: (qmail 4091 invoked by uid 0); 3 Sep 2012 22:18:51 -0000 Received: from 95.113.217.213 by www019.gmx.net with HTTP; Tue, 04 Sep 2012 00:18:49 +0200 (CEST) Content-Type: text/plain; charset="utf-8" Date: Tue, 04 Sep 2012 00:18:49 +0200 From: "Peter Cornelius" In-Reply-To: <20120903194543.GA38349@triton8.kn-bremen.de> Message-ID: <20120903221849.33490@gmx.net> MIME-Version: 1.0 References: <504468AB.8050003@FreeBSD.org> <20120903194543.GA38349@triton8.kn-bremen.de> To: multimedia@FreeBSD.org X-Authenticated: #491680 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 5 X-Provags-ID: V01U2FsdGVkX1/1evlY/G31krLXWqXDq5BYiZr5fO0Gq1o6ActKK0 IBzV1KzHpCS384V48rZGkrnDf20wE0Q0oqFg== Content-Transfer-Encoding: 8bit X-GMX-UID: nkk3cHFseSEqWMHjbHQhjjB+IGRvbwAt Cc: Juergen Lock , avg@FreeBSD.org, pawel@FreeBSD.org Subject: Re: vlc-2.0.3_1,3 patch phase fails; devel/upnp bug X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2012 22:18:53 -0000 Good .. afternoon? Night? Anyways... Thanks for providing the updated port. > > The file files/extra-patch-modules__services_discovery__upnp_intel.cpp > doesn't > > exist indeed. > > Yeah it's no longer needed, I'll remove the bogus reference to it. Thanks, I was just about to suggest that :) Furthermore, I have the following issue which I don't seem to be able to get my head around (it is a hundred per cent reproducible): (...) gmake[2]: Entering directory `/usr/ports/multimedia/vlc/work/vlc-2.0.3/bin' CC vlc.o CC override.o CC rootwrap.o CC vlc_static-vlc.o CC vlc_static-override.o CC cachegen.o CCLD vlc CCLD vlc-wrapper CCLD vlc-static CCLD vlc-cache-gen GEN ../modules/plugins.dat gmake[2]: *** [../modules/plugins.dat] Segmentation fault: 11 (core dumped) gmake[2]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-2.0.3/bin' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-2.0.3' gmake: *** [all] Error 2 *** Error code 1 Stop in /usr/ports/multimedia/vlc. *** Error code 1 The naive backtrace of the core file is close to useless for me since there are no debug symbols at this stage: #0 0x0000000800604473 in ?? () #1 0x0000000000000000 in ?? () #2 0x0000000800643c00 in ?? () #3 0x0000000800703a00 in ?? () #4 0x0000000800604581 in ?? () (...) #1349 0x0000000000000000 in ?? () #1350 0x2f00000000000000 in ?? () #1351 0x74726f702f727375 in ?? () #1352 0x6d69746c756d2f73 in ?? () #1353 0x636c762f61696465 in ?? () #1354 0x6c762f6b726f772f in ?? () #1355 0x2f332e302e322d63 in ?? () #1356 0x62696c2e2f6e6962 in ?? () #1357 0x61632d636c762f73 in ?? () #1358 0x006e65672d656863 in ?? () #1359 0x00007fffffffd060 in ?? () #1360 0x0000000000000002 in ?? () #1361 0x00007fffffffd078 in ?? () #1362 0x0000000000000042 in ?? () Cannot access memory at address 0x7ffffffff000 I guess I may even have another issue here but any hints appreciated. Thanks, Peter --- Btw, OS is...: FreeBSD p.c 9.0-STABLE FreeBSD 9.0-STABLE #1: Thu Jun 7 16:35:43 CEST 2012 root@p.c:/usr/obj/usr/src/sys/P amd64 ... and most of the vlc port options I figured I could enable. # This file is auto-generated by 'make config'. # Options for vlc-2.0.3_1,3 _OPTIONS_READ=vlc-2.0.3_1,3 _FILE_COMPLETE_OPTIONS_LIST=A52 AALIB ASS AVAHI CACA DBUS DEBUG DIRAC DOCS DTS DVDNAV DVDREAD FAAD FLAC FLUID FRIBIDI GLX GNOMEVFS GNUTLS GOOM HTTPD JACK LIVEMEDIA LUA MAD MATROSKA MODPLUG MPEG2 MTP MUSEPACK NCURSES NLS NOTIFY OGG OPTIMIZED_CFLAGS PNG PORTAUDIO PROJM PULSEAUDIO QT4 REALAUDIO RUNROOT SAMBA SCHROED SDL SERVER_ONLY SHOUTCAST SKINS SPEEX SQLITE STREAM SVG TAGLIB THEORA TREMOR TWOLAME UNSAFE_PLUGINS UPNP V4L VAAPI VCD VORBIS X11 X264 XCB XOSD XVIDEO ZVBI OPTIONS_FILE_SET+=A52 OPTIONS_FILE_SET+=AALIB OPTIONS_FILE_SET+=ASS OPTIONS_FILE_SET+=AVAHI OPTIONS_FILE_SET+=CACA OPTIONS_FILE_SET+=DBUS OPTIONS_FILE_SET+=DEBUG OPTIONS_FILE_SET+=DIRAC OPTIONS_FILE_SET+=DOCS OPTIONS_FILE_SET+=DTS OPTIONS_FILE_SET+=DVDNAV OPTIONS_FILE_SET+=DVDREAD OPTIONS_FILE_SET+=FAAD OPTIONS_FILE_SET+=FLAC OPTIONS_FILE_SET+=FLUID OPTIONS_FILE_SET+=FRIBIDI OPTIONS_FILE_SET+=GLX OPTIONS_FILE_SET+=GNOMEVFS OPTIONS_FILE_SET+=GNUTLS OPTIONS_FILE_SET+=GOOM OPTIONS_FILE_SET+=HTTPD OPTIONS_FILE_SET+=JACK OPTIONS_FILE_SET+=LIVEMEDIA OPTIONS_FILE_SET+=LUA OPTIONS_FILE_SET+=MAD OPTIONS_FILE_SET+=MATROSKA OPTIONS_FILE_SET+=MODPLUG OPTIONS_FILE_SET+=MPEG2 OPTIONS_FILE_SET+=MTP OPTIONS_FILE_SET+=MUSEPACK OPTIONS_FILE_SET+=NCURSES OPTIONS_FILE_SET+=NLS OPTIONS_FILE_SET+=NOTIFY OPTIONS_FILE_SET+=OGG OPTIONS_FILE_SET+=OPTIMIZED_CFLAGS OPTIONS_FILE_SET+=PNG OPTIONS_FILE_SET+=PORTAUDIO OPTIONS_FILE_SET+=PROJM OPTIONS_FILE_SET+=PULSEAUDIO OPTIONS_FILE_SET+=QT4 OPTIONS_FILE_SET+=REALAUDIO OPTIONS_FILE_UNSET+=RUNROOT OPTIONS_FILE_SET+=SAMBA OPTIONS_FILE_SET+=SCHROED OPTIONS_FILE_SET+=SDL OPTIONS_FILE_UNSET+=SERVER_ONLY OPTIONS_FILE_SET+=SHOUTCAST OPTIONS_FILE_SET+=SKINS OPTIONS_FILE_SET+=SPEEX OPTIONS_FILE_UNSET+=SQLITE OPTIONS_FILE_SET+=STREAM OPTIONS_FILE_SET+=SVG OPTIONS_FILE_SET+=TAGLIB OPTIONS_FILE_SET+=THEORA OPTIONS_FILE_UNSET+=TREMOR OPTIONS_FILE_SET+=TWOLAME OPTIONS_FILE_SET+=UNSAFE_PLUGINS OPTIONS_FILE_SET+=UPNP OPTIONS_FILE_SET+=V4L OPTIONS_FILE_SET+=VAAPI OPTIONS_FILE_SET+=VCD OPTIONS_FILE_SET+=VORBIS OPTIONS_FILE_SET+=X11 OPTIONS_FILE_SET+=X264 OPTIONS_FILE_SET+=XCB OPTIONS_FILE_SET+=XOSD OPTIONS_FILE_SET+=XVIDEO OPTIONS_FILE_SET+=ZVBI From owner-freebsd-multimedia@FreeBSD.ORG Mon Sep 3 23:41:09 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3D4D8106566B for ; Mon, 3 Sep 2012 23:41:09 +0000 (UTC) (envelope-from resuscitated_wael@hotmail.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 090328FC08 for ; Mon, 3 Sep 2012 23:41:09 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1T8gGM-0007bR-23 for freebsd-multimedia@freebsd.org; Mon, 03 Sep 2012 16:41:02 -0700 Date: Mon, 3 Sep 2012 16:41:02 -0700 (PDT) From: SicoSico To: freebsd-multimedia@freebsd.org Message-ID: <1346715662054-5740494.post@n5.nabble.com> In-Reply-To: References: <1346623371986-5740128.post@n5.nabble.com> <20120903044400.GA2271@tinyCurrent> <1346671235832-5740285.post@n5.nabble.com> <20120903112505.GA1451@tiny.Sisis.de> <1346672681003-5740292.post@n5.nabble.com> <1346675221022-5740306.post@n5.nabble.com> <20120903125123.GA1651@tiny.Sisis.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: baresip (was Re: Ekiga && FreeBSD (for a future without Skype) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2012 23:41:09 -0000 Excellent work Matthias & Chris :) And I realized the cause of the persistent message: video: No video source: No such file or directory I should have commented: #module avformat.so -- View this message in context: http://freebsd.1045724.n5.nabble.com/Ekiga-FreeBSD-for-a-future-without-Skype-tp4417102p5740494.html Sent from the freebsd-multimedia mailing list archive at Nabble.com. From owner-freebsd-multimedia@FreeBSD.ORG Tue Sep 4 02:40:22 2012 Return-Path: Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B0057106564A; Tue, 4 Sep 2012 02:40:22 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 83BF18FC14; Tue, 4 Sep 2012 02:40:22 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q842eMqj021551; Tue, 4 Sep 2012 02:40:22 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q842eMUn021532; Tue, 4 Sep 2012 02:40:22 GMT (envelope-from edwin) Date: Tue, 4 Sep 2012 02:40:22 GMT Message-Id: <201209040240.q842eMUn021532@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-multimedia@FreeBSD.org From: edwin@FreeBSD.org Cc: Subject: Re: ports/171304: multimedia/vlc doesn't compile X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Sep 2012 02:40:22 -0000 Synopsis: multimedia/vlc doesn't compile Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-multimedia Responsible-Changed-By: edwin Responsible-Changed-When: Tue Sep 4 02:40:21 UTC 2012 Responsible-Changed-Why: Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=171304 From owner-freebsd-multimedia@FreeBSD.ORG Tue Sep 4 02:47:34 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3AA3B106564A for ; Tue, 4 Sep 2012 02:47:34 +0000 (UTC) (envelope-from 3xWtFUAgHEjotu_WqZekxy2.YkibnaaXoZ-iqhpeiaZeWbnaaXoZ.knc@photos-server.bounces.google.com) Received: from mail-pz0-f74.google.com (mail-pz0-f74.google.com [209.85.210.74]) by mx1.freebsd.org (Postfix) with ESMTP id 123478FC0C for ; Tue, 4 Sep 2012 02:47:34 +0000 (UTC) Received: by danp8 with SMTP id p8so458980dan.1 for ; Mon, 03 Sep 2012 19:47:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.66.74.102 with SMTP id s6mt8616805pav.21.1346726853859; Mon, 03 Sep 2012 19:47:33 -0700 (PDT) Message-ID: Date: Tue, 04 Sep 2012 02:47:33 +0000 From: xingyao wu To: freebsd-multimedia@freebsd.org Content-Type: multipart/mixed; boundary=f46d042f96aabc17f104c8d74785 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: xingyao wu shared photos with you X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: xingyao wu List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Sep 2012 02:47:34 -0000 --f46d042f96aabc17f104c8d74785 Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Hello my Friend How are you? We have JBL speakers, YAMAHA amplifier,SHURE microphones, DBX equalizer. . . If you are interested in our products, please contact us, we can send the price list to you, we can give you the lowest price, best quality. We will make you satisfied. Thank you I wish you happy every day! Meiling --f46d042f96aabc17f104c8d74785-- From owner-freebsd-multimedia@FreeBSD.ORG Tue Sep 4 05:59:51 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 10BB5106566B; Tue, 4 Sep 2012 05:59:51 +0000 (UTC) (envelope-from thomas.e.zander@googlemail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id C7E308FC18; Tue, 4 Sep 2012 05:59:50 +0000 (UTC) Received: by pbbrp2 with SMTP id rp2so8867769pbb.13 for ; Mon, 03 Sep 2012 22:59:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ZWGJsxnja4b7Cl65RzOdWow1WzsefE1sjXj50YcMT4s=; b=Vamrilyl+xKhx0y7m2eIYdloPk9altVbxJFBs4Xq/4sv2qeSAhHpefBrKEDFxVGorS TH2rsdL/ci7RUJMfUZDyrX1u4cVQd3uBxGEYiD1LvpREcMIItTmcR1Iw3rbQNyphTxHT 1M+Yvqk4a7z/WSzKNaoHBOOmD8RTXLcIIVFDX+QDRa41fn3zOubrn+Ba6dpYK53dU8GI DVaOej4aZDeKvLeO1ocj+Hov9zMmBWEzXAgqP+XaRBImxIb4ZM+MTSavn3C55SXSQ/Uu AezKEIHApCIOa6WF/7zR54A1V8U211WRiLgWd4uXB0gdKLyDucCs7pnO74a0kjMTLCqG CUNw== MIME-Version: 1.0 Received: by 10.66.88.198 with SMTP id bi6mr38835359pab.23.1346738390429; Mon, 03 Sep 2012 22:59:50 -0700 (PDT) Received: by 10.68.223.69 with HTTP; Mon, 3 Sep 2012 22:59:50 -0700 (PDT) In-Reply-To: <21534493.3328391346706524404.JavaMail.defaultUser@defaultHost> References: <21534493.3328391346706524404.JavaMail.defaultUser@defaultHost> Date: Tue, 4 Sep 2012 07:59:50 +0200 Message-ID: From: Thomas Zander To: Barbara Content-Type: text/plain; charset=ISO-8859-1 Cc: ports@freebsd.org, hm@hm.net.br, freebsd-multimedia@freebsd.org, Juergen Lock , h.skuhra@gmail.com Subject: Re: Re: error building mplayer X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Sep 2012 05:59:51 -0000 On Mon, Sep 3, 2012 at 11:08 PM, Barbara wrote: >>with the second patch it completed ok >> >>thanks >> >>Hans >> > > It's ok for me too. > > Thanks > Barbara Thank you for testing! I'll submit this patch. Best regards, Riggs From owner-freebsd-multimedia@FreeBSD.ORG Tue Sep 4 19:05:33 2012 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 05A231065673; Tue, 4 Sep 2012 19:05:33 +0000 (UTC) (envelope-from pawelbsd@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4D29C8FC15; Tue, 4 Sep 2012 19:05:32 +0000 (UTC) Received: by bkcje9 with SMTP id je9so3303580bkc.13 for ; Tue, 04 Sep 2012 12:05:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:in-reply-to:references :x-mailer:mime-version:content-type:content-transfer-encoding; bh=l++eyPVNzwdXjgjTcz1D5oYZpY1aacp93hc+AupESU8=; b=CGxheE3WcV/447bHSzPudnVviQESsfp6GnT52ifLP3fB711WZTX+thjXArlI7XQcx8 J/oDV6uYhBhJSvisyYl9+/fsRFbIK4DAoWssPtZS/PMvtlefM66p0P9mH7Mt2b6ZaLRJ x2dV4vwYyNCapRRNnAGeu7wnA+p143qfSMknR+FCVPbtb2lYFbpC2SVwSaHdFzopV5m6 yztjvwdUV5CAy2Efaz2Xbg5GqIOmCHa+xvhGtst/5Q7SIORMVJp0+QVMkKJtqJGDGx5l +v98wXoL4wotwQ654CR4JEzKOVNGAyltY7Piv0HBGOSJ7Wq/NsA4JcjRbIpCPhRoS8JZ HIkg== Received: by 10.204.154.131 with SMTP id o3mr8443690bkw.87.1346785530988; Tue, 04 Sep 2012 12:05:30 -0700 (PDT) Received: from localhost ([176.109.165.98]) by mx.google.com with ESMTPS id 14sm11247009bkw.15.2012.09.04.12.05.24 (version=SSLv3 cipher=OTHER); Tue, 04 Sep 2012 12:05:25 -0700 (PDT) Sender: =?UTF-8?B?UGF3ZcWCIFDEmWthbGE=?= Date: Tue, 4 Sep 2012 21:04:24 +0200 From: Pawel Pekala To: Juergen Lock Message-ID: <20120904210424.7e6c8ace@FreeBSD.org> In-Reply-To: <20120903194543.GA38349@triton8.kn-bremen.de> References: <504468AB.8050003@FreeBSD.org> <20120903194543.GA38349@triton8.kn-bremen.de> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; i386-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Cc: multimedia@FreeBSD.org, Andriy Gapon Subject: Re: vlc-2.0.3_1,3 patch phase fails; devel/upnp bug X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Sep 2012 19:05:33 -0000 Dnia 2012-09-03, o godz. 21:45:43 Juergen Lock napisa=B3(a): > The following hack > in /usr/ports/devel/upnp/files/patch-upnp-src-inc-uuid.h >fixes it, I've Cc'd the devel/upnp maintainer, maybe he wants to >commit something like it? This should be fixed now, thanks for the patch ;) --=20 pozdrawiam / with regards Pawe=B3 P=EAkala From owner-freebsd-multimedia@FreeBSD.ORG Tue Sep 4 20:02:02 2012 Return-Path: Delivered-To: multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 686451065673; Tue, 4 Sep 2012 20:02:02 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 1E88C8FC19; Tue, 4 Sep 2012 20:02:01 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 882D51E0070A; Tue, 4 Sep 2012 22:01:54 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.4) with ESMTP id q84JhVop073897; Tue, 4 Sep 2012 21:43:31 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id q84JhVeV073896; Tue, 4 Sep 2012 21:43:31 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Tue, 4 Sep 2012 21:43:31 +0200 To: Pawel Pekala Message-ID: <20120904194331.GA73872@triton8.kn-bremen.de> References: <504468AB.8050003@FreeBSD.org> <20120903194543.GA38349@triton8.kn-bremen.de> <20120904210424.7e6c8ace@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120904210424.7e6c8ace@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Juergen Lock , Andriy Gapon , multimedia@FreeBSD.org Subject: Re: vlc-2.0.3_1,3 patch phase fails; devel/upnp bug X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Sep 2012 20:02:02 -0000 On Tue, Sep 04, 2012 at 09:04:24PM +0200, Pawel Pekala wrote: > Dnia 2012-09-03, o godz. 21:45:43 > Juergen Lock napisa?(a): > > > The following hack > > in /usr/ports/devel/upnp/files/patch-upnp-src-inc-uuid.h > >fixes it, I've Cc'd the devel/upnp maintainer, maybe he wants to > >commit something like it? > > This should be fixed now, thanks for the patch ;) You're welcome, thanx for the quick fix! :) Juergen From owner-freebsd-multimedia@FreeBSD.ORG Tue Sep 4 20:05:20 2012 Return-Path: Delivered-To: multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1EAB5106566B; Tue, 4 Sep 2012 20:05:20 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id B19D18FC1E; Tue, 4 Sep 2012 20:05:19 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id B24F91E00100; Tue, 4 Sep 2012 22:05:18 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.4) with ESMTP id q84K4BBX074585; Tue, 4 Sep 2012 22:04:11 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id q84K4B7a074584; Tue, 4 Sep 2012 22:04:11 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Tue, 4 Sep 2012 22:04:11 +0200 To: Peter Cornelius Message-ID: <20120904200411.GB73872@triton8.kn-bremen.de> References: <504468AB.8050003@FreeBSD.org> <20120903194543.GA38349@triton8.kn-bremen.de> <20120903221849.33490@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120903221849.33490@gmx.net> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: avg@FreeBSD.org, Juergen Lock , multimedia@FreeBSD.org, pawel@FreeBSD.org Subject: Re: vlc-2.0.3_1,3 patch phase fails; devel/upnp bug X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Sep 2012 20:05:20 -0000 On Tue, Sep 04, 2012 at 12:18:49AM +0200, Peter Cornelius wrote: > Good .. afternoon? Night? Anyways... :) Hi! > > Thanks for providing the updated port. > > > > The file files/extra-patch-modules__services_discovery__upnp_intel.cpp > > doesn't > > > exist indeed. > > > > Yeah it's no longer needed, I'll remove the bogus reference to it. > > Thanks, I was just about to suggest that :) > > Furthermore, I have the following issue which I don't seem to be able to get my head around (it is a hundred per cent reproducible): > > (...) > gmake[2]: Entering directory `/usr/ports/multimedia/vlc/work/vlc-2.0.3/bin' > CC vlc.o > CC override.o > CC rootwrap.o > CC vlc_static-vlc.o > CC vlc_static-override.o > CC cachegen.o > CCLD vlc > CCLD vlc-wrapper > CCLD vlc-static > CCLD vlc-cache-gen > GEN ../modules/plugins.dat > gmake[2]: *** [../modules/plugins.dat] Segmentation fault: 11 (core dumped) > gmake[2]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-2.0.3/bin' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-2.0.3' > gmake: *** [all] Error 2 > *** Error code 1 > > Stop in /usr/ports/multimedia/vlc. > *** Error code 1 > > The naive backtrace of the core file is close to useless for me since there are no debug symbols at this stage: > > #0 0x0000000800604473 in ?? () > #1 0x0000000000000000 in ?? () > #2 0x0000000800643c00 in ?? () > #3 0x0000000800703a00 in ?? () > #4 0x0000000800604581 in ?? () > (...) > #1349 0x0000000000000000 in ?? () > #1350 0x2f00000000000000 in ?? () > #1351 0x74726f702f727375 in ?? () > #1352 0x6d69746c756d2f73 in ?? () > #1353 0x636c762f61696465 in ?? () > #1354 0x6c762f6b726f772f in ?? () > #1355 0x2f332e302e322d63 in ?? () > #1356 0x62696c2e2f6e6962 in ?? () > #1357 0x61632d636c762f73 in ?? () > #1358 0x006e65672d656863 in ?? () > #1359 0x00007fffffffd060 in ?? () > #1360 0x0000000000000002 in ?? () > #1361 0x00007fffffffd078 in ?? () > #1362 0x0000000000000042 in ?? () > Cannot access memory at address 0x7ffffffff000 > > I guess I may even have another issue here but any hints appreciated. > > Thanks, > > Peter > > --- > > Btw, OS is...: > > FreeBSD p.c 9.0-STABLE FreeBSD 9.0-STABLE #1: Thu Jun 7 16:35:43 CEST 2012 root@p.c:/usr/obj/usr/src/sys/P amd64 > > ... and most of the vlc port options I figured I could enable. > > # This file is auto-generated by 'make config'. > # Options for vlc-2.0.3_1,3 > _OPTIONS_READ=vlc-2.0.3_1,3 > _FILE_COMPLETE_OPTIONS_LIST=A52 AALIB ASS AVAHI CACA DBUS DEBUG DIRAC DOCS DTS DVDNAV DVDREAD FAAD FLAC FLUID FRIBIDI GLX GNOMEVFS GNUTLS GOOM HTTPD JACK LIVEMEDIA LUA MAD MATROSKA MODPLUG MPEG2 MTP MUSEPACK NCURSES NLS NOTIFY OGG OPTIMIZED_CFLAGS PNG PORTAUDIO PROJM PULSEAUDIO QT4 REALAUDIO RUNROOT SAMBA SCHROED SDL SERVER_ONLY SHOUTCAST SKINS SPEEX SQLITE STREAM SVG TAGLIB THEORA TREMOR TWOLAME UNSAFE_PLUGINS UPNP V4L VAAPI VCD VORBIS X11 X264 XCB XOSD XVIDEO ZVBI > OPTIONS_FILE_SET+=A52 > OPTIONS_FILE_SET+=AALIB > OPTIONS_FILE_SET+=ASS > OPTIONS_FILE_SET+=AVAHI > OPTIONS_FILE_SET+=CACA > OPTIONS_FILE_SET+=DBUS > OPTIONS_FILE_SET+=DEBUG > OPTIONS_FILE_SET+=DIRAC > OPTIONS_FILE_SET+=DOCS > OPTIONS_FILE_SET+=DTS > OPTIONS_FILE_SET+=DVDNAV > OPTIONS_FILE_SET+=DVDREAD > OPTIONS_FILE_SET+=FAAD > OPTIONS_FILE_SET+=FLAC > OPTIONS_FILE_SET+=FLUID > OPTIONS_FILE_SET+=FRIBIDI > OPTIONS_FILE_SET+=GLX > OPTIONS_FILE_SET+=GNOMEVFS > OPTIONS_FILE_SET+=GNUTLS > OPTIONS_FILE_SET+=GOOM > OPTIONS_FILE_SET+=HTTPD > OPTIONS_FILE_SET+=JACK > OPTIONS_FILE_SET+=LIVEMEDIA > OPTIONS_FILE_SET+=LUA > OPTIONS_FILE_SET+=MAD > OPTIONS_FILE_SET+=MATROSKA > OPTIONS_FILE_SET+=MODPLUG > OPTIONS_FILE_SET+=MPEG2 > OPTIONS_FILE_SET+=MTP > OPTIONS_FILE_SET+=MUSEPACK > OPTIONS_FILE_SET+=NCURSES > OPTIONS_FILE_SET+=NLS > OPTIONS_FILE_SET+=NOTIFY > OPTIONS_FILE_SET+=OGG > OPTIONS_FILE_SET+=OPTIMIZED_CFLAGS > OPTIONS_FILE_SET+=PNG > OPTIONS_FILE_SET+=PORTAUDIO > OPTIONS_FILE_SET+=PROJM > OPTIONS_FILE_SET+=PULSEAUDIO > OPTIONS_FILE_SET+=QT4 > OPTIONS_FILE_SET+=REALAUDIO > OPTIONS_FILE_UNSET+=RUNROOT > OPTIONS_FILE_SET+=SAMBA > OPTIONS_FILE_SET+=SCHROED > OPTIONS_FILE_SET+=SDL > OPTIONS_FILE_UNSET+=SERVER_ONLY > OPTIONS_FILE_SET+=SHOUTCAST > OPTIONS_FILE_SET+=SKINS > OPTIONS_FILE_SET+=SPEEX > OPTIONS_FILE_UNSET+=SQLITE > OPTIONS_FILE_SET+=STREAM > OPTIONS_FILE_SET+=SVG > OPTIONS_FILE_SET+=TAGLIB > OPTIONS_FILE_SET+=THEORA > OPTIONS_FILE_UNSET+=TREMOR > OPTIONS_FILE_SET+=TWOLAME > OPTIONS_FILE_SET+=UNSAFE_PLUGINS > OPTIONS_FILE_SET+=UPNP > OPTIONS_FILE_SET+=V4L > OPTIONS_FILE_SET+=VAAPI > OPTIONS_FILE_SET+=VCD > OPTIONS_FILE_SET+=VORBIS > OPTIONS_FILE_SET+=X11 > OPTIONS_FILE_SET+=X264 > OPTIONS_FILE_SET+=XCB > OPTIONS_FILE_SET+=XOSD > OPTIONS_FILE_SET+=XVIDEO > OPTIONS_FILE_SET+=ZVBI This looks like the rtld bug triggered by some vlc knobs like the pulseaudio one: http://lists.freebsd.org/pipermail/freebsd-multimedia/2012-August/013246.html Fix by kan: http://svnweb.freebsd.org/base?view=revision&revision=239253 (MFC'd to 9 as r239439) and a followup fix: (affecting openoffice or libreoffice, I forgot which) http://svnweb.freebsd.org/base?view=revision&revision=239470 (MFC'd to 9 as r239471.) I actually wanted to add an UPDATING entry about this but somehow forgot about it again, will do now as soon as I hear back from another user about (possibly) the only-sdl-works issue that `noone' could reproduce... Thanx! Juergen From owner-freebsd-multimedia@FreeBSD.ORG Tue Sep 4 20:25:03 2012 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D061E106566B; Tue, 4 Sep 2012 20:25:03 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe06.c2i.net [212.247.154.162]) by mx1.freebsd.org (Postfix) with ESMTP id 7B8E78FC14; Tue, 4 Sep 2012 20:25:01 +0000 (UTC) X-T2-Spam-Status: No, hits=-1.0 required=5.0 tests=ALL_TRUSTED, BAYES_40 Received: from [176.74.212.201] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe06.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 314936727; Tue, 04 Sep 2012 22:24:51 +0200 From: Hans Petter Selasky To: Roberth =?iso-8859-1?q?Sjon=F8y?= , Clemens Ladisch Date: Tue, 4 Sep 2012 22:25:55 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.1-PRERELEASE; KDE/4.8.4; amd64; ; ) References: <201209032130.52971.hselasky@c2i.net> In-Reply-To: <201209032130.52971.hselasky@c2i.net> X-Face: 'mmZ:T{)),Oru^0c+/}w'`gU1$ubmG?lp!=R4Wy\ELYo2)@'UZ24N@ =?iso-8859-1?q?d2+AyewRX=7DmAm=3BYp=0A=09=7CU=5B?=@, _z/([?1bCfM{_"B<.J>mICJCHAzzGHI{y7{%JVz%R~yJHIji`y> =?iso-8859-1?q?Y=7Dk1C4TfysrsUI=0A=09-=25GU9V5=5DiUZF=26nRn9mJ=27=3F=26?=>O MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_TPmRQg1hvz9TseG" Message-Id: <201209042225.55245.hselasky@c2i.net> Cc: freebsd-multimedia@freebsd.org, freebsd-usb@freebsd.org Subject: Re: M2Tech HiFace Two and FreeBSD X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Sep 2012 20:25:03 -0000 --Boundary-00=_TPmRQg1hvz9TseG Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable On Monday 03 September 2012 21:30:52 Hans Petter Selasky wrote: > On Sunday 02 September 2012 13:06:40 Roberth Sjon=F8y wrote: > > Here you go, > >=20 > > http://pastebin.com/LKT1LkNd > >=20 > > Regards, > >=20 > > Roberth Sjon=F8y >=20 Hi, The attached patch is for FREEBSD-10-CURRENT as of today. The attached patch adds full support for USB audio v2.0. Please test and=20 report back. Enabled uaudio debugging if something goes wrong: sysctl hw.usb.uaudio.debug=3D15 And send dmesg. Please test and report back! I don't have USB audio v2.0 devices. =2D-HPS --Boundary-00=_TPmRQg1hvz9TseG Content-Type: text/x-patch; charset="iso-8859-15"; name="uaudio_20_support.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="uaudio_20_support.patch" === sys/dev/sound/usb/uaudio.c ================================================================== --- sys/dev/sound/usb/uaudio.c (revision 240082) +++ sys/dev/sound/usb/uaudio.c (local) @@ -115,13 +115,28 @@ #endif #define UAUDIO_NFRAMES 64 /* must be factor of 8 due HS-USB */ -#define UAUDIO_NCHANBUFS 2 /* number of outstanding request */ -#define UAUDIO_RECURSE_LIMIT 24 /* rounds */ +#define UAUDIO_NCHANBUFS 2 /* number of outstanding request */ +#define UAUDIO_RECURSE_LIMIT 255 /* rounds */ #define MAKE_WORD(h,l) (((h) << 8) | (l)) #define BIT_TEST(bm,bno) (((bm)[(bno) / 8] >> (7 - ((bno) % 8))) & 1) #define UAUDIO_MAX_CHAN(x) (x) +union uaudio_asid { + const struct usb_audio_streaming_interface_descriptor *v1; + const struct usb_audio20_streaming_interface_descriptor *v2; +}; + +union uaudio_asf1d { + const struct usb_audio_streaming_type1_descriptor *v1; + const struct usb_audio20_streaming_type1_descriptor *v2; +}; + +union uaudio_sed { + const struct usb_audio_streaming_endpoint_descriptor *v1; + const struct usb_audio20_streaming_endpoint_descriptor *v2; +}; + struct uaudio_mixer_node { int32_t minval; int32_t maxval; @@ -162,11 +177,9 @@ struct uaudio_softc *priv_sc; struct pcm_channel *pcm_ch; struct usb_xfer *xfer[UAUDIO_NCHANBUFS]; - const struct usb_audio_streaming_interface_descriptor *p_asid; - const struct usb_audio_streaming_type1_descriptor *p_asf1d; - const struct usb_audio_streaming_endpoint_descriptor *p_sed; + union uaudio_asf1d p_asf1d; + union uaudio_sed p_sed; const usb_endpoint_descriptor_audio_t *p_ed1; - const usb_endpoint_descriptor_audio_t *p_ed2; const struct uaudio_format *p_fmt; uint8_t *buf; /* pointer to buffer */ @@ -192,6 +205,7 @@ uint8_t valid; uint8_t iface_index; uint8_t iface_alt_index; + uint8_t channels; }; #define UMIDI_CABLES_MAX 16 /* units */ @@ -242,12 +256,21 @@ uint8_t single_command; }; +struct uaudio_search_result { + uint8_t bit_input[(256 + 7) / 8]; + uint8_t bit_output[(256 + 7) / 8]; + uint8_t recurse_level; + uint8_t id_max; + uint8_t is_input; +}; + struct uaudio_softc { struct sbuf sc_sndstat; struct sndcard_func sc_sndcard_func; struct uaudio_chan sc_rec_chan; struct uaudio_chan sc_play_chan; struct umidi_chan sc_midi_chan; + struct uaudio_search_result sc_mixer_clocks; struct usb_device *sc_udev; struct usb_xfer *sc_mixer_xfer[1]; @@ -273,24 +296,28 @@ uint8_t sc_uq_au_vendor_class:1; }; -struct uaudio_search_result { - uint8_t bit_input[(256 + 7) / 8]; - uint8_t bit_output[(256 + 7) / 8]; - uint8_t bit_visited[(256 + 7) / 8]; - uint8_t recurse_level; - uint8_t id_max; -}; - struct uaudio_terminal_node { union { const struct usb_descriptor *desc; - const struct usb_audio_input_terminal *it; - const struct usb_audio_output_terminal *ot; - const struct usb_audio_mixer_unit_0 *mu; - const struct usb_audio_selector_unit *su; - const struct usb_audio_feature_unit *fu; - const struct usb_audio_processing_unit_0 *pu; - const struct usb_audio_extension_unit_0 *eu; + const struct usb_audio_input_terminal *it_v1; + const struct usb_audio_output_terminal *ot_v1; + const struct usb_audio_mixer_unit_0 *mu_v1; + const struct usb_audio_selector_unit *su_v1; + const struct usb_audio_feature_unit *fu_v1; + const struct usb_audio_processing_unit_0 *pu_v1; + const struct usb_audio_extension_unit_0 *eu_v1; + const struct usb_audio20_clock_source_unit *csrc_v2; + const struct usb_audio20_clock_selector_unit_0 *csel_v2; + const struct usb_audio20_clock_multiplier_unit *cmul_v2; + const struct usb_audio20_input_terminal *it_v2; + const struct usb_audio20_output_terminal *ot_v2; + const struct usb_audio20_mixer_unit_0 *mu_v2; + const struct usb_audio20_selector_unit *su_v2; + const struct usb_audio20_feature_unit *fu_v2; + const struct usb_audio20_sample_rate_unit *ru_v2; + const struct usb_audio20_processing_unit_0 *pu_v2; + const struct usb_audio20_extension_unit_0 *eu_v2; + const struct usb_audio20_effect_unit *ef_v2; } u; struct uaudio_search_result usr; struct uaudio_terminal_node *root; @@ -303,7 +330,7 @@ const char *description; }; -static const struct uaudio_format uaudio_formats[] = { +static const struct uaudio_format uaudio10_formats[] = { {UA_FMT_PCM8, 8, AFMT_U8, "8-bit U-LE PCM"}, {UA_FMT_PCM8, 16, AFMT_U16_LE, "16-bit U-LE PCM"}, @@ -321,6 +348,24 @@ {0, 0, 0, NULL} }; +static const struct uaudio_format uaudio20_formats[] = { + + {UA20_FMT_PCM, 8, AFMT_S8, "8-bit S-LE PCM"}, + {UA20_FMT_PCM, 16, AFMT_S16_LE, "16-bit S-LE PCM"}, + {UA20_FMT_PCM, 24, AFMT_S24_LE, "24-bit S-LE PCM"}, + {UA20_FMT_PCM, 32, AFMT_S32_LE, "32-bit S-LE PCM"}, + + {UA20_FMT_PCM8, 8, AFMT_U8, "8-bit U-LE PCM"}, + {UA20_FMT_PCM8, 16, AFMT_U16_LE, "16-bit U-LE PCM"}, + {UA20_FMT_PCM8, 24, AFMT_U24_LE, "24-bit U-LE PCM"}, + {UA20_FMT_PCM8, 32, AFMT_U32_LE, "32-bit U-LE PCM"}, + + {UA20_FMT_ALAW, 8, AFMT_A_LAW, "8-bit A-Law"}, + {UA20_FMT_MULAW, 8, AFMT_MU_LAW, "8-bit mu-Law"}, + + {0, 0, 0, NULL} +}; + #define UAC_OUTPUT 0 #define UAC_INPUT 1 #define UAC_EQUAL 2 @@ -346,18 +391,8 @@ static usb_callback_t umidi_bulk_read_callback; static usb_callback_t umidi_bulk_write_callback; -static void uaudio_chan_fill_info_sub(struct uaudio_softc *, - struct usb_device *, uint32_t, uint8_t, uint8_t); -static void uaudio_chan_fill_info(struct uaudio_softc *, - struct usb_device *); -static void uaudio_mixer_add_ctl_sub(struct uaudio_softc *, - struct uaudio_mixer_node *); -static void uaudio_mixer_add_ctl(struct uaudio_softc *, - struct uaudio_mixer_node *); -static void uaudio_mixer_add_input(struct uaudio_softc *, - const struct uaudio_terminal_node *, int); -static void uaudio_mixer_add_output(struct uaudio_softc *, - const struct uaudio_terminal_node *, int); +/* ==== USB audio v1.0 ==== */ + static void uaudio_mixer_add_mixer(struct uaudio_softc *, const struct uaudio_terminal_node *, int); static void uaudio_mixer_add_selector(struct uaudio_softc *, @@ -378,25 +413,56 @@ struct uaudio_mixer_node *); static uint16_t uaudio_mixer_feature_name(const struct uaudio_terminal_node *, struct uaudio_mixer_node *); -static const struct uaudio_terminal_node *uaudio_mixer_get_input( - const struct uaudio_terminal_node *, uint8_t); -static const struct uaudio_terminal_node *uaudio_mixer_get_output( - const struct uaudio_terminal_node *, uint8_t); static void uaudio_mixer_find_inputs_sub(struct uaudio_terminal_node *, const uint8_t *, uint8_t, struct uaudio_search_result *); -static void uaudio_mixer_find_outputs_sub(struct uaudio_terminal_node *, - uint8_t, uint8_t, struct uaudio_search_result *); +static const void *uaudio_mixer_verify_desc(const void *, uint32_t); +static usb_error_t uaudio_set_speed(struct usb_device *, uint8_t, uint32_t); +static int uaudio_mixer_get(struct usb_device *, uint16_t, uint8_t, + struct uaudio_mixer_node *); + +/* ==== USB audio v2.0 ==== */ + +static void uaudio20_mixer_add_mixer(struct uaudio_softc *, + const struct uaudio_terminal_node *, int); +static void uaudio20_mixer_add_selector(struct uaudio_softc *, + const struct uaudio_terminal_node *, int); +static void uaudio20_mixer_add_feature(struct uaudio_softc *, + const struct uaudio_terminal_node *, int); +static struct usb_audio20_cluster uaudio20_mixer_get_cluster(uint8_t, + const struct uaudio_terminal_node *); +static uint16_t uaudio20_mixer_determine_class(const struct uaudio_terminal_node *, + struct uaudio_mixer_node *); +static uint16_t uaudio20_mixer_feature_name(const struct uaudio_terminal_node *, + struct uaudio_mixer_node *); +static void uaudio20_mixer_find_inputs_sub(struct uaudio_terminal_node *, + const uint8_t *, uint8_t, struct uaudio_search_result *); +static const void *uaudio20_mixer_verify_desc(const void *, uint32_t); +static usb_error_t uaudio20_set_speed(struct usb_device *, uint8_t, + uint8_t, uint32_t); + +/* USB audio v1.0 and v2.0 */ + +static void uaudio_chan_fill_info_sub(struct uaudio_softc *, + struct usb_device *, uint32_t, uint8_t, uint8_t); +static void uaudio_chan_fill_info(struct uaudio_softc *, + struct usb_device *); +static void uaudio_mixer_add_ctl_sub(struct uaudio_softc *, + struct uaudio_mixer_node *); +static void uaudio_mixer_add_ctl(struct uaudio_softc *, + struct uaudio_mixer_node *); static void uaudio_mixer_fill_info(struct uaudio_softc *, struct usb_device *, void *); -static uint16_t uaudio_mixer_get(struct usb_device *, uint8_t, - struct uaudio_mixer_node *); static void uaudio_mixer_ctl_set(struct uaudio_softc *, struct uaudio_mixer_node *, uint8_t, int32_t val); -static usb_error_t uaudio_set_speed(struct usb_device *, uint8_t, uint32_t); static int uaudio_mixer_signext(uint8_t, int); static int uaudio_mixer_bsd2value(struct uaudio_mixer_node *, int32_t val); -static const void *uaudio_mixer_verify_desc(const void *, uint32_t); static void uaudio_mixer_init(struct uaudio_softc *); +static const struct uaudio_terminal_node *uaudio_mixer_get_input( + const struct uaudio_terminal_node *, uint8_t); +static const struct uaudio_terminal_node *uaudio_mixer_get_output( + const struct uaudio_terminal_node *, uint8_t); +static void uaudio_mixer_find_outputs_sub(struct uaudio_terminal_node *, + uint8_t, uint8_t, struct uaudio_search_result *); static uint8_t umidi_convert_to_usb(struct umidi_sub_chan *, uint8_t, uint8_t); static struct umidi_sub_chan *umidi_sub_by_fifo(struct usb_fifo *); static void umidi_start_read(struct usb_fifo *); @@ -413,9 +479,6 @@ #ifdef USB_DEBUG static void uaudio_chan_dump_ep_desc( const usb_endpoint_descriptor_audio_t *); -static void uaudio_mixer_dump_cluster(uint8_t, - const struct uaudio_terminal_node *); -static const char *uaudio_mixer_get_terminal_name(uint16_t); #endif static const struct usb_config @@ -614,10 +677,12 @@ id = usbd_get_interface_descriptor(uaa->iface); + /* must fill mixer info before channel info */ + uaudio_mixer_fill_info(sc, uaa->device, id); + + /* fill channel info */ uaudio_chan_fill_info(sc, uaa->device); - uaudio_mixer_fill_info(sc, uaa->device, id); - DPRINTF("audio rev %d.%02x\n", sc->sc_audio_rev >> 8, sc->sc_audio_rev & 0xff); @@ -628,7 +693,7 @@ if (sc->sc_play_chan.valid) { device_printf(dev, "Play: %d Hz, %d ch, %s format.\n", sc->sc_play_chan.sample_rate, - sc->sc_play_chan.p_asf1d->bNrChannels, + sc->sc_play_chan.channels, sc->sc_play_chan.p_fmt->description); } else { device_printf(dev, "No playback.\n"); @@ -637,7 +702,7 @@ if (sc->sc_rec_chan.valid) { device_printf(dev, "Record: %d Hz, %d ch, %s format.\n", sc->sc_rec_chan.sample_rate, - sc->sc_rec_chan.p_asf1d->bNrChannels, + sc->sc_play_chan.channels, sc->sc_rec_chan.p_fmt->description); } else { device_printf(dev, "No recording.\n"); @@ -857,28 +922,88 @@ } } +static usb_error_t +uaudio20_check_rate(struct usb_device *udev, uint8_t iface_no, + uint8_t clockid, uint32_t rate) +{ + struct usb_device_request req; + usb_error_t error; + uint8_t data[255]; + uint16_t actlen; + uint16_t rates; + uint16_t x; + + DPRINTFN(6, "ifaceno=%d clockid=%d speed=%u rate=%u\n", + iface_no, clockid, speed, rate); + + req.bmRequestType = UT_READ_CLASS_INTERFACE; + req.bRequest = UA20_CS_RANGE; + USETW2(req.wValue, UA20_CS_SAM_FREQ_CONTROL, 0); + USETW2(req.wIndex, clockid, iface_no); + USETW(req.wLength, 255); + + error = usbd_do_request_flags(udev, NULL, &req, data, + USB_SHORT_XFER_OK, &actlen, USB_DEFAULT_TIMEOUT); + + if (error != 0 || actlen < 2) + return (USB_ERR_INVAL); + + rates = data[0] | (data[1] << 8); + actlen = (actlen - 2) / 12; + + if (rates > actlen) { + DPRINTF("Too many rates\n"); + rates = actlen; + } + + for (x = 0; x != rates; x++) { + uint32_t min = UGETDW(data + 2 + (12 * x)); + uint32_t max = UGETDW(data + 6 + (12 * x)); + uint32_t res = UGETDW(data + 10 + (12 * x)); + + if (res == 0) { + DPRINTF("Zero residue\n"); + res = 1; + } + + if (min > max) { + DPRINTF("Swapped max and min\n"); + uint32_t temp; + temp = min; + min = max; + max = temp; + } + + if (rate >= min && rate <= max && + ((rate - min) % res == 0)) { + return (0); + } + } + return (USB_ERR_INVAL); +} + static void uaudio_chan_fill_info_sub(struct uaudio_softc *sc, struct usb_device *udev, uint32_t rate, uint8_t channels, uint8_t bit_resolution) { struct usb_descriptor *desc = NULL; - const struct usb_audio_streaming_interface_descriptor *asid = NULL; - const struct usb_audio_streaming_type1_descriptor *asf1d = NULL; - const struct usb_audio_streaming_endpoint_descriptor *sed = NULL; + union uaudio_asid asid = { NULL }; + union uaudio_asf1d asf1d = { NULL }; + union uaudio_sed sed = { NULL }; usb_endpoint_descriptor_audio_t *ed1 = NULL; - const usb_endpoint_descriptor_audio_t *ed2 = NULL; + const struct usb_audio_control_descriptor *acdp = NULL; struct usb_config_descriptor *cd = usbd_get_config_descriptor(udev); struct usb_interface_descriptor *id; - const struct uaudio_format *p_fmt; + const struct uaudio_format *p_fmt = NULL; struct uaudio_chan *chan; uint16_t curidx = 0xFFFF; uint16_t lastidx = 0xFFFF; uint16_t alt_index = 0; - uint16_t wFormat; + uint16_t audio_rev = 0; + uint16_t x; uint8_t ep_dir; uint8_t bChannels; uint8_t bBitResolution; - uint8_t x; uint8_t audio_if = 0; uint8_t uma_if_class; @@ -923,171 +1048,258 @@ sc->sc_midi_chan.valid = 1; } } - asid = NULL; - asf1d = NULL; + asid.v1 = NULL; + asf1d.v1 = NULL; ed1 = NULL; - ed2 = NULL; - sed = NULL; + sed.v1 = NULL; } - if ((desc->bDescriptorType == UDESC_CS_INTERFACE) && + + if ((acdp == NULL) && + (desc->bDescriptorType == UDESC_CS_INTERFACE) && (desc->bDescriptorSubtype == AS_GENERAL) && - (desc->bLength >= sizeof(*asid))) { - if (asid == NULL) { - asid = (void *)desc; + (desc->bDescriptorSubtype == UDESCSUB_AC_HEADER) && + (desc->bLength >= sizeof(*acdp))) { + acdp = (void *)desc; + audio_rev = UGETW(acdp->bcdADC); + } + + if ((acdp != NULL) && + (desc->bDescriptorType == UDESC_CS_INTERFACE) && + (desc->bDescriptorSubtype == AS_GENERAL) && + (asid.v1 == NULL)) { + if (audio_rev >= UAUDIO_VERSION_30) { + /* FALLTHROUGH */ + } else if (audio_rev >= UAUDIO_VERSION_20) { + if (desc->bLength >= sizeof(*asid.v2)) { + asid.v2 = (void *)desc; + } + } else { + if (desc->bLength >= sizeof(*asid.v1)) { + asid.v1 = (void *)desc; + } } } - if ((desc->bDescriptorType == UDESC_CS_INTERFACE) && + if ((acdp != NULL) && + (desc->bDescriptorType == UDESC_CS_INTERFACE) && (desc->bDescriptorSubtype == FORMAT_TYPE) && - (desc->bLength >= sizeof(*asf1d))) { - if (asf1d == NULL) { - asf1d = (void *)desc; - if (asf1d->bFormatType != FORMAT_TYPE_I) { - DPRINTFN(11, "ignored bFormatType = %d\n", - asf1d->bFormatType); - asf1d = NULL; - continue; + (asf1d.v1 == NULL)) { + if (audio_rev >= UAUDIO_VERSION_30) { + /* FALLTHROUGH */ + } else if (audio_rev >= UAUDIO_VERSION_20) { + if (desc->bLength >= sizeof(*asf1d.v2)) + asf1d.v2 = (void *)desc; + } else { + if (desc->bLength >= sizeof(*asf1d.v1)) { + asf1d.v1 = (void *)desc; + + if (asf1d.v1->bFormatType != FORMAT_TYPE_I) { + DPRINTFN(11, "ignored bFormatType = %d\n", + asf1d.v1->bFormatType); + asf1d.v1 = NULL; + continue; + } + if (desc->bLength < (sizeof(*asf1d.v1) + + ((asf1d.v1->bSamFreqType == 0) ? 6 : + (asf1d.v1->bSamFreqType * 3)))) { + DPRINTFN(11, "invalid descriptor, " + "too short\n"); + asf1d.v1 = NULL; + continue; + } } - if (asf1d->bLength < (sizeof(*asf1d) + - ((asf1d->bSamFreqType == 0) ? 6 : - (asf1d->bSamFreqType * 3)))) { - DPRINTFN(11, "'asf1d' descriptor is too short\n"); - asf1d = NULL; - continue; - } } } if ((desc->bDescriptorType == UDESC_ENDPOINT) && - (desc->bLength >= UEP_MINSIZE)) { - if (ed1 == NULL) { - ed1 = (void *)desc; - if (UE_GET_XFERTYPE(ed1->bmAttributes) != UE_ISOCHRONOUS) { - ed1 = NULL; - } + (desc->bLength >= UEP_MINSIZE) && + (ed1 == NULL)) { + ed1 = (void *)desc; + if (UE_GET_XFERTYPE(ed1->bmAttributes) != UE_ISOCHRONOUS) { + ed1 = NULL; + continue; } } - if ((desc->bDescriptorType == UDESC_CS_ENDPOINT) && + if ((acdp != NULL) && + (desc->bDescriptorType == UDESC_CS_ENDPOINT) && (desc->bDescriptorSubtype == AS_GENERAL) && - (desc->bLength >= sizeof(*sed))) { - if (sed == NULL) { - sed = (void *)desc; + (sed.v1 == NULL)) { + if (audio_rev >= UAUDIO_VERSION_30) { + /* FALLTHROUGH */ + } else if (audio_rev >= UAUDIO_VERSION_20) { + if (desc->bLength >= sizeof(*sed.v2)) + sed.v2 = (void *)desc; + } else { + if (desc->bLength >= sizeof(*sed.v1)) + sed.v1 = (void *)desc; } } - if (audio_if && asid && asf1d && ed1 && sed) { + if (audio_if == 0 || asid.v1 == NULL || + asf1d.v1 == NULL || ed1 == NULL || + sed.v1 == NULL) { + /* need more descriptors */ + continue; + } - ep_dir = UE_GET_DIR(ed1->bEndpointAddress); + ep_dir = UE_GET_DIR(ed1->bEndpointAddress); - /* We ignore sync endpoint information until further. */ + /* We ignore sync endpoint information until further. */ - wFormat = UGETW(asid->wFormatTag); - bChannels = UAUDIO_MAX_CHAN(asf1d->bNrChannels); - bBitResolution = asf1d->bBitResolution; + if (audio_rev >= UAUDIO_VERSION_30) { + /* FALLTHROUGH */ + } else if (audio_rev >= UAUDIO_VERSION_20) { - if (asf1d->bSamFreqType == 0) { + uint32_t dwFormat; + uint8_t bSubslotSize; + + dwFormat = UGETDW(asid.v2->bmFormats); + bChannels = asid.v2->bNrChannels; + bBitResolution = asf1d.v2->bBitResolution; + bSubslotSize = asf1d.v2->bSubslotSize; + + if (bBitResolution != (bSubslotSize * 8)) { + DPRINTF("Invalid bSubslotSize\n"); + goto next_ep; + } + + if ((bChannels != channels) || + (bBitResolution != bit_resolution)) { + DPRINTF("Wrong number of channels\n"); + goto next_ep; + } + + for (p_fmt = uaudio20_formats; + p_fmt->wFormat != 0; p_fmt++) { + if ((p_fmt->wFormat & dwFormat) && + (p_fmt->bPrecision == bBitResolution)) + break; + } + + if (p_fmt->wFormat == 0) { + DPRINTF("Unsupported audio format\n"); + goto next_ep; + } + + for (x = 0; x != 256; x++) { + if (ep_dir == UE_DIR_OUT) { + if (!(sc->sc_mixer_clocks.bit_output[x / 8] & + (1 << (x % 8)))) { + continue; + } + } else { + if (!(sc->sc_mixer_clocks.bit_input[x / 8] & + (1 << (x % 8)))) { + continue; + } + } + + DPRINTF("Checking clock ID=%d\n", id); + + if (uaudio20_check_rate(udev, + sc->sc_mixer_iface_no, x, rate)) { + DPRINTF("Unsupported sampling " + "rate, id=%d\n", x); + goto next_ep; + } + } + } else { + uint16_t wFormat; + + wFormat = UGETW(asid.v1->wFormatTag); + bChannels = UAUDIO_MAX_CHAN(asf1d.v1->bNrChannels); + bBitResolution = asf1d.v1->bBitResolution; + + if (asf1d.v1->bSamFreqType == 0) { DPRINTFN(16, "Sample rate: %d-%dHz\n", - UA_SAMP_LO(asf1d), UA_SAMP_HI(asf1d)); + UA_SAMP_LO(asf1d.v1), + UA_SAMP_HI(asf1d.v1)); - if ((rate >= UA_SAMP_LO(asf1d)) && - (rate <= UA_SAMP_HI(asf1d))) { + if ((rate >= UA_SAMP_LO(asf1d.v1)) && + (rate <= UA_SAMP_HI(asf1d.v1))) goto found_rate; - } } else { - for (x = 0; x < asf1d->bSamFreqType; x++) { + for (x = 0; x < asf1d.v1->bSamFreqType; x++) { DPRINTFN(16, "Sample rate = %dHz\n", - UA_GETSAMP(asf1d, x)); + UA_GETSAMP(asf1d.v1, x)); - if (rate == UA_GETSAMP(asf1d, x)) { + if (rate == UA_GETSAMP(asf1d.v1, x)) goto found_rate; - } } } + goto next_ep; - audio_if = 0; - continue; - found_rate: - - for (p_fmt = uaudio_formats; - p_fmt->wFormat; - p_fmt++) { + for (p_fmt = uaudio10_formats; + p_fmt->wFormat != 0; p_fmt++) { if ((p_fmt->wFormat == wFormat) && - (p_fmt->bPrecision == bBitResolution)) { - goto found_format; - } + (p_fmt->bPrecision == bBitResolution)) + break; } + if (p_fmt->wFormat == 0) { + DPRINTF("Unsupported audio format\n"); + goto next_ep; + } - audio_if = 0; - continue; + if ((bChannels != channels) || + (bBitResolution != bit_resolution)) { + DPRINTF("Wrong number of channels\n"); + goto next_ep; + } + } - found_format: + chan = (ep_dir == UE_DIR_IN) ? + &sc->sc_rec_chan : &sc->sc_play_chan; - if ((bChannels == channels) && - (bBitResolution == bit_resolution)) { + if (chan->valid != 0 || + usbd_get_iface(udev, curidx) == NULL) { + DPRINTF("Channel already exists or " + "interface is not valid\n"); + goto next_ep; + } - chan = (ep_dir == UE_DIR_IN) ? - &sc->sc_rec_chan : - &sc->sc_play_chan; - - if ((chan->valid == 0) && usbd_get_iface(udev, curidx)) { - - chan->valid = 1; + chan->valid = 1; #ifdef USB_DEBUG - uaudio_chan_dump_ep_desc(ed1); - uaudio_chan_dump_ep_desc(ed2); - - if (sed->bmAttributes & UA_SED_FREQ_CONTROL) { - DPRINTFN(2, "FREQ_CONTROL\n"); - } - if (sed->bmAttributes & UA_SED_PITCH_CONTROL) { - DPRINTFN(2, "PITCH_CONTROL\n"); - } + uaudio_chan_dump_ep_desc(ed1); #endif - DPRINTF("Sample rate = %dHz, channels = %d, " - "bits = %d, format = %s\n", rate, channels, - bit_resolution, p_fmt->description); + DPRINTF("Sample rate = %dHz, channels = %d, " + "bits = %d, format = %s\n", rate, channels, + bit_resolution, p_fmt->description); - chan->sample_rate = rate; - chan->p_asid = asid; - chan->p_asf1d = asf1d; - chan->p_ed1 = ed1; - chan->p_ed2 = ed2; - chan->p_fmt = p_fmt; - chan->p_sed = sed; - chan->iface_index = curidx; - chan->iface_alt_index = alt_index; + chan->sample_rate = rate; + chan->p_asf1d = asf1d; + chan->p_ed1 = ed1; + chan->p_fmt = p_fmt; + chan->p_sed = sed; + chan->iface_index = curidx; + chan->iface_alt_index = alt_index; - if (ep_dir == UE_DIR_IN) - chan->usb_cfg = - uaudio_cfg_record; - else - chan->usb_cfg = - uaudio_cfg_play; + if (ep_dir == UE_DIR_IN) + chan->usb_cfg = uaudio_cfg_record; + else + chan->usb_cfg = uaudio_cfg_play; - chan->sample_size = (( - UAUDIO_MAX_CHAN(chan->p_asf1d->bNrChannels) * - chan->p_asf1d->bBitResolution) / 8); + chan->sample_size = (UAUDIO_MAX_CHAN(channels) * + p_fmt->bPrecision) / 8; + chan->channels = channels; - if (ep_dir == UE_DIR_IN && - usbd_get_speed(udev) == USB_SPEED_FULL) { - uaudio_record_fix_fs(ed1, - chan->sample_size * (rate / 1000), - chan->sample_size * (rate / 4000)); - } + if (ep_dir == UE_DIR_IN && + usbd_get_speed(udev) == USB_SPEED_FULL) { + uaudio_record_fix_fs(ed1, + chan->sample_size * (rate / 1000), + chan->sample_size * (rate / 4000)); + } - if (sc->sc_sndstat_valid) { - sbuf_printf(&sc->sc_sndstat, "\n\t" - "mode %d.%d:(%s) %dch, %d/%dbit, %s, %dHz", - curidx, alt_index, - (ep_dir == UE_DIR_IN) ? "input" : "output", - asf1d->bNrChannels, asf1d->bBitResolution, - asf1d->bSubFrameSize * 8, - p_fmt->description, rate); - } - } - } - audio_if = 0; - continue; + if (sc->sc_sndstat_valid != 0) { + sbuf_printf(&sc->sc_sndstat, "\n\t" + "mode %d.%d:(%s) %dch, %dbit, %s, %dHz", + curidx, alt_index, + (ep_dir == UE_DIR_IN) ? "input" : "output", + channels, p_fmt->bPrecision, + p_fmt->description, rate); } + + next_ep: + sed.v1 = NULL; + ed1 = NULL; } } @@ -1390,7 +1602,7 @@ format = ch->p_fmt->freebsd_fmt; - switch (ch->p_asf1d->bNrChannels) { + switch (ch->channels) { case 2: /* stereo */ format = SND_FORMAT(format, 2, 0); @@ -1402,7 +1614,7 @@ default: /* surround and more */ format = feeder_matrix_default_format( - SND_FORMAT(format, ch->p_asf1d->bNrChannels, 0)); + SND_FORMAT(format, ch->channels, 0)); break; } @@ -1438,13 +1650,43 @@ * Only set the sample rate if the channel reports that it * supports the frequency control. */ - if (ch->p_sed->bmAttributes & UA_SED_FREQ_CONTROL) { + + if (sc->sc_audio_rev >= UAUDIO_VERSION_30) { + /* FALLTHROUGH */ + } else if (sc->sc_audio_rev >= UAUDIO_VERSION_20) { + unsigned int x; + + for (x = 0; x != 256; x++) { + if (dir == PCMDIR_PLAY) { + if (!(sc->sc_mixer_clocks.bit_output[x / 8] & + (1 << (x % 8)))) { + continue; + } + } else { + if (!(sc->sc_mixer_clocks.bit_input[x / 8] & + (1 << (x % 8)))) { + continue; + } + } + + if (uaudio20_set_speed(sc->sc_udev, + sc->sc_mixer_iface_no, x, ch->sample_rate)) { + /* + * If the endpoint is adaptive setting + * the speed may fail. + */ + DPRINTF("setting of sample rate failed! " + "(continuing anyway)\n"); + } + } + } else if (ch->p_sed.v1->bmAttributes & UA_SED_FREQ_CONTROL) { if (uaudio_set_speed(sc->sc_udev, endpoint, ch->sample_rate)) { /* - * If the endpoint is adaptive setting the speed may - * fail. + * If the endpoint is adaptive setting the + * speed may fail. */ - DPRINTF("setting of sample rate failed! (continuing anyway)\n"); + DPRINTF("setting of sample rate failed! " + "(continuing anyway)\n"); } } if (usbd_transfer_setup(sc->sc_udev, &iface_index, ch->xfer, @@ -1679,14 +1921,11 @@ /* determine min and max values */ - mc->minval = uaudio_mixer_get(sc->sc_udev, GET_MIN, mc); + mc->minval = uaudio_mixer_get(sc->sc_udev, + sc->sc_audio_rev, GET_MIN, mc); + mc->maxval = uaudio_mixer_get(sc->sc_udev, + sc->sc_audio_rev, GET_MAX, mc); - mc->minval = uaudio_mixer_signext(mc->type, mc->minval); - - mc->maxval = uaudio_mixer_get(sc->sc_udev, GET_MAX, mc); - - mc->maxval = uaudio_mixer_signext(mc->type, mc->maxval); - /* check if max and min was swapped */ if (mc->maxval < mc->minval) { @@ -1701,7 +1940,8 @@ mc->mul = 1; /* compute value alignment */ - res = uaudio_mixer_get(sc->sc_udev, GET_RES, mc); + res = uaudio_mixer_get(sc->sc_udev, + sc->sc_audio_rev, GET_RES, mc); DPRINTF("Resolution = %d\n", (int)res); } @@ -1724,43 +1964,94 @@ } static void -uaudio_mixer_add_input(struct uaudio_softc *sc, +uaudio_mixer_add_mixer(struct uaudio_softc *sc, const struct uaudio_terminal_node *iot, int id) { -#ifdef USB_DEBUG - const struct usb_audio_input_terminal *d = iot[id].u.it; + struct uaudio_mixer_node mix; - DPRINTFN(3, "bTerminalId=%d wTerminalType=0x%04x " - "bAssocTerminal=%d bNrChannels=%d wChannelConfig=%d " - "iChannelNames=%d\n", - d->bTerminalId, UGETW(d->wTerminalType), d->bAssocTerminal, - d->bNrChannels, UGETW(d->wChannelConfig), - d->iChannelNames); -#endif -} + const struct usb_audio_mixer_unit_0 *d0 = iot[id].u.mu_v1; + const struct usb_audio_mixer_unit_1 *d1; -static void -uaudio_mixer_add_output(struct uaudio_softc *sc, - const struct uaudio_terminal_node *iot, int id) -{ -#ifdef USB_DEBUG - const struct usb_audio_output_terminal *d = iot[id].u.ot; + uint32_t bno; /* bit number */ + uint32_t p; /* bit number accumulator */ + uint32_t mo; /* matching outputs */ + uint32_t mc; /* matching channels */ + uint32_t ichs; /* input channels */ + uint32_t ochs; /* output channels */ + uint32_t c; + uint32_t chs; /* channels */ + uint32_t i; + uint32_t o; - DPRINTFN(3, "bTerminalId=%d wTerminalType=0x%04x " - "bAssocTerminal=%d bSourceId=%d iTerminal=%d\n", - d->bTerminalId, UGETW(d->wTerminalType), d->bAssocTerminal, - d->bSourceId, d->iTerminal); -#endif + DPRINTFN(3, "bUnitId=%d bNrInPins=%d\n", + d0->bUnitId, d0->bNrInPins); + + /* compute the number of input channels */ + + ichs = 0; + for (i = 0; i < d0->bNrInPins; i++) { + ichs += uaudio_mixer_get_cluster( + d0->baSourceId[i], iot).bNrChannels; + } + + d1 = (const void *)(d0->baSourceId + d0->bNrInPins); + + /* and the number of output channels */ + + ochs = d1->bNrChannels; + + DPRINTFN(3, "ichs=%d ochs=%d\n", ichs, ochs); + + memset(&mix, 0, sizeof(mix)); + + mix.wIndex = MAKE_WORD(d0->bUnitId, sc->sc_mixer_iface_no); + uaudio_mixer_determine_class(&iot[id], &mix); + mix.type = MIX_SIGNED_16; + + if (uaudio_mixer_verify_desc(d0, ((ichs * ochs) + 7) / 8) == NULL) + return; + + for (p = i = 0; i < d0->bNrInPins; i++) { + chs = uaudio_mixer_get_cluster( + d0->baSourceId[i], iot).bNrChannels; + mc = 0; + for (c = 0; c < chs; c++) { + mo = 0; + for (o = 0; o < ochs; o++) { + bno = ((p + c) * ochs) + o; + if (BIT_TEST(d1->bmControls, bno)) + mo++; + } + if (mo == 1) + mc++; + } + if ((mc == chs) && (chs <= MIX_MAX_CHAN)) { + + /* repeat bit-scan */ + + mc = 0; + for (c = 0; c < chs; c++) { + for (o = 0; o < ochs; o++) { + bno = ((p + c) * ochs) + o; + if (BIT_TEST(d1->bmControls, bno)) + mix.wValue[mc++] = MAKE_WORD(p + c + 1, o + 1); + } + } + mix.nchan = chs; + uaudio_mixer_add_ctl(sc, &mix); + } + p += chs; + } } static void -uaudio_mixer_add_mixer(struct uaudio_softc *sc, +uaudio20_mixer_add_mixer(struct uaudio_softc *sc, const struct uaudio_terminal_node *iot, int id) { struct uaudio_mixer_node mix; - const struct usb_audio_mixer_unit_0 *d0 = iot[id].u.mu; - const struct usb_audio_mixer_unit_1 *d1; + const struct usb_audio20_mixer_unit_0 *d0 = iot[id].u.mu_v2; + const struct usb_audio20_mixer_unit_1 *d1; uint32_t bno; /* bit number */ uint32_t p; /* bit number accumulator */ @@ -1780,8 +2071,8 @@ ichs = 0; for (i = 0; i < d0->bNrInPins; i++) { - ichs += (uaudio_mixer_get_cluster(d0->baSourceId[i], iot) - .bNrChannels); + ichs += uaudio20_mixer_get_cluster( + d0->baSourceId[i], iot).bNrChannels; } d1 = (const void *)(d0->baSourceId + d0->bNrInPins); @@ -1795,26 +2086,25 @@ memset(&mix, 0, sizeof(mix)); mix.wIndex = MAKE_WORD(d0->bUnitId, sc->sc_mixer_iface_no); - uaudio_mixer_determine_class(&iot[id], &mix); + uaudio20_mixer_determine_class(&iot[id], &mix); mix.type = MIX_SIGNED_16; - if (uaudio_mixer_verify_desc(d0, ((ichs * ochs) + 7) / 8) == NULL) { + if (uaudio20_mixer_verify_desc(d0, ((ichs * ochs) + 7) / 8) == NULL) return; - } + for (p = i = 0; i < d0->bNrInPins; i++) { - chs = uaudio_mixer_get_cluster(d0->baSourceId[i], iot).bNrChannels; + chs = uaudio20_mixer_get_cluster( + d0->baSourceId[i], iot).bNrChannels; mc = 0; for (c = 0; c < chs; c++) { mo = 0; for (o = 0; o < ochs; o++) { bno = ((p + c) * ochs) + o; - if (BIT_TEST(d1->bmControls, bno)) { + if (BIT_TEST(d1->bmControls, bno)) mo++; - } } - if (mo == 1) { + if (mo == 1) mc++; - } } if ((mc == chs) && (chs <= MIX_MAX_CHAN)) { @@ -1824,15 +2114,12 @@ for (c = 0; c < chs; c++) { for (o = 0; o < ochs; o++) { bno = ((p + c) * ochs) + o; - if (BIT_TEST(d1->bmControls, bno)) { + if (BIT_TEST(d1->bmControls, bno)) mix.wValue[mc++] = MAKE_WORD(p + c + 1, o + 1); - } } } mix.nchan = chs; uaudio_mixer_add_ctl(sc, &mix); - } else { - /* XXX */ } p += chs; } @@ -1842,7 +2129,7 @@ uaudio_mixer_add_selector(struct uaudio_softc *sc, const struct uaudio_terminal_node *iot, int id) { - const struct usb_audio_selector_unit *d = iot[id].u.su; + const struct usb_audio_selector_unit *d = iot[id].u.su_v1; struct uaudio_mixer_node mix; uint16_t i; @@ -1873,8 +2160,8 @@ } for (i = 0; i < mix.maxval; i++) { - mix.slctrtype[i] = uaudio_mixer_feature_name - (&iot[d->baSourceId[i]], &mix); + mix.slctrtype[i] = uaudio_mixer_feature_name( + &iot[d->baSourceId[i]], &mix); } mix.class = 0; /* not used */ @@ -1882,6 +2169,49 @@ uaudio_mixer_add_ctl(sc, &mix); } +static void +uaudio20_mixer_add_selector(struct uaudio_softc *sc, + const struct uaudio_terminal_node *iot, int id) +{ + const struct usb_audio20_selector_unit *d = iot[id].u.su_v2; + struct uaudio_mixer_node mix; + uint16_t i; + + DPRINTFN(3, "bUnitId=%d bNrInPins=%d\n", + d->bUnitId, d->bNrInPins); + + if (d->bNrInPins == 0) + return; + + memset(&mix, 0, sizeof(mix)); + + mix.wIndex = MAKE_WORD(d->bUnitId, sc->sc_mixer_iface_no); + mix.wValue[0] = MAKE_WORD(0, 0); + uaudio20_mixer_determine_class(&iot[id], &mix); + mix.nchan = 1; + mix.type = MIX_SELECTOR; + + mix.ctl = SOUND_MIXER_NRDEVICES; + mix.minval = 1; + mix.maxval = d->bNrInPins; + + if (mix.maxval > MAX_SELECTOR_INPUT_PIN) + mix.maxval = MAX_SELECTOR_INPUT_PIN; + + mix.mul = (mix.maxval - mix.minval); + for (i = 0; i < MAX_SELECTOR_INPUT_PIN; i++) + mix.slctrtype[i] = SOUND_MIXER_NRDEVICES; + + for (i = 0; i < mix.maxval; i++) { + mix.slctrtype[i] = uaudio20_mixer_feature_name( + &iot[d->baSourceId[i]], &mix); + } + + mix.class = 0; /* not used */ + + uaudio_mixer_add_ctl(sc, &mix); +} + static uint32_t uaudio_mixer_feature_get_bmaControls(const struct usb_audio_feature_unit *d, uint8_t i) @@ -1908,7 +2238,7 @@ uaudio_mixer_add_feature(struct uaudio_softc *sc, const struct uaudio_terminal_node *iot, int id) { - const struct usb_audio_feature_unit *d = iot[id].u.fu; + const struct usb_audio_feature_unit *d = iot[id].u.fu_v1; struct uaudio_mixer_node mix; uint32_t fumask; uint32_t mmask; @@ -2024,9 +2354,129 @@ break; } - if (mix.type != MIX_UNKNOWN) { + if (mix.type != MIX_UNKNOWN) uaudio_mixer_add_ctl(sc, &mix); + } +} + +static void +uaudio20_mixer_add_feature(struct uaudio_softc *sc, + const struct uaudio_terminal_node *iot, int id) +{ + const struct usb_audio20_feature_unit *d = iot[id].u.fu_v2; + struct uaudio_mixer_node mix; + uint32_t ctl; + uint32_t mmask; + uint32_t cmask; + uint16_t mixernumber; + uint8_t nchan; + uint8_t chan; + uint8_t i; + uint8_t what; + + if (UGETDW(d->bmaControls[0]) == 0) + return; + + memset(&mix, 0, sizeof(mix)); + + nchan = (d->bLength - 6) / 4; + mmask = UGETDW(d->bmaControls[0]); + cmask = 0; + + if (nchan == 0) + return; + + /* figure out what we can control */ + + for (chan = 1; chan < nchan; chan++) + cmask |= UGETDW(d->bmaControls[chan]); + + if (nchan > MIX_MAX_CHAN) + nchan = MIX_MAX_CHAN; + + mix.wIndex = MAKE_WORD(d->bUnitId, sc->sc_mixer_iface_no); + + for (ctl = 3; ctl != 0; ctl <<= 2) { + + mixernumber = uaudio20_mixer_feature_name(&iot[id], &mix); + + switch (ctl) { + case (3 << 0): + mix.type = MIX_ON_OFF; + mix.ctl = SOUND_MIXER_NRDEVICES; + what = MUTE_CONTROL; + break; + case (3 << 2): + mix.type = MIX_SIGNED_16; + mix.ctl = mixernumber; + what = VOLUME_CONTROL; + break; + case (3 << 4): + mix.type = MIX_SIGNED_8; + mix.ctl = SOUND_MIXER_BASS; + what = BASS_CONTROL; + break; + case (3 << 6): + mix.type = MIX_SIGNED_8; + mix.ctl = SOUND_MIXER_NRDEVICES; /* XXXXX */ + what = MID_CONTROL; + break; + case (3 << 8): + mix.type = MIX_SIGNED_8; + mix.ctl = SOUND_MIXER_TREBLE; + what = TREBLE_CONTROL; + break; + case (3 << 12): + mix.type = MIX_ON_OFF; + mix.ctl = SOUND_MIXER_NRDEVICES; /* XXXXX */ + what = AGC_CONTROL; + break; + case (3 << 14): + mix.type = MIX_UNSIGNED_16; + mix.ctl = SOUND_MIXER_NRDEVICES; /* XXXXX */ + what = DELAY_CONTROL; + break; + case (3 << 16): + mix.type = MIX_ON_OFF; + mix.ctl = SOUND_MIXER_NRDEVICES; /* XXXXX */ + what = BASS_BOOST_CONTROL; + break; + case (3 << 18): + mix.type = MIX_ON_OFF; + mix.ctl = SOUND_MIXER_LOUD; /* Is this correct ? */ + what = LOUDNESS_CONTROL; + break; + case (3 << 20): + mix.type = MIX_SIGNED_16; + mix.ctl = mixernumber; + what = INPUT_GAIN_CONTROL; + break; + case (3 << 22): + mix.type = MIX_SIGNED_16; + mix.ctl = mixernumber; + what = INPUT_GAIN_PAD_CONTROL; + break; + default: + continue; } + + if ((mmask & ctl) == ctl) { + mix.nchan = 1; + mix.wValue[0] = MAKE_WORD(what, 0); + } else if ((cmask & ctl) == ctl) { + mix.nchan = nchan - 1; + for (i = 1; i < nchan; i++) { + if ((UGETDW(d->bmaControls[i]) & ctl) == ctl) + mix.wValue[i - 1] = MAKE_WORD(what, i); + else + mix.wValue[i - 1] = -1; + } + } else { + continue; + } + + if (mix.type != MIX_UNKNOWN) + uaudio_mixer_add_ctl(sc, &mix); } } @@ -2034,7 +2484,7 @@ uaudio_mixer_add_processing_updown(struct uaudio_softc *sc, const struct uaudio_terminal_node *iot, int id) { - const struct usb_audio_processing_unit_0 *d0 = iot[id].u.pu; + const struct usb_audio_processing_unit_0 *d0 = iot[id].u.pu_v1; const struct usb_audio_processing_unit_1 *d1 = (const void *)(d0->baSourceId + d0->bNrInPins); const struct usb_audio_processing_unit_updown *ud = @@ -2076,7 +2526,7 @@ uaudio_mixer_add_processing(struct uaudio_softc *sc, const struct uaudio_terminal_node *iot, int id) { - const struct usb_audio_processing_unit_0 *d0 = iot[id].u.pu; + const struct usb_audio_processing_unit_0 *d0 = iot[id].u.pu_v1; const struct usb_audio_processing_unit_1 *d1 = (const void *)(d0->baSourceId + d0->bNrInPins); struct uaudio_mixer_node mix; @@ -2121,7 +2571,7 @@ uaudio_mixer_add_extension(struct uaudio_softc *sc, const struct uaudio_terminal_node *iot, int id) { - const struct usb_audio_extension_unit_0 *d0 = iot[id].u.eu; + const struct usb_audio_extension_unit_0 *d0 = iot[id].u.eu_v1; const struct usb_audio_extension_unit_1 *d1 = (const void *)(d0->baSourceId + d0->bNrInPins); struct uaudio_mixer_node mix; @@ -2276,35 +2726,162 @@ return (NULL); } -#ifdef USB_DEBUG -static void -uaudio_mixer_dump_cluster(uint8_t id, const struct uaudio_terminal_node *iot) +static const void * +uaudio20_mixer_verify_desc(const void *arg, uint32_t len) { - static const char *channel_names[16] = { - "LEFT", "RIGHT", "CENTER", "LFE", - "LEFT_SURROUND", "RIGHT_SURROUND", "LEFT_CENTER", "RIGHT_CENTER", - "SURROUND", "LEFT_SIDE", "RIGHT_SIDE", "TOP", - "RESERVED12", "RESERVED13", "RESERVED14", "RESERVED15", - }; - uint16_t cc; - uint8_t i; - const struct usb_audio_cluster cl = uaudio_mixer_get_cluster(id, iot); + const struct usb_audio20_mixer_unit_1 *d1; + const struct usb_audio20_extension_unit_1 *e1; + const struct usb_audio20_processing_unit_1 *u1; + const struct usb_audio20_clock_selector_unit_1 *c1; - cc = UGETW(cl.wChannelConfig); + union { + const struct usb_descriptor *desc; + const struct usb_audio20_clock_source_unit *csrc; + const struct usb_audio20_clock_selector_unit_0 *csel; + const struct usb_audio20_clock_multiplier_unit *cmul; + const struct usb_audio20_input_terminal *it; + const struct usb_audio20_output_terminal *ot; + const struct usb_audio20_mixer_unit_0 *mu; + const struct usb_audio20_selector_unit *su; + const struct usb_audio20_feature_unit *fu; + const struct usb_audio20_sample_rate_unit *ru; + const struct usb_audio20_processing_unit_0 *pu; + const struct usb_audio20_extension_unit_0 *eu; + const struct usb_audio20_effect_unit *ef; + } u; - DPRINTF("cluster: bNrChannels=%u iChannelNames=%u wChannelConfig=" - "0x%04x:\n", cl.iChannelNames, cl.bNrChannels, cc); + u.desc = arg; - for (i = 0; cc; i++) { - if (cc & 1) { - DPRINTF(" - %s\n", channel_names[i]); - } - cc >>= 1; + if (u.desc == NULL) + goto error; + + if (u.desc->bDescriptorType != UDESC_CS_INTERFACE) + goto error; + + switch (u.desc->bDescriptorSubtype) { + case UDESCSUB_AC_INPUT: + len += sizeof(*u.it); + break; + + case UDESCSUB_AC_OUTPUT: + len += sizeof(*u.ot); + break; + + case UDESCSUB_AC_MIXER: + len += sizeof(*u.mu); + + if (u.desc->bLength < len) + goto error; + len += u.mu->bNrInPins; + + if (u.desc->bLength < len) + goto error; + + d1 = (const void *)(u.mu->baSourceId + u.mu->bNrInPins); + + len += sizeof(*d1) + d1->bNrChannels; + break; + + case UDESCSUB_AC_SELECTOR: + len += sizeof(*u.su); + + if (u.desc->bLength < len) + goto error; + + len += u.su->bNrInPins; + break; + + case UDESCSUB_AC_FEATURE: + len += sizeof(*u.fu) + 1; + + if (u.desc->bLength < len) + goto error; + break; + + case UDESCSUB_AC_EFFECT: + len += sizeof(*u.ef) + 4; + break; + + case UDESCSUB_AC_PROCESSING_V2: + len += sizeof(*u.pu); + + if (u.desc->bLength < len) + goto error; + + len += u.pu->bNrInPins; + + if (u.desc->bLength < len) + goto error; + + u1 = (const void *)(u.pu->baSourceId + u.pu->bNrInPins); + + len += sizeof(*u1); + break; + + case UDESCSUB_AC_EXTENSION_V2: + len += sizeof(*u.eu); + + if (u.desc->bLength < len) + goto error; + + len += u.eu->bNrInPins; + + if (u.desc->bLength < len) + goto error; + + e1 = (const void *)(u.eu->baSourceId + u.eu->bNrInPins); + + len += sizeof(*e1); + break; + + case UDESCSUB_AC_CLOCK_SRC: + len += sizeof(*u.csrc); + break; + + case UDESCSUB_AC_CLOCK_SEL: + len += sizeof(*u.csel); + + if (u.desc->bLength < len) + goto error; + + len += u.csel->bNrInPins; + + if (u.desc->bLength < len) + goto error; + + c1 = (const void *)(u.csel->baCSourceId + u.csel->bNrInPins); + + len += sizeof(*c1); + break; + + case UDESCSUB_AC_CLOCK_MUL: + len += sizeof(*u.cmul); + break; + + case UDESCSUB_AC_SAMPLE_RT: + len += sizeof(*u.ru); + break; + + default: + goto error; } + + if (u.desc->bLength < len) + goto error; + + return (u.desc); + +error: + if (u.desc) { + DPRINTF("invalid descriptor, type=%d, " + "sub_type=%d, len=%d of %d bytes\n", + u.desc->bDescriptorType, + u.desc->bDescriptorSubtype, + u.desc->bLength, len); + } + return (NULL); } -#endif - static struct usb_audio_cluster uaudio_mixer_get_cluster(uint8_t id, const struct uaudio_terminal_node *iot) { @@ -2319,43 +2896,43 @@ } switch (dp->bDescriptorSubtype) { case UDESCSUB_AC_INPUT: - r.bNrChannels = iot[id].u.it->bNrChannels; - r.wChannelConfig[0] = iot[id].u.it->wChannelConfig[0]; - r.wChannelConfig[1] = iot[id].u.it->wChannelConfig[1]; - r.iChannelNames = iot[id].u.it->iChannelNames; + r.bNrChannels = iot[id].u.it_v1->bNrChannels; + r.wChannelConfig[0] = iot[id].u.it_v1->wChannelConfig[0]; + r.wChannelConfig[1] = iot[id].u.it_v1->wChannelConfig[1]; + r.iChannelNames = iot[id].u.it_v1->iChannelNames; goto done; case UDESCSUB_AC_OUTPUT: - id = iot[id].u.ot->bSourceId; + id = iot[id].u.ot_v1->bSourceId; break; case UDESCSUB_AC_MIXER: r = *(const struct usb_audio_cluster *) - &iot[id].u.mu->baSourceId[iot[id].u.mu-> - bNrInPins]; + &iot[id].u.mu_v1->baSourceId[ + iot[id].u.mu_v1->bNrInPins]; goto done; case UDESCSUB_AC_SELECTOR: - if (iot[id].u.su->bNrInPins > 0) { + if (iot[id].u.su_v1->bNrInPins > 0) { /* XXX This is not really right */ - id = iot[id].u.su->baSourceId[0]; + id = iot[id].u.su_v1->baSourceId[0]; } break; case UDESCSUB_AC_FEATURE: - id = iot[id].u.fu->bSourceId; + id = iot[id].u.fu_v1->bSourceId; break; case UDESCSUB_AC_PROCESSING: r = *((const struct usb_audio_cluster *) - &iot[id].u.pu->baSourceId[iot[id].u.pu-> - bNrInPins]); + &iot[id].u.pu_v1->baSourceId[ + iot[id].u.pu_v1->bNrInPins]); goto done; case UDESCSUB_AC_EXTENSION: r = *((const struct usb_audio_cluster *) - &iot[id].u.eu->baSourceId[iot[id].u.eu-> - bNrInPins]); + &iot[id].u.eu_v1->baSourceId[ + iot[id].u.eu_v1->bNrInPins]); goto done; default: @@ -2369,108 +2946,80 @@ return (r); } -#ifdef USB_DEBUG +static struct usb_audio20_cluster +uaudio20_mixer_get_cluster(uint8_t id, const struct uaudio_terminal_node *iot) +{ + struct usb_audio20_cluster r; + const struct usb_descriptor *dp; + uint8_t i; -struct uaudio_tt_to_string { - uint16_t terminal_type; - const char *desc; -}; + for (i = 0; i < UAUDIO_RECURSE_LIMIT; i++) { /* avoid infinite loops */ + dp = iot[id].u.desc; + if (dp == NULL) + goto error; -static const struct uaudio_tt_to_string uaudio_tt_to_string[] = { + switch (dp->bDescriptorSubtype) { + case UDESCSUB_AC_INPUT: + r.bNrChannels = iot[id].u.it_v2->bNrChannels; + r.bmChannelConfig[0] = iot[id].u.it_v2->bmChannelConfig[0]; + r.bmChannelConfig[1] = iot[id].u.it_v2->bmChannelConfig[1]; + r.bmChannelConfig[2] = iot[id].u.it_v2->bmChannelConfig[2]; + r.bmChannelConfig[3] = iot[id].u.it_v2->bmChannelConfig[3]; + r.iChannelNames = iot[id].u.it_v2->iTerminal; + goto done; - /* USB terminal types */ - {UAT_UNDEFINED, "UAT_UNDEFINED"}, - {UAT_STREAM, "UAT_STREAM"}, - {UAT_VENDOR, "UAT_VENDOR"}, + case UDESCSUB_AC_OUTPUT: + id = iot[id].u.ot_v2->bSourceId; + break; - /* input terminal types */ - {UATI_UNDEFINED, "UATI_UNDEFINED"}, - {UATI_MICROPHONE, "UATI_MICROPHONE"}, - {UATI_DESKMICROPHONE, "UATI_DESKMICROPHONE"}, - {UATI_PERSONALMICROPHONE, "UATI_PERSONALMICROPHONE"}, - {UATI_OMNIMICROPHONE, "UATI_OMNIMICROPHONE"}, - {UATI_MICROPHONEARRAY, "UATI_MICROPHONEARRAY"}, - {UATI_PROCMICROPHONEARR, "UATI_PROCMICROPHONEARR"}, + case UDESCSUB_AC_MIXER: + r = *(const struct usb_audio20_cluster *) + &iot[id].u.mu_v2->baSourceId[ + iot[id].u.mu_v2->bNrInPins]; + goto done; - /* output terminal types */ - {UATO_UNDEFINED, "UATO_UNDEFINED"}, - {UATO_SPEAKER, "UATO_SPEAKER"}, - {UATO_HEADPHONES, "UATO_HEADPHONES"}, - {UATO_DISPLAYAUDIO, "UATO_DISPLAYAUDIO"}, - {UATO_DESKTOPSPEAKER, "UATO_DESKTOPSPEAKER"}, - {UATO_ROOMSPEAKER, "UATO_ROOMSPEAKER"}, - {UATO_COMMSPEAKER, "UATO_COMMSPEAKER"}, - {UATO_SUBWOOFER, "UATO_SUBWOOFER"}, + case UDESCSUB_AC_SELECTOR: + if (iot[id].u.su_v2->bNrInPins > 0) { + /* XXX This is not really right */ + id = iot[id].u.su_v2->baSourceId[0]; + } + break; - /* bidir terminal types */ - {UATB_UNDEFINED, "UATB_UNDEFINED"}, - {UATB_HANDSET, "UATB_HANDSET"}, - {UATB_HEADSET, "UATB_HEADSET"}, - {UATB_SPEAKERPHONE, "UATB_SPEAKERPHONE"}, - {UATB_SPEAKERPHONEESUP, "UATB_SPEAKERPHONEESUP"}, - {UATB_SPEAKERPHONEECANC, "UATB_SPEAKERPHONEECANC"}, + case UDESCSUB_AC_SAMPLE_RT: + id = iot[id].u.ru_v2->bSourceId; + break; - /* telephony terminal types */ - {UATT_UNDEFINED, "UATT_UNDEFINED"}, - {UATT_PHONELINE, "UATT_PHONELINE"}, - {UATT_TELEPHONE, "UATT_TELEPHONE"}, - {UATT_DOWNLINEPHONE, "UATT_DOWNLINEPHONE"}, + case UDESCSUB_AC_EFFECT: + id = iot[id].u.ef_v2->bSourceId; + break; - /* external terminal types */ - {UATE_UNDEFINED, "UATE_UNDEFINED"}, - {UATE_ANALOGCONN, "UATE_ANALOGCONN"}, - {UATE_LINECONN, "UATE_LINECONN"}, - {UATE_LEGACYCONN, "UATE_LEGACYCONN"}, - {UATE_DIGITALAUIFC, "UATE_DIGITALAUIFC"}, - {UATE_SPDIF, "UATE_SPDIF"}, - {UATE_1394DA, "UATE_1394DA"}, - {UATE_1394DV, "UATE_1394DV"}, + case UDESCSUB_AC_FEATURE: + id = iot[id].u.fu_v2->bSourceId; + break; - /* embedded function terminal types */ - {UATF_UNDEFINED, "UATF_UNDEFINED"}, - {UATF_CALIBNOISE, "UATF_CALIBNOISE"}, - {UATF_EQUNOISE, "UATF_EQUNOISE"}, - {UATF_CDPLAYER, "UATF_CDPLAYER"}, - {UATF_DAT, "UATF_DAT"}, - {UATF_DCC, "UATF_DCC"}, - {UATF_MINIDISK, "UATF_MINIDISK"}, - {UATF_ANALOGTAPE, "UATF_ANALOGTAPE"}, - {UATF_PHONOGRAPH, "UATF_PHONOGRAPH"}, - {UATF_VCRAUDIO, "UATF_VCRAUDIO"}, - {UATF_VIDEODISCAUDIO, "UATF_VIDEODISCAUDIO"}, - {UATF_DVDAUDIO, "UATF_DVDAUDIO"}, - {UATF_TVTUNERAUDIO, "UATF_TVTUNERAUDIO"}, - {UATF_SATELLITE, "UATF_SATELLITE"}, - {UATF_CABLETUNER, "UATF_CABLETUNER"}, - {UATF_DSS, "UATF_DSS"}, - {UATF_RADIORECV, "UATF_RADIORECV"}, - {UATF_RADIOXMIT, "UATF_RADIOXMIT"}, - {UATF_MULTITRACK, "UATF_MULTITRACK"}, - {UATF_SYNTHESIZER, "UATF_SYNTHESIZER"}, + case UDESCSUB_AC_PROCESSING_V2: + r = *((const struct usb_audio20_cluster *) + &iot[id].u.pu_v2->baSourceId[ + iot[id].u.pu_v2->bNrInPins]); + goto done; - /* unknown */ - {0x0000, "UNKNOWN"}, -}; + case UDESCSUB_AC_EXTENSION_V2: + r = *((const struct usb_audio20_cluster *) + &iot[id].u.eu_v2->baSourceId[ + iot[id].u.eu_v2->bNrInPins]); + goto done; -static const char * -uaudio_mixer_get_terminal_name(uint16_t terminal_type) -{ - const struct uaudio_tt_to_string *uat = uaudio_tt_to_string; - - while (uat->terminal_type) { - if (uat->terminal_type == terminal_type) { - break; + default: + goto error; } - uat++; } - if (uat->terminal_type == 0) { - DPRINTF("unknown terminal type (0x%04x)", terminal_type); - } - return (uat->desc); +error: + DPRINTF("Bad data!\n"); + memset(&r, 0, sizeof(r)); +done: + return (r); } -#endif - static uint16_t uaudio_mixer_determine_class(const struct uaudio_terminal_node *iot, struct uaudio_mixer_node *mix) @@ -2490,7 +3039,8 @@ * one output terminal: */ if (output[0] && (!output[1])) { - terminal_type = UGETW(output[0]->u.ot->wTerminalType); + terminal_type = + UGETW(output[0]->u.ot_v1->wTerminalType); } /* * If the only output terminal is USB, @@ -2500,7 +3050,8 @@ mix->class = UAC_RECORD; if (input[0] && (!input[1])) { - terminal_type = UGETW(input[0]->u.it->wTerminalType); + terminal_type = + UGETW(input[0]->u.it_v1->wTerminalType); } else { terminal_type = 0; } @@ -2513,7 +3064,8 @@ */ if (input[0] && (!input[1])) { mix->class = UAC_INPUT; - terminal_type = UGETW(input[0]->u.it->wTerminalType); + terminal_type = + UGETW(input[0]->u.it_v1->wTerminalType); goto done; } /* @@ -2524,6 +3076,60 @@ return (terminal_type); } +static uint16_t +uaudio20_mixer_determine_class(const struct uaudio_terminal_node *iot, + struct uaudio_mixer_node *mix) +{ + uint16_t terminal_type = 0x0000; + const struct uaudio_terminal_node *input[2]; + const struct uaudio_terminal_node *output[2]; + + input[0] = uaudio_mixer_get_input(iot, 0); + input[1] = uaudio_mixer_get_input(iot, 1); + + output[0] = uaudio_mixer_get_output(iot, 0); + output[1] = uaudio_mixer_get_output(iot, 1); + + /* + * check if there is only + * one output terminal: + */ + if (output[0] && (!output[1])) + terminal_type = UGETW(output[0]->u.ot_v2->wTerminalType); + /* + * If the only output terminal is USB, + * the class is UAC_RECORD. + */ + if ((terminal_type & 0xff00) == (UAT_UNDEFINED & 0xff00)) { + + mix->class = UAC_RECORD; + if (input[0] && (!input[1])) { + terminal_type = + UGETW(input[0]->u.it_v2->wTerminalType); + } else { + terminal_type = 0; + } + goto done; + } + /* + * if the unit is connected to just + * one input terminal, the + * class is UAC_INPUT: + */ + if (input[0] && (!input[1])) { + mix->class = UAC_INPUT; + terminal_type = + UGETW(input[0]->u.it_v2->wTerminalType); + goto done; + } + /* + * Otherwise, the class is UAC_OUTPUT. + */ + mix->class = UAC_OUTPUT; +done: + return (terminal_type); +} + struct uaudio_tt_to_feature { uint16_t terminal_type; uint16_t feature; @@ -2636,6 +3242,28 @@ return (uat->feature); } +static uint16_t +uaudio20_mixer_feature_name(const struct uaudio_terminal_node *iot, + struct uaudio_mixer_node *mix) +{ + const struct uaudio_tt_to_feature *uat; + uint16_t terminal_type = uaudio20_mixer_determine_class(iot, mix); + + if ((mix->class == UAC_RECORD) && (terminal_type == 0)) + return (SOUND_MIXER_IMIX); + + for (uat = uaudio_tt_to_feature; uat->terminal_type != 0; uat++) { + if (uat->terminal_type == terminal_type) + break; + } + + DPRINTF("terminal_type=%s (0x%04x) -> %d\n", + uaudio_mixer_get_terminal_name(terminal_type), + terminal_type, uat->feature); + + return (uat->feature); +} + static const struct uaudio_terminal_node * uaudio_mixer_get_input(const struct uaudio_terminal_node *iot, uint8_t i) { @@ -2678,77 +3306,325 @@ struct uaudio_terminal_node *iot; uint8_t n; uint8_t i; + uint8_t is_last; - if (info->recurse_level >= UAUDIO_RECURSE_LIMIT) { - return; - } - info->recurse_level++; - +top: for (n = 0; n < n_id; n++) { i = p_id[n]; - if (info->bit_visited[i / 8] & (1 << (i % 8))) { - /* don't go into a circle */ + if (info->recurse_level == UAUDIO_RECURSE_LIMIT) { DPRINTF("avoided going into a circle at id=%d!\n", i); - continue; - } else { - info->bit_visited[i / 8] |= (1 << (i % 8)); + return; } + info->recurse_level++; + iot = (root + i); - if (iot->u.desc == NULL) { + if (iot->u.desc == NULL) continue; - } + + is_last = ((n + 1) == n_id); + switch (iot->u.desc->bDescriptorSubtype) { case UDESCSUB_AC_INPUT: info->bit_input[i / 8] |= (1 << (i % 8)); break; case UDESCSUB_AC_FEATURE: - uaudio_mixer_find_inputs_sub - (root, &iot->u.fu->bSourceId, 1, info); + if (is_last) { + p_id = &iot->u.fu_v1->bSourceId; + n_id = 1; + goto top; + } + uaudio_mixer_find_inputs_sub( + root, &iot->u.fu_v1->bSourceId, 1, info); break; case UDESCSUB_AC_OUTPUT: - uaudio_mixer_find_inputs_sub - (root, &iot->u.ot->bSourceId, 1, info); + if (is_last) { + p_id = &iot->u.ot_v1->bSourceId; + n_id = 1; + goto top; + } + uaudio_mixer_find_inputs_sub( + root, &iot->u.ot_v1->bSourceId, 1, info); break; case UDESCSUB_AC_MIXER: - uaudio_mixer_find_inputs_sub - (root, iot->u.mu->baSourceId, - iot->u.mu->bNrInPins, info); + if (is_last) { + p_id = iot->u.mu_v1->baSourceId; + n_id = iot->u.mu_v1->bNrInPins; + goto top; + } + uaudio_mixer_find_inputs_sub( + root, iot->u.mu_v1->baSourceId, + iot->u.mu_v1->bNrInPins, info); break; case UDESCSUB_AC_SELECTOR: - uaudio_mixer_find_inputs_sub - (root, iot->u.su->baSourceId, - iot->u.su->bNrInPins, info); + if (is_last) { + p_id = iot->u.su_v1->baSourceId; + n_id = iot->u.su_v1->bNrInPins; + goto top; + } + uaudio_mixer_find_inputs_sub( + root, iot->u.su_v1->baSourceId, + iot->u.su_v1->bNrInPins, info); break; case UDESCSUB_AC_PROCESSING: - uaudio_mixer_find_inputs_sub - (root, iot->u.pu->baSourceId, - iot->u.pu->bNrInPins, info); + if (is_last) { + p_id = iot->u.pu_v1->baSourceId; + n_id = iot->u.pu_v1->bNrInPins; + goto top; + } + uaudio_mixer_find_inputs_sub( + root, iot->u.pu_v1->baSourceId, + iot->u.pu_v1->bNrInPins, info); break; case UDESCSUB_AC_EXTENSION: - uaudio_mixer_find_inputs_sub - (root, iot->u.eu->baSourceId, - iot->u.eu->bNrInPins, info); + if (is_last) { + p_id = iot->u.eu_v1->baSourceId; + n_id = iot->u.eu_v1->bNrInPins; + goto top; + } + uaudio_mixer_find_inputs_sub( + root, iot->u.eu_v1->baSourceId, + iot->u.eu_v1->bNrInPins, info); break; - case UDESCSUB_AC_HEADER: default: break; } } - info->recurse_level--; } static void +uaudio20_mixer_find_inputs_sub(struct uaudio_terminal_node *root, + const uint8_t *p_id, uint8_t n_id, + struct uaudio_search_result *info) +{ + struct uaudio_terminal_node *iot; + uint8_t n; + uint8_t i; + uint8_t is_last; + +top: + for (n = 0; n < n_id; n++) { + + i = p_id[n]; + + if (info->recurse_level == UAUDIO_RECURSE_LIMIT) { + DPRINTF("avoided going into a circle at id=%d!\n", i); + return; + } + + info->recurse_level++; + + iot = (root + i); + + if (iot->u.desc == NULL) + continue; + + is_last = ((n + 1) == n_id); + + switch (iot->u.desc->bDescriptorSubtype) { + case UDESCSUB_AC_INPUT: + info->bit_input[i / 8] |= (1 << (i % 8)); + break; + + case UDESCSUB_AC_OUTPUT: + if (is_last) { + p_id = &iot->u.ot_v2->bSourceId; + n_id = 1; + goto top; + } + uaudio20_mixer_find_inputs_sub( + root, &iot->u.ot_v2->bSourceId, 1, info); + break; + + case UDESCSUB_AC_MIXER: + if (is_last) { + p_id = iot->u.mu_v2->baSourceId; + n_id = iot->u.mu_v2->bNrInPins; + goto top; + } + uaudio20_mixer_find_inputs_sub( + root, iot->u.mu_v2->baSourceId, + iot->u.mu_v2->bNrInPins, info); + break; + + case UDESCSUB_AC_SELECTOR: + if (is_last) { + p_id = iot->u.su_v2->baSourceId; + n_id = iot->u.su_v2->bNrInPins; + goto top; + } + uaudio20_mixer_find_inputs_sub( + root, iot->u.su_v2->baSourceId, + iot->u.su_v2->bNrInPins, info); + break; + + case UDESCSUB_AC_SAMPLE_RT: + if (is_last) { + p_id = &iot->u.ru_v2->bSourceId; + n_id = 1; + goto top; + } + uaudio20_mixer_find_inputs_sub( + root, &iot->u.ru_v2->bSourceId, + 1, info); + break; + + case UDESCSUB_AC_EFFECT: + if (is_last) { + p_id = &iot->u.ef_v2->bSourceId; + n_id = 1; + goto top; + } + uaudio20_mixer_find_inputs_sub( + root, &iot->u.ef_v2->bSourceId, + 1, info); + break; + + case UDESCSUB_AC_FEATURE: + if (is_last) { + p_id = &iot->u.fu_v2->bSourceId; + n_id = 1; + goto top; + } + uaudio20_mixer_find_inputs_sub( + root, &iot->u.fu_v2->bSourceId, 1, info); + break; + + case UDESCSUB_AC_PROCESSING_V2: + if (is_last) { + p_id = iot->u.pu_v2->baSourceId; + n_id = iot->u.pu_v2->bNrInPins; + goto top; + } + uaudio20_mixer_find_inputs_sub( + root, iot->u.pu_v2->baSourceId, + iot->u.pu_v2->bNrInPins, info); + break; + + case UDESCSUB_AC_EXTENSION_V2: + if (is_last) { + p_id = iot->u.eu_v2->baSourceId; + n_id = iot->u.eu_v2->bNrInPins; + goto top; + } + uaudio20_mixer_find_inputs_sub( + root, iot->u.eu_v2->baSourceId, + iot->u.eu_v2->bNrInPins, info); + break; + default: + break; + } + } +} + +static void +uaudio20_mixer_find_clocks_sub(struct uaudio_terminal_node *root, + const uint8_t *p_id, uint8_t n_id, + struct uaudio_search_result *info) +{ + struct uaudio_terminal_node *iot; + uint8_t n; + uint8_t i; + uint8_t is_last; + uint8_t id; + +top: + for (n = 0; n < n_id; n++) { + + i = p_id[n]; + + if (info->recurse_level == UAUDIO_RECURSE_LIMIT) { + DPRINTF("avoided going into a circle at id=%d!\n", i); + return; + } + + info->recurse_level++; + + iot = (root + i); + + if (iot->u.desc == NULL) + continue; + + is_last = ((n + 1) == n_id); + + switch (iot->u.desc->bDescriptorSubtype) { + case UDESCSUB_AC_INPUT: + info->is_input = 1; + if (is_last) { + p_id = &iot->u.it_v2->bCSourceId; + n_id = 1; + goto top; + } + uaudio20_mixer_find_clocks_sub(root, + &iot->u.it_v2->bCSourceId, 1, info); + break; + + case UDESCSUB_AC_OUTPUT: + info->is_input = 0; + if (is_last) { + p_id = &iot->u.ot_v2->bCSourceId; + n_id = 1; + goto top; + } + uaudio20_mixer_find_clocks_sub(root, + &iot->u.ot_v2->bCSourceId, 1, info); + break; + + case UDESCSUB_AC_CLOCK_SEL: + if (is_last) { + p_id = iot->u.csel_v2->baCSourceId; + n_id = iot->u.csel_v2->bNrInPins; + goto top; + } + uaudio20_mixer_find_clocks_sub(root, + iot->u.csel_v2->baCSourceId, + iot->u.csel_v2->bNrInPins, info); + break; + + case UDESCSUB_AC_CLOCK_MUL: + if (is_last) { + p_id = &iot->u.cmul_v2->bCSourceId; + n_id = 1; + goto top; + } + uaudio20_mixer_find_clocks_sub(root, + &iot->u.cmul_v2->bCSourceId, + 1, info); + break; + + case UDESCSUB_AC_CLOCK_SRC: + + id = iot->u.csrc_v2->bClockId; + + switch (info->is_input) { + case 0: + info->bit_output[id / 8] |= (1 << (id % 8)); + break; + case 1: + info->bit_input[id / 8] |= (1 << (id % 8)); + break; + default: + break; + } + break; + + default: + break; + } + } +} + +static void uaudio_mixer_find_outputs_sub(struct uaudio_terminal_node *root, uint8_t id, uint8_t n_id, struct uaudio_search_result *info) { @@ -2774,8 +3650,8 @@ } static void -uaudio_mixer_fill_info(struct uaudio_softc *sc, struct usb_device *udev, - void *desc) +uaudio_mixer_fill_info(struct uaudio_softc *sc, + struct usb_device *udev, void *desc) { const struct usb_audio_control_descriptor *acdp; struct usb_config_descriptor *cd = usbd_get_config_descriptor(udev); @@ -2809,15 +3685,6 @@ DPRINTFN(3, "found AC header, vers=%03x, len=%d\n", sc->sc_audio_rev, wTotalLen); - if (sc->sc_audio_rev != UAUDIO_VERSION) { - - if (sc->sc_uq_bad_adc) { - - } else { - DPRINTF("invalid audio version\n"); - goto done; - } - } iot = malloc(sizeof(struct uaudio_terminal_node) * 256, M_TEMP, M_WAITOK | M_ZERO); @@ -2835,13 +3702,17 @@ wTotalLen -= dp->bLength; } - au = uaudio_mixer_verify_desc(dp, 0); + if (sc->sc_audio_rev >= UAUDIO_VERSION_30) + au = NULL; + else if (sc->sc_audio_rev >= UAUDIO_VERSION_20) + au = uaudio20_mixer_verify_desc(dp, 0); + else + au = uaudio_mixer_verify_desc(dp, 0); if (au) { iot[au->bUnitId].u.desc = (const void *)au; - if (au->bUnitId > ID_max) { + if (au->bUnitId > ID_max) ID_max = au->bUnitId; - } } } @@ -2853,7 +3724,21 @@ */ i = ID_max; do { - uaudio_mixer_find_inputs_sub(iot, &i, 1, &((iot + i)->usr)); + if (sc->sc_audio_rev >= UAUDIO_VERSION_30) { + /* FALLTHROUGH */ + } else if (sc->sc_audio_rev >= UAUDIO_VERSION_20) { + uaudio20_mixer_find_inputs_sub(iot, + &i, 1, &((iot + i)->usr)); + + sc->sc_mixer_clocks.is_input = 255; + sc->sc_mixer_clocks.recurse_level = 0; + + uaudio20_mixer_find_clocks_sub(iot, + &i, 1, &sc->sc_mixer_clocks); + } else { + uaudio_mixer_find_inputs_sub(iot, + &i, 1, &((iot + i)->usr)); + } } while (i--); /* @@ -2862,7 +3747,8 @@ */ i = ID_max; do { - uaudio_mixer_find_outputs_sub(iot, i, ID_max, &((iot + i)->usr)); + uaudio_mixer_find_outputs_sub(iot, + i, ID_max, &((iot + i)->usr)); } while (i--); /* set "id_max" and "root" */ @@ -2873,106 +3759,59 @@ (iot + i)->root = iot; } while (i--); -#ifdef USB_DEBUG + /* + * Scan the config to create a linked list of "mixer" nodes: + */ + i = ID_max; do { - uint8_t j; + dp = iot[i].u.desc; - if (iot[i].u.desc == NULL) { + if (dp == NULL) continue; - } - DPRINTF("id %d:\n", i); - switch (iot[i].u.desc->bDescriptorSubtype) { - case UDESCSUB_AC_INPUT: - DPRINTF(" - AC_INPUT type=%s\n", - uaudio_mixer_get_terminal_name - (UGETW(iot[i].u.it->wTerminalType))); - uaudio_mixer_dump_cluster(i, iot); - break; + DPRINTFN(11, "id=%d subtype=%d\n", + i, dp->bDescriptorSubtype); - case UDESCSUB_AC_OUTPUT: - DPRINTF(" - AC_OUTPUT type=%s " - "src=%d\n", uaudio_mixer_get_terminal_name - (UGETW(iot[i].u.ot->wTerminalType)), - iot[i].u.ot->bSourceId); - break; + if (sc->sc_audio_rev >= UAUDIO_VERSION_30) { + continue; + } else if (sc->sc_audio_rev >= UAUDIO_VERSION_20) { - case UDESCSUB_AC_MIXER: - DPRINTF(" - AC_MIXER src:\n"); - for (j = 0; j < iot[i].u.mu->bNrInPins; j++) { - DPRINTF(" - %d\n", iot[i].u.mu->baSourceId[j]); - } - uaudio_mixer_dump_cluster(i, iot); - break; + switch (dp->bDescriptorSubtype) { + case UDESCSUB_AC_HEADER: + DPRINTF("unexpected AC header\n"); + break; - case UDESCSUB_AC_SELECTOR: - DPRINTF(" - AC_SELECTOR src:\n"); - for (j = 0; j < iot[i].u.su->bNrInPins; j++) { - DPRINTF(" - %d\n", iot[i].u.su->baSourceId[j]); - } - break; + case UDESCSUB_AC_INPUT: + case UDESCSUB_AC_OUTPUT: + case UDESCSUB_AC_PROCESSING_V2: + case UDESCSUB_AC_EXTENSION_V2: + case UDESCSUB_AC_EFFECT: + case UDESCSUB_AC_CLOCK_SRC: + case UDESCSUB_AC_CLOCK_SEL: + case UDESCSUB_AC_CLOCK_MUL: + case UDESCSUB_AC_SAMPLE_RT: + break; - case UDESCSUB_AC_FEATURE: - DPRINTF(" - AC_FEATURE src=%d\n", iot[i].u.fu->bSourceId); - break; + case UDESCSUB_AC_MIXER: + uaudio20_mixer_add_mixer(sc, iot, i); + break; - case UDESCSUB_AC_PROCESSING: - DPRINTF(" - AC_PROCESSING src:\n"); - for (j = 0; j < iot[i].u.pu->bNrInPins; j++) { - DPRINTF(" - %d\n", iot[i].u.pu->baSourceId[j]); - } - uaudio_mixer_dump_cluster(i, iot); - break; + case UDESCSUB_AC_SELECTOR: + uaudio20_mixer_add_selector(sc, iot, i); + break; - case UDESCSUB_AC_EXTENSION: - DPRINTF(" - AC_EXTENSION src:\n"); - for (j = 0; j < iot[i].u.eu->bNrInPins; j++) { - DPRINTF("%d ", iot[i].u.eu->baSourceId[j]); - } - uaudio_mixer_dump_cluster(i, iot); - break; + case UDESCSUB_AC_FEATURE: + uaudio20_mixer_add_feature(sc, iot, i); + break; - default: - DPRINTF("unknown audio control (subtype=%d)\n", - iot[i].u.desc->bDescriptorSubtype); - } - - DPRINTF("Inputs to this ID are:\n"); - - j = ID_max; - do { - if (iot[i].usr.bit_input[j / 8] & (1 << (j % 8))) { - DPRINTF(" -- ID=%d\n", j); + default: + DPRINTF("bad AC desc subtype=0x%02x\n", + dp->bDescriptorSubtype); + break; } - } while (j--); - - DPRINTF("Outputs from this ID are:\n"); - - j = ID_max; - do { - if (iot[i].usr.bit_output[j / 8] & (1 << (j % 8))) { - DPRINTF(" -- ID=%d\n", j); - } - } while (j--); - - } while (i--); -#endif - - /* - * scan the config to create a linked - * list of "mixer" nodes: - */ - - i = ID_max; - do { - dp = iot[i].u.desc; - - if (dp == NULL) { continue; } - DPRINTFN(11, "id=%d subtype=%d\n", - i, dp->bDescriptorSubtype); switch (dp->bDescriptorSubtype) { case UDESCSUB_AC_HEADER: @@ -2980,11 +3819,7 @@ break; case UDESCSUB_AC_INPUT: - uaudio_mixer_add_input(sc, iot, i); - break; - case UDESCSUB_AC_OUTPUT: - uaudio_mixer_add_output(sc, iot, i); break; case UDESCSUB_AC_MIXER: @@ -3016,43 +3851,77 @@ } while (i--); done: - if (iot) { - free(iot, M_TEMP); - } + free(iot, M_TEMP); } -static uint16_t -uaudio_mixer_get(struct usb_device *udev, uint8_t what, - struct uaudio_mixer_node *mc) +static int +uaudio_mixer_get(struct usb_device *udev, uint16_t audio_rev, + uint8_t what, struct uaudio_mixer_node *mc) { struct usb_device_request req; - uint16_t val; - uint16_t len = MIX_SIZE(mc->type); - uint8_t data[4]; + int val; + uint8_t data[2 + (2 * 3)]; usb_error_t err; - if (mc->wValue[0] == -1) { + if (mc->wValue[0] == -1) return (0); + + if (audio_rev >= UAUDIO_VERSION_30) + return (0); + else if (audio_rev >= UAUDIO_VERSION_20) { + if (what == GET_CUR) { + req.bRequest = UA20_CS_CUR; + USETW(req.wLength, 2); + } else { + req.bRequest = UA20_CS_RANGE; + USETW(req.wLength, 8); + } + } else { + uint16_t len = MIX_SIZE(mc->type); + + req.bRequest = what; + USETW(req.wLength, len); } + req.bmRequestType = UT_READ_CLASS_INTERFACE; - req.bRequest = what; USETW(req.wValue, mc->wValue[0]); USETW(req.wIndex, mc->wIndex); - USETW(req.wLength, len); + memset(data, 0, sizeof(data)); + err = usbd_do_request(udev, NULL, &req, data); if (err) { DPRINTF("err=%s\n", usbd_errstr(err)); return (0); } - if (len < 1) { - data[0] = 0; + + if (audio_rev >= UAUDIO_VERSION_30) { + val = 0; + } else if (audio_rev >= UAUDIO_VERSION_20) { + switch (what) { + case GET_CUR: + val = (data[0] | (data[1] << 8)); + break; + case GET_MIN: + val = (data[2] | (data[3] << 8)); + break; + case GET_MAX: + val = (data[4] | (data[5] << 8)); + break; + case GET_RES: + val = (data[6] | (data[7] << 8)); + break; + default: + val = 0; + break; + } + } else { + val = (data[0] | (data[1] << 8)); } - if (len < 2) { - data[1] = 0; - } - val = (data[0] | (data[1] << 8)); + if (what == GET_CUR || what == GET_MIN || what == GET_MAX) + val = uaudio_mixer_signext(mc->type, val); + DPRINTFN(3, "val=%d\n", val); return (val); @@ -3088,8 +3957,6 @@ while (mc) { while (sc->sc_mixer_chan < mc->nchan) { - len = MIX_SIZE(mc->type); - chan = sc->sc_mixer_chan; sc->sc_mixer_chan++; @@ -3102,17 +3969,24 @@ if (update) { req.bmRequestType = UT_WRITE_CLASS_INTERFACE; - req.bRequest = SET_CUR; USETW(req.wValue, mc->wValue[chan]); USETW(req.wIndex, mc->wIndex); - USETW(req.wLength, len); - if (len > 0) { - buf[0] = (mc->wData[chan] & 0xFF); + if (sc->sc_audio_rev >= UAUDIO_VERSION_30) { + return; + } else if (sc->sc_audio_rev >= UAUDIO_VERSION_20) { + len = 2; + req.bRequest = UA20_CS_CUR; + USETW(req.wLength, len); + } else { + len = MIX_SIZE(mc->type); + req.bRequest = SET_CUR; + USETW(req.wLength, len); } - if (len > 1) { - buf[1] = (mc->wData[chan] >> 8) & 0xFF; - } + + buf[0] = (mc->wData[chan] & 0xFF); + buf[1] = (mc->wData[chan] >> 8) & 0xFF; + pc = usbd_xfer_get_frame(xfer, 0); usbd_copy_in(pc, 0, &req, sizeof(req)); pc = usbd_xfer_get_frame(xfer, 1); @@ -3166,6 +4040,29 @@ return (usbd_do_request(udev, NULL, &req, data)); } +static usb_error_t +uaudio20_set_speed(struct usb_device *udev, uint8_t iface_no, + uint8_t clockid, uint32_t speed) +{ + struct usb_device_request req; + uint8_t data[4]; + + DPRINTFN(6, "ifaceno=%d clockid=%d speed=%u\n", + iface_no, clockid, speed); + + req.bmRequestType = UT_WRITE_CLASS_INTERFACE; + req.bRequest = UA20_CS_CUR; + USETW2(req.wValue, UA20_CS_SAM_FREQ_CONTROL, 0); + USETW2(req.wIndex, clockid, iface_no); + USETW(req.wLength, 4); + data[0] = speed; + data[1] = speed >> 8; + data[2] = speed >> 16; + data[3] = speed >> 24; + + return (usbd_do_request(udev, NULL, &req, data)); +} + static int uaudio_mixer_signext(uint8_t type, int val) { === sys/dev/sound/usb/uaudioreg.h ================================================================== --- sys/dev/sound/usb/uaudioreg.h (revision 240082) +++ sys/dev/sound/usb/uaudioreg.h (local) @@ -36,6 +36,7 @@ #define UAUDIO_VERSION 0x0100 #define UAUDIO_VERSION_20 0x0200 +#define UAUDIO_VERSION_30 0x0300 #define UAUDIO_PROTOCOL_20 0x20 @@ -54,7 +55,7 @@ #define UDESCSUB_AC_FEATURE 6 #define UDESCSUB_AC_PROCESSING 7 #define UDESCSUB_AC_EXTENSION 8 -/* ==== USB audio 2.0 ==== */ +/* ==== USB audio v2.0 ==== */ #define UDESCSUB_AC_EFFECT 7 #define UDESCSUB_AC_PROCESSING_V2 8 #define UDESCSUB_AC_EXTENSION_V2 9 @@ -365,7 +366,7 @@ #define DELAY_CONTROL 0x08 #define BASS_BOOST_CONTROL 0x09 #define LOUDNESS_CONTROL 0x0a -/* ==== USB audio 2.0 ==== */ +/* ==== USB audio v2.0 ==== */ #define INPUT_GAIN_CONTROL 0x0b #define INPUT_GAIN_PAD_CONTROL 0x0c #define PHASE_INVERTER_CONTROL 0x0d @@ -380,7 +381,7 @@ #define AS_GENERAL 1 #define FORMAT_TYPE 2 #define FORMAT_SPECIFIC 3 -/* ==== USB audio 2.0 ==== */ +/* ==== USB audio v2.0 ==== */ #define FORMAT_ENCODER 3 #define FORMAT_DECODER 4 @@ -434,7 +435,7 @@ * USB audio v2.0 definitions *------------------------------------------------------------------------*/ -struct usb_audio20_as_iface_descriptor { +struct usb_audio20_streaming_interface_descriptor { uByte bLength; uByte bDescriptorType; uByte bDescriptorSubtype; @@ -488,12 +489,9 @@ uByte bInterval; } __packed; -#define UA20_GET_CUR 0x81 -#define UA20_SET_CUR 0x01 -#define UA20_GET_RANGE 0x82 -#define UA20_SET_RANGE 0x02 -#define UA20_GET_MEM 0x83 -#define UA20_SET_MEM 0x03 +#define UA20_CS_CUR 0x01 +#define UA20_CS_RANGE 0x02 +#define UA20_CS_MEM 0x03 struct usb_audio20_cur1_parameter { uByte bCur; @@ -595,14 +593,20 @@ } __packed; /* UDESCSUB_AC_CLOCK_SEL */ -struct usb_audio20_clock_selector_unit { +struct usb_audio20_clock_selector_unit_0 { uByte bLength; uByte bDescriptorType; uByte bDescriptorSubtype; uByte bClockId; uByte bNrInPins; + uByte baCSourceId[0]; } __packed; +struct usb_audio20_clock_selector_unit_1 { + uByte bmControls; + uByte iClockSelector; +} __packed; + /* UDESCSUB_AC_CLOCK_MUL */ struct usb_audio20_clock_multiplier_unit { uByte bLength; @@ -768,8 +772,6 @@ #define UA20_TF_CONTROL_PANEL 0x0C #define UA20_TF_OTHER 0xFF -#define UA20_EP_GENERAL 0x01 - #define UA20_CS_SAM_FREQ_CONTROL 0x01 #define UA20_CS_CLOCK_VALID_CONTROL 0x02 --Boundary-00=_TPmRQg1hvz9TseG-- From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 5 10:40:28 2012 Return-Path: Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B0A2E1065675; Wed, 5 Sep 2012 10:40:28 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 845BF8FC18; Wed, 5 Sep 2012 10:40:28 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q85AeSX9059142; Wed, 5 Sep 2012 10:40:28 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q85AeSHi059126; Wed, 5 Sep 2012 10:40:28 GMT (envelope-from edwin) Date: Wed, 5 Sep 2012 10:40:28 GMT Message-Id: <201209051040.q85AeSHi059126@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-multimedia@FreeBSD.org From: edwin@FreeBSD.org Cc: Subject: Re: ports/171341: multimedia/vlc: Doesn't build with clang X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Sep 2012 10:40:28 -0000 Synopsis: multimedia/vlc: Doesn't build with clang Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-multimedia Responsible-Changed-By: edwin Responsible-Changed-When: Wed Sep 5 10:40:25 UTC 2012 Responsible-Changed-Why: Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=171341 From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 5 16:50:08 2012 Return-Path: Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 65E65106564A for ; Wed, 5 Sep 2012 16:50:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 485528FC0A for ; Wed, 5 Sep 2012 16:50:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q85Go7hF044276 for ; Wed, 5 Sep 2012 16:50:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q85Go7HQ044263; Wed, 5 Sep 2012 16:50:07 GMT (envelope-from gnats) Date: Wed, 5 Sep 2012 16:50:07 GMT Message-Id: <201209051650.q85Go7HQ044263@freefall.freebsd.org> To: freebsd-multimedia@FreeBSD.org From: Juergen Lock Cc: Subject: Re: ports/171341: multimedia/vlc: Doesn't build with clang X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Juergen Lock List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Sep 2012 16:50:08 -0000 The following reply was made to PR ports/171341; it has been noted by GNATS. From: Juergen Lock To: bug-followup@freebsd.org Cc: Subject: Re: ports/171341: multimedia/vlc: Doesn't build with clang Date: Wed, 5 Sep 2012 18:44:01 +0200 Interesting that this didn't occur when I tested clang... Anyway, can you try this patch: (put it in files/patch-include-vlc_common.h ) --- include/vlc_common.h.orig +++ include/vlc_common.h @@ -642,7 +642,7 @@ static inline unsigned popcount (unsigne #endif } -#ifdef __OS2__ +#if defined(__OS2__) || defined(__FreeBSD__) # undef bswap16 # undef bswap32 # undef bswap64 Thanx! Juergen From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 5 16:54:07 2012 Return-Path: Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2F3FE1065670; Wed, 5 Sep 2012 16:54:07 +0000 (UTC) (envelope-from nox@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 042BA8FC0A; Wed, 5 Sep 2012 16:54:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q85Gs6Zl000530; Wed, 5 Sep 2012 16:54:06 GMT (envelope-from nox@freefall.freebsd.org) Received: (from nox@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q85Gs6Dv000519; Wed, 5 Sep 2012 16:54:06 GMT (envelope-from nox) Date: Wed, 5 Sep 2012 16:54:06 GMT Message-Id: <201209051654.q85Gs6Dv000519@freefall.freebsd.org> To: glewis@freebsd.org, nox@FreeBSD.org, freebsd-multimedia@FreeBSD.org From: nox@FreeBSD.org Cc: Subject: Re: ports/171304: multimedia/vlc doesn't compile X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Sep 2012 16:54:07 -0000 Synopsis: multimedia/vlc doesn't compile State-Changed-From-To: open->closed State-Changed-By: nox State-Changed-When: Wed Sep 5 16:54:06 UTC 2012 State-Changed-Why: Committed, with minor changes. Thanks! http://www.freebsd.org/cgi/query-pr.cgi?pr=171304 From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 5 17:26:14 2012 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 884551065677; Wed, 5 Sep 2012 17:26:14 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 4344A8FC20; Wed, 5 Sep 2012 17:26:14 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 7DAF11E00173; Wed, 5 Sep 2012 19:26:12 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.4) with ESMTP id q85HPI0V009612; Wed, 5 Sep 2012 19:25:18 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id q85HPIxe009611; Wed, 5 Sep 2012 19:25:18 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Wed, 5 Sep 2012 19:25:18 +0200 To: bug-followup@freebsd.org Message-ID: <20120905172518.GA9594@triton8.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Greg Lewis , multimedia@freebsd.org Subject: Re: ports/171304: multimedia/vlc doesn't compile X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Sep 2012 17:26:14 -0000 Hm query-pr.cgi doesn't pick up the patch properly, here is it again, this time against the port dir: Index: files/patch-include-vlc_common.h --- /dev/null +++ files/patch-include-vlc_common.h @@ -0,0 +1,11 @@ +--- include/vlc_common.h.orig ++++ include/vlc_common.h +@@ -642,7 +642,7 @@ static inline unsigned popcount (unsigne + #endif + } + +-#ifdef __OS2__ ++#if defined(__OS2__) || defined(__FreeBSD__) + # undef bswap16 + # undef bswap32 + # undef bswap64 From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 5 17:30:08 2012 Return-Path: Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47D99106566B for ; Wed, 5 Sep 2012 17:30:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 28A1B8FC0A for ; Wed, 5 Sep 2012 17:30:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q85HU847088930 for ; Wed, 5 Sep 2012 17:30:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q85HU7oU088915; Wed, 5 Sep 2012 17:30:07 GMT (envelope-from gnats) Date: Wed, 5 Sep 2012 17:30:07 GMT Message-Id: <201209051730.q85HU7oU088915@freefall.freebsd.org> To: freebsd-multimedia@FreeBSD.org From: Juergen Lock Cc: Subject: Re: ports/171304: multimedia/vlc doesn't compile X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Juergen Lock List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Sep 2012 17:30:08 -0000 The following reply was made to PR ports/171304; it has been noted by GNATS. From: Juergen Lock To: bug-followup@freebsd.org Cc: Greg Lewis , multimedia@freebsd.org Subject: Re: ports/171304: multimedia/vlc doesn't compile Date: Wed, 5 Sep 2012 19:25:18 +0200 Hm query-pr.cgi doesn't pick up the patch properly, here is it again, this time against the port dir: Index: files/patch-include-vlc_common.h --- /dev/null +++ files/patch-include-vlc_common.h @@ -0,0 +1,11 @@ +--- include/vlc_common.h.orig ++++ include/vlc_common.h +@@ -642,7 +642,7 @@ static inline unsigned popcount (unsigne + #endif + } + +-#ifdef __OS2__ ++#if defined(__OS2__) || defined(__FreeBSD__) + # undef bswap16 + # undef bswap32 + # undef bswap64 From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 5 17:42:34 2012 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0ADB81065670; Wed, 5 Sep 2012 17:42:34 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id B986A8FC17; Wed, 5 Sep 2012 17:42:33 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 6486C1E000F6; Wed, 5 Sep 2012 19:42:29 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.4) with ESMTP id q85Hao69010305; Wed, 5 Sep 2012 19:36:50 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id q85HaoxG010304; Wed, 5 Sep 2012 19:36:50 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Wed, 5 Sep 2012 19:36:50 +0200 To: bug-followup@freebsd.org Message-ID: <20120905173650.GA10291@triton8.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Cc: arrowdodger <6yearold@gmail.com>, multimedia@freebsd.org Subject: Re: ports/171341: multimedia/vlc: Doesn't build with clang X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Sep 2012 17:42:34 -0000 [Now with the right PR, sorry] Hm query-pr.cgi doesn't pick up the patch properly, here is it again, this time against the port dir: Index: files/patch-include-vlc_common.h =================================================================== --- files/patch-include-vlc_common.h.orig +++ files/patch-include-vlc_common.h @@ -0,0 +1,11 @@ +--- include/vlc_common.h.orig ++++ include/vlc_common.h +@@ -642,7 +642,7 @@ static inline unsigned popcount (unsigne + #endif + } + +-#ifdef __OS2__ ++#if defined(__OS2__) || defined(__FreeBSD__) + # undef bswap16 + # undef bswap32 + # undef bswap64 From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 5 17:50:11 2012 Return-Path: Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 664E41065670 for ; Wed, 5 Sep 2012 17:50:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id EAE2A8FC08 for ; Wed, 5 Sep 2012 17:50:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q85Ho6Id090874 for ; Wed, 5 Sep 2012 17:50:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q85Ho6F9090863; Wed, 5 Sep 2012 17:50:06 GMT (envelope-from gnats) Date: Wed, 5 Sep 2012 17:50:06 GMT Message-Id: <201209051750.q85Ho6F9090863@freefall.freebsd.org> To: freebsd-multimedia@FreeBSD.org From: Juergen Lock Cc: Subject: Re: ports/171341: multimedia/vlc: Doesn't build with clang X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Juergen Lock List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Sep 2012 17:50:11 -0000 The following reply was made to PR ports/171341; it has been noted by GNATS. From: Juergen Lock To: bug-followup@freebsd.org Cc: arrowdodger <6yearold@gmail.com>, multimedia@freebsd.org Subject: Re: ports/171341: multimedia/vlc: Doesn't build with clang Date: Wed, 5 Sep 2012 19:36:50 +0200 [Now with the right PR, sorry] Hm query-pr.cgi doesn't pick up the patch properly, here is it again, this time against the port dir: Index: files/patch-include-vlc_common.h =================================================================== --- files/patch-include-vlc_common.h.orig +++ files/patch-include-vlc_common.h @@ -0,0 +1,11 @@ +--- include/vlc_common.h.orig ++++ include/vlc_common.h +@@ -642,7 +642,7 @@ static inline unsigned popcount (unsigne + #endif + } + +-#ifdef __OS2__ ++#if defined(__OS2__) || defined(__FreeBSD__) + # undef bswap16 + # undef bswap32 + # undef bswap64 From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 5 18:09:54 2012 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58C551065670; Wed, 5 Sep 2012 18:09:54 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 99C6D8FC16; Wed, 5 Sep 2012 18:09:53 +0000 (UTC) Received: by lage12 with SMTP id e12so704551lag.13 for ; Wed, 05 Sep 2012 11:09:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=mJN7yLcRD9mOcDrmurP92LtO1Ovd4BWe0m8WDYiD+D8=; b=aLT8rWQANxZa3mpb5Uf0Y5b4dHhJeXUCy5YAQP6gXyR+skTph2MgIpkxAYfJsAdMNI tuMWMTJlIKH5aDQpXGObWZi6yO5zK8a+BGkdMNAh5UcmzKXlFxSHXAi7OT6ubRAWXwyL JFy2NgSfOnvauyZpbaLeXKQeWAKtnZCqGqFDvD/gPW4Xn9iiNV7buQtTu/QHwy1Y4Ijd rPCR9TedWEYaOzGUCoefGwh0YfLtvmCW8T+xW9ikyujMMIO6bY1EHdT8Ifu03z3k+K63 QJFcGbQ8xsi/vCET8EIdk6OrVxHPlTF4VXGLYIcCbi6O/Ijs7UGMIDBOtbTnajYLg215 /x9g== Received: by 10.152.131.37 with SMTP id oj5mr20662838lab.14.1346868592094; Wed, 05 Sep 2012 11:09:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.114.11.201 with HTTP; Wed, 5 Sep 2012 11:09:21 -0700 (PDT) In-Reply-To: <20120905173650.GA10291@triton8.kn-bremen.de> References: <20120905173650.GA10291@triton8.kn-bremen.de> From: arrowdodger <6yearold@gmail.com> Date: Wed, 5 Sep 2012 22:09:21 +0400 Message-ID: To: Juergen Lock Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: multimedia@freebsd.org, bug-followup@freebsd.org Subject: Re: ports/171341: multimedia/vlc: Doesn't build with clang X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Sep 2012 18:09:54 -0000 Now it goes farther, but dies with: CXX dialogs/libqt4_plugin_la-help.lo dialogs/help.cpp:115:27: error: differing user-defined suffixes ('__DATE__' and '__TIME__') in string literal concatenation + " ("__DATE__" "__TIME__").\n" ~~~~~~~~~~~~^~~~~~~~~~~ 1 error generated. gmake[6]: *** [dialogs/libqt4_plugin_la-help.lo] Error 1 gmake[6]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-2.0.3/modules/gui/qt4' On Wed, Sep 5, 2012 at 9:36 PM, Juergen Lock wrote: > [Now with the right PR, sorry] > > Hm query-pr.cgi doesn't pick up the patch properly, here is it again, > this time against the port dir: > > Index: files/patch-include-vlc_common.h > =================================================================== > --- files/patch-include-vlc_common.h.orig > +++ files/patch-include-vlc_common.h > @@ -0,0 +1,11 @@ > +--- include/vlc_common.h.orig > ++++ include/vlc_common.h > +@@ -642,7 +642,7 @@ static inline unsigned popcount (unsigne > + #endif > + } > + > +-#ifdef __OS2__ > ++#if defined(__OS2__) || defined(__FreeBSD__) > + # undef bswap16 > + # undef bswap32 > + # undef bswap64 > > From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 5 18:10:07 2012 Return-Path: Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ED782106564A for ; Wed, 5 Sep 2012 18:10:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D7D898FC18 for ; Wed, 5 Sep 2012 18:10:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q85IA6QS071721 for ; Wed, 5 Sep 2012 18:10:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q85IA6nC071703; Wed, 5 Sep 2012 18:10:06 GMT (envelope-from gnats) Date: Wed, 5 Sep 2012 18:10:06 GMT Message-Id: <201209051810.q85IA6nC071703@freefall.freebsd.org> To: freebsd-multimedia@FreeBSD.org From: arrowdodger <6yearold@gmail.com> Cc: Subject: Re: ports/171341: multimedia/vlc: Doesn't build with clang X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: arrowdodger <6yearold@gmail.com> List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Sep 2012 18:10:07 -0000 The following reply was made to PR ports/171341; it has been noted by GNATS. From: arrowdodger <6yearold@gmail.com> To: Juergen Lock Cc: bug-followup@freebsd.org, multimedia@freebsd.org Subject: Re: ports/171341: multimedia/vlc: Doesn't build with clang Date: Wed, 5 Sep 2012 22:09:21 +0400 --f46d042c6b8dfdacb004c8f84723 Content-Type: text/plain; charset=UTF-8 Now it goes farther, but dies with: CXX dialogs/libqt4_plugin_la-help.lo dialogs/help.cpp:115:27: error: differing user-defined suffixes ('__DATE__' and '__TIME__') in string literal concatenation + " ("__DATE__" "__TIME__").\n" ~~~~~~~~~~~~^~~~~~~~~~~ 1 error generated. gmake[6]: *** [dialogs/libqt4_plugin_la-help.lo] Error 1 gmake[6]: Leaving directory `/usr/ports/multimedia/vlc/work/vlc-2.0.3/modules/gui/qt4' On Wed, Sep 5, 2012 at 9:36 PM, Juergen Lock wrote: > [Now with the right PR, sorry] > > Hm query-pr.cgi doesn't pick up the patch properly, here is it again, > this time against the port dir: > > Index: files/patch-include-vlc_common.h > =================================================================== > --- files/patch-include-vlc_common.h.orig > +++ files/patch-include-vlc_common.h > @@ -0,0 +1,11 @@ > +--- include/vlc_common.h.orig > ++++ include/vlc_common.h > +@@ -642,7 +642,7 @@ static inline unsigned popcount (unsigne > + #endif > + } > + > +-#ifdef __OS2__ > ++#if defined(__OS2__) || defined(__FreeBSD__) > + # undef bswap16 > + # undef bswap32 > + # undef bswap64 > > --f46d042c6b8dfdacb004c8f84723 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Now it goes farther, but dies with:

=C2=A0 CXX=C2=A0=C2=A0=C2=A0 dia= logs/libqt4_plugin_la-help.lo
dialogs/help.cpp:115:27: error: differing = user-defined suffixes ('__DATE__' and '__TIME__') in string= literal concatenation
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 + "= ("__DATE__" "__TIME__").\n"
=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ~~~~~~~~~~~~^~= ~~~~~~~~~
1 error generated.
gmake[6]: *** [dialogs/libqt4_plugin_la-= help.lo] Error 1
gmake[6]: Leaving directory `/usr/ports/multimedia/vlc/= work/vlc-2.0.3/modules/gui/qt4'

On Wed, Sep 5, 2012 at 9:36 PM, Juergen Lock= <nox@jelal.kn-bremen.de> wrote:
[Now with the right PR, sorry]

Hm query-pr.cgi doesn't pick up the patch properly, here is it again, this time against the port dir:

Index: files/patch-include-vlc_common.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- files/patch-include-vlc_common.h.orig
+++ files/patch-include-vlc_common.h
@@ -0,0 +1,11 @@
+--- include/vlc_common.h.orig
++++ include/vlc_common.h
+@@ -642,7 +642,7 @@ static inline unsigned popcount (unsigne
+ #endif
+ }
+
+-#ifdef __OS2__
++#if defined(__OS2__) || defined(__FreeBSD__)
+ # =C2=A0 undef bswap16
+ # =C2=A0 undef bswap32
+ # =C2=A0 undef bswap64


--f46d042c6b8dfdacb004c8f84723-- From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 5 18:12:07 2012 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 92D96106566B; Wed, 5 Sep 2012 18:12:07 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 4A6E38FC08; Wed, 5 Sep 2012 18:12:07 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id A7D731E000D8; Wed, 5 Sep 2012 20:12:05 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.4) with ESMTP id q85IBTSK011645; Wed, 5 Sep 2012 20:11:29 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id q85IBSNf011643; Wed, 5 Sep 2012 20:11:28 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Wed, 5 Sep 2012 20:11:28 +0200 To: Juergen Lock Message-ID: <20120905181128.GA11619@triton8.kn-bremen.de> References: <20120905173650.GA10291@triton8.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120905173650.GA10291@triton8.kn-bremen.de> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: multimedia@freebsd.org, arrowdodger <6yearold@gmail.com>, bug-followup@freebsd.org Subject: Re: ports/171341: multimedia/vlc: Doesn't build with clang X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Sep 2012 18:12:07 -0000 I've now put the patch here: http://people.freebsd.org/~nox/tmp/vlc-2.0.3-clang.patch From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 5 18:20:14 2012 Return-Path: Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05ED8106578E for ; Wed, 5 Sep 2012 18:20:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4270D8FC12 for ; Wed, 5 Sep 2012 18:20:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q85IK7me060986 for ; Wed, 5 Sep 2012 18:20:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q85IK7a0060973; Wed, 5 Sep 2012 18:20:07 GMT (envelope-from gnats) Date: Wed, 5 Sep 2012 18:20:07 GMT Message-Id: <201209051820.q85IK7a0060973@freefall.freebsd.org> To: freebsd-multimedia@FreeBSD.org From: Juergen Lock Cc: Subject: Re: ports/171341: multimedia/vlc: Doesn't build with clang X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Juergen Lock List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Sep 2012 18:20:14 -0000 The following reply was made to PR ports/171341; it has been noted by GNATS. From: Juergen Lock To: Juergen Lock Cc: bug-followup@freebsd.org, arrowdodger <6yearold@gmail.com>, multimedia@freebsd.org Subject: Re: ports/171341: multimedia/vlc: Doesn't build with clang Date: Wed, 5 Sep 2012 20:11:28 +0200 I've now put the patch here: http://people.freebsd.org/~nox/tmp/vlc-2.0.3-clang.patch From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 5 18:56:34 2012 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2BE0106566C; Wed, 5 Sep 2012 18:56:34 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 8A3228FC14; Wed, 5 Sep 2012 18:56:34 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 405901E00714; Wed, 5 Sep 2012 20:56:33 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.4) with ESMTP id q85IthGK012780; Wed, 5 Sep 2012 20:55:43 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id q85IthYM012779; Wed, 5 Sep 2012 20:55:43 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Wed, 5 Sep 2012 20:55:42 +0200 To: arrowdodger <6yearold@gmail.com> Message-ID: <20120905185542.GA11984@triton8.kn-bremen.de> References: <20120905173650.GA10291@triton8.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: multimedia@freebsd.org, Juergen Lock , bug-followup@freebsd.org Subject: Re: ports/171341: multimedia/vlc: Doesn't build with clang X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Sep 2012 18:56:34 -0000 On Wed, Sep 05, 2012 at 10:09:21PM +0400, arrowdodger wrote: > Now it goes farther, but dies with: > > CXX dialogs/libqt4_plugin_la-help.lo > dialogs/help.cpp:115:27: error: differing user-defined suffixes ('__DATE__' > and '__TIME__') in string literal concatenation > + " ("__DATE__" "__TIME__").\n" > ~~~~~~~~~~~~^~~~~~~~~~~ > 1 error generated. > gmake[6]: *** [dialogs/libqt4_plugin_la-help.lo] Error 1 > gmake[6]: Leaving directory > `/usr/ports/multimedia/vlc/work/vlc-2.0.3/modules/gui/qt4' > Hm what if you try w/o your CXXFLAGS=-stdlib=libc++ -std=c++11 -Wno-c++11-narrowing ? Or else try this updated patch; also at: http://people.freebsd.org/~nox/tmp/vlc-2.0.3-clang.patch Index: files/patch-include-vlc_common.h =================================================================== --- files/patch-include-vlc_common.h.orig +++ files/patch-include-vlc_common.h @@ -0,0 +1,11 @@ +--- include/vlc_common.h.orig ++++ include/vlc_common.h +@@ -642,7 +642,7 @@ static inline unsigned popcount (unsigne + #endif + } + +-#ifdef __OS2__ ++#if defined(__OS2__) || defined(__FreeBSD__) + # undef bswap16 + # undef bswap32 + # undef bswap64 Index: files/patch-modules-gui-qt4-dialogs-help.cpp =================================================================== --- files/patch-modules-gui-qt4-dialogs-help.cpp.orig +++ files/patch-modules-gui-qt4-dialogs-help.cpp @@ -0,0 +1,11 @@ +--- modules/gui/qt4/dialogs/help.cpp.orig ++++ modules/gui/qt4/dialogs/help.cpp +@@ -112,7 +112,7 @@ AboutDialog::AboutDialog( intf_thread_t + "popular platform.\n\n" ) + + qtr( "This version of VLC was compiled by:\n " ) + + qfu( VLC_CompileBy() )+ " on " + qfu( VLC_CompileHost() ) + +- + " ("__DATE__" "__TIME__").\n" ++ + " (" + __DATE__ + " " + __TIME__ + ").\n" + + qtr( "Compiler: " ) + qfu( VLC_Compiler() ) + ".\n" + + qtr( "You are using the Qt4 Interface.\n\n" ) + + qtr( "Copyright (C) " ) + COPYRIGHT_YEARS Thanx! Juergen From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 5 19:00:19 2012 Return-Path: Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 304811065672 for ; Wed, 5 Sep 2012 19:00:17 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D433D8FC0C for ; Wed, 5 Sep 2012 19:00:16 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q85J0GrQ096182 for ; Wed, 5 Sep 2012 19:00:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q85J0G03096168; Wed, 5 Sep 2012 19:00:16 GMT (envelope-from gnats) Date: Wed, 5 Sep 2012 19:00:16 GMT Message-Id: <201209051900.q85J0G03096168@freefall.freebsd.org> To: freebsd-multimedia@FreeBSD.org From: Juergen Lock Cc: Subject: Re: ports/171341: multimedia/vlc: Doesn't build with clang X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Juergen Lock List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Sep 2012 19:00:19 -0000 The following reply was made to PR ports/171341; it has been noted by GNATS. From: Juergen Lock To: arrowdodger <6yearold@gmail.com> Cc: Juergen Lock , bug-followup@freebsd.org, multimedia@freebsd.org Subject: Re: ports/171341: multimedia/vlc: Doesn't build with clang Date: Wed, 5 Sep 2012 20:55:42 +0200 On Wed, Sep 05, 2012 at 10:09:21PM +0400, arrowdodger wrote: > Now it goes farther, but dies with: > > CXX dialogs/libqt4_plugin_la-help.lo > dialogs/help.cpp:115:27: error: differing user-defined suffixes ('__DATE__' > and '__TIME__') in string literal concatenation > + " ("__DATE__" "__TIME__").\n" > ~~~~~~~~~~~~^~~~~~~~~~~ > 1 error generated. > gmake[6]: *** [dialogs/libqt4_plugin_la-help.lo] Error 1 > gmake[6]: Leaving directory > `/usr/ports/multimedia/vlc/work/vlc-2.0.3/modules/gui/qt4' > Hm what if you try w/o your CXXFLAGS=-stdlib=libc++ -std=c++11 -Wno-c++11-narrowing ? Or else try this updated patch; also at: http://people.freebsd.org/~nox/tmp/vlc-2.0.3-clang.patch Index: files/patch-include-vlc_common.h =================================================================== --- files/patch-include-vlc_common.h.orig +++ files/patch-include-vlc_common.h @@ -0,0 +1,11 @@ +--- include/vlc_common.h.orig ++++ include/vlc_common.h +@@ -642,7 +642,7 @@ static inline unsigned popcount (unsigne + #endif + } + +-#ifdef __OS2__ ++#if defined(__OS2__) || defined(__FreeBSD__) + # undef bswap16 + # undef bswap32 + # undef bswap64 Index: files/patch-modules-gui-qt4-dialogs-help.cpp =================================================================== --- files/patch-modules-gui-qt4-dialogs-help.cpp.orig +++ files/patch-modules-gui-qt4-dialogs-help.cpp @@ -0,0 +1,11 @@ +--- modules/gui/qt4/dialogs/help.cpp.orig ++++ modules/gui/qt4/dialogs/help.cpp +@@ -112,7 +112,7 @@ AboutDialog::AboutDialog( intf_thread_t + "popular platform.\n\n" ) + + qtr( "This version of VLC was compiled by:\n " ) + + qfu( VLC_CompileBy() )+ " on " + qfu( VLC_CompileHost() ) + +- + " ("__DATE__" "__TIME__").\n" ++ + " (" + __DATE__ + " " + __TIME__ + ").\n" + + qtr( "Compiler: " ) + qfu( VLC_Compiler() ) + ".\n" + + qtr( "You are using the Qt4 Interface.\n\n" ) + + qtr( "Copyright (C) " ) + COPYRIGHT_YEARS Thanx! Juergen From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 5 19:56:47 2012 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C87F31065670; Wed, 5 Sep 2012 19:56:47 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 7F7398FC0A; Wed, 5 Sep 2012 19:56:47 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 118811E00702; Wed, 5 Sep 2012 21:56:45 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.4) with ESMTP id q85Ju35h015362; Wed, 5 Sep 2012 21:56:03 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id q85Ju3E1015361; Wed, 5 Sep 2012 21:56:03 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Wed, 5 Sep 2012 21:56:03 +0200 To: Juergen Lock Message-ID: <20120905195603.GA15314@triton8.kn-bremen.de> References: <20120905173650.GA10291@triton8.kn-bremen.de> <20120905185542.GA11984@triton8.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120905185542.GA11984@triton8.kn-bremen.de> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: multimedia@freebsd.org, arrowdodger <6yearold@gmail.com>, bug-followup@freebsd.org Subject: Re: ports/171341: multimedia/vlc: Doesn't build with clang X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Sep 2012 19:56:47 -0000 On Wed, Sep 05, 2012 at 08:55:42PM +0200, Juergen Lock wrote: > On Wed, Sep 05, 2012 at 10:09:21PM +0400, arrowdodger wrote: > > [...] > Hm what if you try w/o your > > CXXFLAGS=-stdlib=libc++ -std=c++11 -Wno-c++11-narrowing > > ? > > Or else try this updated patch; also at: > > http://people.freebsd.org/~nox/tmp/vlc-2.0.3-clang.patch > > [...] Hm I now tried your CXXFLAGS and get further failures in work/vlc-2.0.3/modules/audio_filter/spatializer/spatializer.cpp - I guess the vlc code is simply not c++11 ready. Sorry... Juergen From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 5 20:00:13 2012 Return-Path: Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A113A106564A for ; Wed, 5 Sep 2012 20:00:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 725BD8FC08 for ; Wed, 5 Sep 2012 20:00:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q85K0DG5086159 for ; Wed, 5 Sep 2012 20:00:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q85K0D87086145; Wed, 5 Sep 2012 20:00:13 GMT (envelope-from gnats) Date: Wed, 5 Sep 2012 20:00:13 GMT Message-Id: <201209052000.q85K0D87086145@freefall.freebsd.org> To: freebsd-multimedia@FreeBSD.org From: Juergen Lock Cc: Subject: Re: ports/171341: multimedia/vlc: Doesn't build with clang X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Juergen Lock List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Sep 2012 20:00:13 -0000 The following reply was made to PR ports/171341; it has been noted by GNATS. From: Juergen Lock To: Juergen Lock Cc: arrowdodger <6yearold@gmail.com>, bug-followup@freebsd.org, multimedia@freebsd.org Subject: Re: ports/171341: multimedia/vlc: Doesn't build with clang Date: Wed, 5 Sep 2012 21:56:03 +0200 On Wed, Sep 05, 2012 at 08:55:42PM +0200, Juergen Lock wrote: > On Wed, Sep 05, 2012 at 10:09:21PM +0400, arrowdodger wrote: > > [...] > Hm what if you try w/o your > > CXXFLAGS=-stdlib=libc++ -std=c++11 -Wno-c++11-narrowing > > ? > > Or else try this updated patch; also at: > > http://people.freebsd.org/~nox/tmp/vlc-2.0.3-clang.patch > > [...] Hm I now tried your CXXFLAGS and get further failures in work/vlc-2.0.3/modules/audio_filter/spatializer/spatializer.cpp - I guess the vlc code is simply not c++11 ready. Sorry... Juergen From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 5 20:40:06 2012 Return-Path: Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D176D106566C for ; Wed, 5 Sep 2012 20:40:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AD2E88FC0C for ; Wed, 5 Sep 2012 20:40:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q85Ke6Qa054257 for ; Wed, 5 Sep 2012 20:40:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q85Ke6xF054241; Wed, 5 Sep 2012 20:40:06 GMT (envelope-from gnats) Date: Wed, 5 Sep 2012 20:40:06 GMT Message-Id: <201209052040.q85Ke6xF054241@freefall.freebsd.org> To: freebsd-multimedia@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: ports/171341: commit references a PR X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Sep 2012 20:40:07 -0000 The following reply was made to PR ports/171341; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/171341: commit references a PR Date: Wed, 5 Sep 2012 20:37:19 +0000 (UTC) Author: nox Date: Wed Sep 5 20:37:05 2012 New Revision: 303722 URL: http://svn.freebsd.org/changeset/ports/303722 Log: - Add patch for (possible) compilation failure - even though the CXXFLAGS used in the PR are not supported. [1] - Fix runtime issue receiving UDP multicast streams. [2] - Bump PORTREVISION. PR: ports/171341 [1] Submitted by: arrowdodger <6yearold@gmail.com> [1] Reported by: Sulev-Madis Silber (via private email) [2] Added: head/multimedia/vlc/files/patch-include-vlc_common.h (contents, props changed) head/multimedia/vlc/files/patch-src-network-udp.c (contents, props changed) Modified: head/multimedia/vlc/Makefile Modified: head/multimedia/vlc/Makefile ============================================================================== --- head/multimedia/vlc/Makefile Wed Sep 5 19:21:31 2012 (r303721) +++ head/multimedia/vlc/Makefile Wed Sep 5 20:37:05 2012 (r303722) @@ -7,7 +7,7 @@ PORTNAME= vlc DISTVERSION= 2.0.3 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 3 CATEGORIES= multimedia audio ipv6 net www MASTER_SITES= http://download.videolan.org/pub/videolan/${PORTNAME}/${DISTVERSION:S/p/-pre/}/ \ Added: head/multimedia/vlc/files/patch-include-vlc_common.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/vlc/files/patch-include-vlc_common.h Wed Sep 5 20:37:05 2012 (r303722) @@ -0,0 +1,11 @@ +--- include/vlc_common.h.orig ++++ include/vlc_common.h +@@ -642,7 +642,7 @@ static inline unsigned popcount (unsigne + #endif + } + +-#ifdef __OS2__ ++#if defined(__OS2__) || defined(__FreeBSD__) + # undef bswap16 + # undef bswap32 + # undef bswap64 Added: head/multimedia/vlc/files/patch-src-network-udp.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/vlc/files/patch-src-network-udp.c Wed Sep 5 20:37:05 2012 (r303722) @@ -0,0 +1,11 @@ +--- src/network/udp.c.orig ++++ src/network/udp.c +@@ -383,7 +383,7 @@ int net_Subscribe (vlc_object_t *obj, in + { + /* MCAST_JOIN_GROUP was introduced to OS X in v10.7, but it doesn't work, + * so ignore it to use the same code as on 10.5 or 10.6 */ +-#if defined (MCAST_JOIN_GROUP) && !defined (__APPLE__) ++#if defined (MCAST_JOIN_GROUP) && !defined (__APPLE__) && !defined (__FreeBSD__) + /* Agnostic SSM multicast join */ + int level; + struct group_req gr; _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org" From owner-freebsd-multimedia@FreeBSD.ORG Wed Sep 5 20:40:27 2012 Return-Path: Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B7361065673; Wed, 5 Sep 2012 20:40:27 +0000 (UTC) (envelope-from nox@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0DD6A8FC1B; Wed, 5 Sep 2012 20:40:27 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q85KeQPf060405; Wed, 5 Sep 2012 20:40:26 GMT (envelope-from nox@freefall.freebsd.org) Received: (from nox@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q85KeQrD060378; Wed, 5 Sep 2012 20:40:26 GMT (envelope-from nox) Date: Wed, 5 Sep 2012 20:40:26 GMT Message-Id: <201209052040.q85KeQrD060378@freefall.freebsd.org> To: 6yearold@gmail.com, nox@FreeBSD.org, freebsd-multimedia@FreeBSD.org From: nox@FreeBSD.org Cc: Subject: Re: ports/171341: multimedia/vlc: Doesn't build with clang X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Sep 2012 20:40:27 -0000 Synopsis: multimedia/vlc: Doesn't build with clang State-Changed-From-To: open->closed State-Changed-By: nox State-Changed-When: Wed Sep 5 20:40:26 UTC 2012 State-Changed-Why: (Partly) fix commited - the CXXFLAGS used in the PR are not actually supported. http://www.freebsd.org/cgi/query-pr.cgi?pr=171341 From owner-freebsd-multimedia@FreeBSD.ORG Thu Sep 6 06:02:25 2012 Return-Path: Delivered-To: multimedia@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 42C30106566B; Thu, 6 Sep 2012 06:02:25 +0000 (UTC) (envelope-from jgh@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 16F8D8FC08; Thu, 6 Sep 2012 06:02:25 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q8662OLl065080; Thu, 6 Sep 2012 06:02:24 GMT (envelope-from jgh@freefall.freebsd.org) Received: (from jgh@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q8662Ook065064; Thu, 6 Sep 2012 06:02:24 GMT (envelope-from jgh) Date: Thu, 6 Sep 2012 06:02:24 GMT Message-Id: <201209060602.q8662Ook065064@freefall.freebsd.org> To: jgh@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, multimedia@FreeBSD.org From: jgh@FreeBSD.org Cc: Subject: Re: ports/171248: multimedia/win32-codecs: Fix pkg-plist X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Sep 2012 06:02:25 -0000 Old Synopsis: multimedia/win32-codes: Fix pkg-plist New Synopsis: multimedia/win32-codecs: Fix pkg-plist Responsible-Changed-From-To: freebsd-ports-bugs->multimedia Responsible-Changed-By: jgh Responsible-Changed-When: Thu Sep 6 06:01:03 UTC 2012 Responsible-Changed-Why: fix synopis, and assign please rebuild, as it appears this is fixed http://www.freebsd.org/cgi/query-pr.cgi?pr=171248 From owner-freebsd-multimedia@FreeBSD.ORG Fri Sep 7 08:28:25 2012 Return-Path: Delivered-To: multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A820E10656D2 for ; Fri, 7 Sep 2012 08:28:25 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from portsmonj.FreeBSD.org (portsmonj.freebsd.org [69.147.83.46]) by mx1.freebsd.org (Postfix) with ESMTP id 882028FC14 for ; Fri, 7 Sep 2012 08:28:25 +0000 (UTC) Received: from portsmonj.freebsd.org (portsmonj.freebsd.org [69.147.83.46]) by portsmonj.FreeBSD.org (8.14.5/8.14.4) with ESMTP id q878SPvX082743 for ; Fri, 7 Sep 2012 08:28:25 GMT (envelope-from linimon@FreeBSD.org) Date: Fri, 7 Sep 2012 08:28:25 GMT Message-Id: <201209070828.q878SPvX082743@portsmonj.FreeBSD.org> From: linimon@FreeBSD.org To: multimedia@FreeBSD.org Cc: Subject: FreeBSD ports that you maintain which are currently marked broken X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: portmgr-feedback@FreeBSD.org List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Sep 2012 08:28:25 -0000 Dear FreeBSD port maintainer: As part of an ongoing effort to reduce the number of problems in the FreeBSD ports system, we periodically notify users of ports that are marked as "broken" in their Makefiles. In many cases these ports are failing to compile on some subset of the FreeBSD build environments. The most common problem is that recent versions of -CURRENT include gcc4.2, which is much stricter than older versions. The next most common problem is that compiles succeed on the i386 architecture (e.g. the common Intel PC), but fail on one or more of the other architectures due to assumptions about things such as size of various types, byte-alignment issues, and so forth. In occasional cases we see that the same port may have different errors in different build environments. The script that runs on the build cluster uses heuristics to try to 'guess' the error type to help you isolate problems, but it is only a rough guide. One more note: on occasion, there are transient build errors seen on the build farm. Unfortunately, there is not yet any way for this algorithm to tell the difference (humans are much, much better at this kind of thing.) The errors are listed below. In the case where the same problem exists on more than one build environment, the URL points to the latest errorlog for that type. (By 'build environment' here we mean 'combination of 7.x/8.x/9.x/-current with target architecture'.) (Note: the dates are included to help you to gauge whether or not the error still applies to the latest version. The program that generates this report is not yet able to determine this automatically.) portname: multimedia/linux-realplayer broken because: unfetchable build errors: http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.10.20120608131052/linux-realplayer-10.0.9.809.20070726_3.log (_Jun_13_02:24:52_UTC_2012) overview: http://portsmon.FreeBSD.org/portoverview.py?category=multimedia&portname=linux-realplayer If these errors are ones that you are already aware of, please accept our apologies and ignore this message. On the other hand, if you no longer wish to maintain this port (or ports), please reply with a message stating that, and accept our thanks for your efforts in the past. Every effort has been made to make sure that these error reports really do correspond to a port that you maintain. However, due to the fact that this is an automated process, it may indeed generate false matches. If one of these errors fits that description, please forward this email to the author of this software, Mark Linimon , so that he can attempt to fix the problem in the future. Thanks for your efforts to help improve FreeBSD. From owner-freebsd-multimedia@FreeBSD.ORG Sat Sep 8 10:17:27 2012 Return-Path: Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 583A0106566B; Sat, 8 Sep 2012 10:17:27 +0000 (UTC) (envelope-from kwm@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 29CE28FC19; Sat, 8 Sep 2012 10:17:27 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q88AHR04063745; Sat, 8 Sep 2012 10:17:27 GMT (envelope-from kwm@freefall.freebsd.org) Received: (from kwm@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q88AHQtE063671; Sat, 8 Sep 2012 10:17:26 GMT (envelope-from kwm) Date: Sat, 8 Sep 2012 10:17:26 GMT Message-Id: <201209081017.q88AHQtE063671@freefall.freebsd.org> To: 9ya139x4@nanoman.ca, kwm@FreeBSD.org, freebsd-multimedia@FreeBSD.org From: kwm@FreeBSD.org Cc: Subject: Re: ports/170483: [patch] Correct multimedia/gstreamer Dependency Declaration X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Sep 2012 10:17:27 -0000 Synopsis: [patch] Correct multimedia/gstreamer Dependency Declaration State-Changed-From-To: open->closed State-Changed-By: kwm State-Changed-When: Sat Sep 8 10:16:46 UTC 2012 State-Changed-Why: Committed thanks! I just tweaked the desc a bit. http://www.freebsd.org/cgi/query-pr.cgi?pr=170483 From owner-freebsd-multimedia@FreeBSD.ORG Sat Sep 8 10:20:07 2012 Return-Path: Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 520DC1065673 for ; Sat, 8 Sep 2012 10:20:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3D0898FC0C for ; Sat, 8 Sep 2012 10:20:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q88AK7fP099071 for ; Sat, 8 Sep 2012 10:20:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q88AK7pS099057; Sat, 8 Sep 2012 10:20:07 GMT (envelope-from gnats) Date: Sat, 8 Sep 2012 10:20:07 GMT Message-Id: <201209081020.q88AK7pS099057@freefall.freebsd.org> To: freebsd-multimedia@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: ports/170483: commit references a PR X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Sep 2012 10:20:07 -0000 The following reply was made to PR ports/170483; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/170483: commit references a PR Date: Sat, 8 Sep 2012 10:17:06 +0000 (UTC) Author: kwm Date: Sat Sep 8 10:16:52 2012 New Revision: 303888 URL: http://svn.freebsd.org/changeset/ports/303888 Log: Convert automatic dependancy to OPTION PR: ports/170483 Submitted by: "A.J. Kehoe IV (Nanoman)" <9ya139x4@nanoman.ca> Modified: head/multimedia/gstreamer/Makefile Modified: head/multimedia/gstreamer/Makefile ============================================================================== --- head/multimedia/gstreamer/Makefile Sat Sep 8 10:10:19 2012 (r303887) +++ head/multimedia/gstreamer/Makefile Sat Sep 8 10:16:52 2012 (r303888) @@ -45,10 +45,13 @@ MAN1= gst-feedback-${GST_VERSION}.1 gst- gst-typefind-${GST_VERSION}.1 gst-xmlinspect-${GST_VERSION}.1 \ gst-xmllaunch-${GST_VERSION}.1 +OPTIONS_DEFINE= LIBCHECK +LIBCHECK_DESC= Unit tests support + .include -.if (exists(${LOCALBASE}/lib/libcheck.a) || defined(WITH_CHECK)) -LIB_DEPENDS+= check.0:${PORTSDIR}/devel/libcheck +.if ${PORT_OPTIONS:MCHECK} +LIB_DEPENDS+= check:${PORTSDIR}/devel/libcheck PLIST_SUB+= CHECK="" .else CONFIGURE_ARGS+=--disable-check _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org" From owner-freebsd-multimedia@FreeBSD.ORG Sat Sep 8 22:20:56 2012 Return-Path: Delivered-To: freebsd-multimedia@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E90C110656EC; Sat, 8 Sep 2012 22:20:55 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BA9798FC0C; Sat, 8 Sep 2012 22:20:55 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q88MKtPQ009346; Sat, 8 Sep 2012 22:20:55 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q88MKtnh009328; Sat, 8 Sep 2012 22:20:55 GMT (envelope-from edwin) Date: Sat, 8 Sep 2012 22:20:55 GMT Message-Id: <201209082220.q88MKtnh009328@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, freebsd-multimedia@FreeBSD.org From: edwin@FreeBSD.org Cc: Subject: Re: ports/171478: [PATCH] multimedia/avidemux2: Fix default options selection X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Sep 2012 22:20:56 -0000 Synopsis: [PATCH] multimedia/avidemux2: Fix default options selection Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-multimedia Responsible-Changed-By: edwin Responsible-Changed-When: Sat Sep 8 22:20:54 UTC 2012 Responsible-Changed-Why: Over to maintainer (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=171478