Can't compile pkg on mips

Thiago Farina tfransosi at gmail.com
Thu Sep 25 20:33:53 UTC 2014


On Thu, Sep 25, 2014 at 5:27 PM, Maciej Milewski <milu at dat.pl> 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


More information about the freebsd-pkg mailing list