Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Nov 2015 16:36:32 -0500 (EST)
From:      Daniel Eischen <eischen@vigrid.com>
To:        current@freebsd.org
Subject:   Re: Build failure, undefined reference to __mq_oshandle 
Message-ID:  <Pine.GSO.4.64.1511271634290.12007@sea.ntplx.net>
In-Reply-To: <Pine.GSO.4.64.1511271432140.11500@sea.ntplx.net>
References:  <Pine.GSO.4.64.1511271432140.11500@sea.ntplx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 27 Nov 2015, Daniel Eischen wrote:

> $ uname -a
> FreeBSD vega 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r277320: Mon Jan 19 
> 09:02:50 EST 2015 
> deischen@vega:/usr/FreeBSD/svn/obj/usr/FreeBSD/svn/src/sys/vega  amd64
>
> Upgrading to today's current, 'rm -rf /usr/obj/*; make -j8 buildworld'
> fails here:
>
> ===> lib/libc/tests/gen/execve (buildconfig)
> --- all_subdir_tests ---
> --- all_subdir_mqueue ---
> mqtest3.o: In function `main':
> /usr/FreeBSD/svn/src/tests/sys/mqueue/mqtest3.c:(.text+0x139): undefined 
> reference to `__mq_oshandle'
> /usr/FreeBSD/svn/src/tests/sys/mqueue/mqtest3.c:(.text+0x14c): undefined 
> reference to `__mq_oshandle'
> /usr/FreeBSD/svn/src/tests/sys/mqueue/mqtest3.c:(.text+0x16c): undefined 
> reference to `__mq_oshandle'
> /usr/FreeBSD/svn/src/tests/sys/mqueue/mqtest3.c:(.text+0x3e6): undefined 
> reference to `__mq_oshandle'
> /usr/FreeBSD/svn/src/tests/sys/mqueue/mqtest3.c:(.text+0x3f9): undefined 
> reference to `__mq_oshandle'
> mqtest3.o:/usr/FreeBSD/svn/src/tests/sys/mqueue/mqtest3.c:(.text+0x40f): more 
> undefined references to `__mq_oshandle' follow
> cc: error: linker command failed with exit code 1 (use -v to see invocation)
>
> Going to try make [-j1], next, but anyone come across this?

Still fails.

Why do the tests in tests/sys/mqueue/ try to use non-public APIs?

-- 
DE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.64.1511271634290.12007>