From owner-freebsd-pkg@FreeBSD.ORG Thu Sep 25 20:33:53 2014 Return-Path: Delivered-To: pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9CB8F654; Thu, 25 Sep 2014 20:33:53 +0000 (UTC) Received: from mail-ob0-x229.google.com (mail-ob0-x229.google.com [IPv6:2607:f8b0:4003:c01::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5BDB1C36; Thu, 25 Sep 2014 20:33:53 +0000 (UTC) Received: by mail-ob0-f169.google.com with SMTP id uy5so6126674obc.14 for ; Thu, 25 Sep 2014 13:33: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:date:message-id:subject:from:to :cc:content-type; bh=KxOTzrOWYlqjzT4fgFOYqs7hzQivplLjpxtB6AGuyv4=; b=emiTe2/v1+v9l823X7nYLxf/Kk3Vm/cmtV2BquQoTWDGGhtSluP7xEhutWA0GGdg8H ODyrIdi0sbSmb4FLIX5EwH0SwJSBMKonu32YMqIfKEK3ElGkdYDUlznCKRlqGYrMHOAN mWgkI2tbcNkPXTiZ9a/9KjvGlnS0/M+zUdsgOZRYWN65zeK2hQgRKV4ZRQ2mlRWtrMAD +PG9Ek1twmJzjkupRpGdPK+qIg5lQFBtflL7JyVHKi/ueTYI5dUF47b9im5N2c6H9l0c 8o94Kf+UNiF95AxsBJ21XElU1sLHB6ztBpPT7KTukAtWR78cmBl3dXeow6gaCWPcZtFU yBqg== MIME-Version: 1.0 X-Received: by 10.182.197.165 with SMTP id iv5mr16339213obc.55.1411677232694; Thu, 25 Sep 2014 13:33:52 -0700 (PDT) Received: by 10.202.78.66 with HTTP; Thu, 25 Sep 2014 13:33:52 -0700 (PDT) In-Reply-To: <54247A94.6090901@dat.pl> References: <54233771.4090803@dat.pl> <057b903c-628f-4843-b7de-c0f7cb9750b4@email.android.com> <5424425A.9040709@FreeBSD.org> <54247A94.6090901@dat.pl> Date: Thu, 25 Sep 2014 17:33:52 -0300 Message-ID: Subject: Re: Can't compile pkg on mips From: Thiago Farina To: Maciej Milewski Content-Type: text/plain; charset=UTF-8 Cc: "pkg@FreeBSD.org" , Bryan Drewery X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2014 20:33:53 -0000 On Thu, Sep 25, 2014 at 5:27 PM, Maciej Milewski wrote: >> What FreeBSD version is this? >> > FreeBSD RSPRO 10.0-CURRENT FreeBSD 10.0-CURRENT #9 r253582+713ffac > > after manual edit src/Makefile and removing -Werror compilation went few > lines further: > ===> Building for pkg-1.3.8 > /usr/bin/make all-recursive > Making all in external > /usr/bin/make all-am > Making all in libpkg > Making all in repo > Making all in binary > Making all in . > Making all in src > CCLD pkg > pkg-info.o: In function `exec_info': > info.c:(.text+0x5ac): undefined reference to `cap_rights_init' > pkg-ssh.o: In function `exec_ssh': > ssh.c:(.text+0x160): undefined reference to `cap_rights_init' > pkg-updating.o: In function `exec_updating': > updating.c:(.text+0x334): undefined reference to `cap_rights_init' > *** [pkg] Error code 1 > Can you do `grep -Rn cap_rights_limit . `, to figure out where "cap_rights_limit" is? It is missing either a ".a" or ".o" where this symbol is, hence it isn't linking. Not your fault though. -- Thiago Farina