From owner-freebsd-ports@freebsd.org Sat Jul 4 21:15:03 2015 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 74BCE9FC7 for ; Sat, 4 Jul 2015 21:15:03 +0000 (UTC) (envelope-from raivo.hool@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 517491AC3 for ; Sat, 4 Jul 2015 21:15:03 +0000 (UTC) (envelope-from raivo.hool@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 504E29FC6; Sat, 4 Jul 2015 21:15:03 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4FC3F9FC5 for ; Sat, 4 Jul 2015 21:15:03 +0000 (UTC) (envelope-from raivo.hool@gmail.com) Received: from mail-la0-x235.google.com (mail-la0-x235.google.com [IPv6:2a00:1450:4010:c03::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C7E511AC2 for ; Sat, 4 Jul 2015 21:15:02 +0000 (UTC) (envelope-from raivo.hool@gmail.com) Received: by lagx9 with SMTP id x9so117085631lag.1 for ; Sat, 04 Jul 2015 14:15:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version; bh=In1PAvAz6ntr3BK+w4CDpU4iLETDs8RP5i0ZzicCWAU=; b=r17w7pD7X2VbOo5DPNwuUEQv6XhAJQMx4BHfMQyrkg6sL8qbOJkkav3V/9MOXpt/ro oFNBYbAVwI6pymOSvv4L1CMo9tPhZUrcHN4nSncy+VNQhms/nDh37XZy+jPOgU4naOHv QkHDhOZubSZ1eRwJMhzaU0bfdtUru5YtGWoy6kJnngxhR640KNFBBkGJRfcZiibY7FL7 DNnOrQTI+BZqlHm63oLufHUcc1VFVJxBgc1AQiln+aBOjEd1CgqtanmuoY9QberDnZeR XVG3UNdBdafCB7Erd2/N62fzWSHCWEaXMxUn0XD2ld1ROzLws4J/moCI8lOGIP8EHtoo Q3VA== X-Received: by 10.152.30.4 with SMTP id o4mr40642684lah.74.1436044500910; Sat, 04 Jul 2015 14:15:00 -0700 (PDT) Received: from hullu.lehma.com (1146-fecd-60ff-021d-cc01-87d8-07d0-2001.dyn.estpak.ee. [2001:7d0:87d8:cc01:21d:60ff:fecd:1146]) by mx.google.com with ESMTPSA id rg6sm3360100lbb.23.2015.07.04.14.14.59 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 Jul 2015 14:15:00 -0700 (PDT) Received: from igiliikur.lan (Igiliikur.local [192.168.199.65]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: raivo@lehma.com) by hullu.lehma.com (Postfix) with ESMTPSA id 5845C2054 for ; Sun, 5 Jul 2015 00:14:56 +0300 (EEST) From: Raivo Hool Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: building multimedia/ffmpeg results in tons of 'undefined references' Message-Id: Date: Sun, 5 Jul 2015 00:14:54 +0300 To: ports@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\)) X-Mailer: Apple Mail (2.2102) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jul 2015 21:15:03 -0000 FreeBSD 10.1-STABLE from mid-June on a Core2Duo. Building multimedia/ffmpeg invariably fails for me like this: MAN doc/ffprobe.1 MAN doc/ffmpeg-all.1 MAN doc/ffprobe-all.1 MAN doc/ffmpeg-utils.1 libavcodec/libavcodec.so: undefined reference to `ff_dcadsp_init_x86' libavcodec/libavcodec.so: undefined reference to `ff_ttadsp_init_x86' libavcodec/libavcodec.so: undefined reference to `ff_dwt_init_x86' libavcodec/libavcodec.so: undefined reference to `ff_bswapdsp_init_x86' libavcodec/libavcodec.so: undefined reference to `ff_h264dsp_init_x86' libavcodec/libavcodec.so: undefined reference to `ff_h263dsp_init_x86=E2=80= =99 Etc. Needless to say, the functions are nicely present within the files. Curiously enough, it is always multimedia/ffmpeg and never any of the = suffixed ffmpeg ports, such as multimedia/ffmpeg26, which did not used = to build when it was still called multimedia/ffmpeg, but now, having = gained the suffix, builds without an issue. There is no difference = whether I have a make.conf or not. No suffix - build fail. Suffix - no = problemo. Where should I look? I am completely at a loss. I have read through all = the man pages I could think of (ldconfig and ld, to be precise), = wandered in places the former recommended, and found nothing. The same = port builds fine on another FreeBSD machine that I administer. --=20 Raivo