Date: Mon, 28 Jul 2008 09:19:23 -0400 (EDT) From: Daniel Eischen <deischen@freebsd.org> To: Unga <unga888@yahoo.com> Cc: freebsd-stable@freebsd.org Subject: Re: undefined reference to SYS_cpuset Message-ID: <Pine.GSO.4.64.0807280918480.11936@sea.ntplx.net> In-Reply-To: <757320.79120.qm@web57014.mail.re3.yahoo.com> References: <757320.79120.qm@web57014.mail.re3.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 28 Jul 2008, Unga wrote: > Hi all > > Today (28th July) I upgraded the FreeBSD sources (/usr/src) using > cvsup and when try to compile a test C program I get following: > > echo 'main(){}' > dummy.c > cc dummy.c -v -Wl,--verbose > > /usr/lib/libc.so: undefined reference to `SYS_cpuset_getaffinity' > /usr/lib/libc.so: undefined reference to `SYS_cpuset' > /usr/lib/libc.so: undefined reference to `SYS_cpuset_setaffinity' > /usr/lib/libc.so: undefined reference to `SYS_cpuset_getid' > /usr/lib/libc.so: undefined reference to `SYS_cpuset_setid' > /usr/lib/libc.so: undefined reference to `SYS_setfib' > collect2: ld returned 1 exit status > > I can see in logs following programs compiled without any error: > cpuset_getaffinity.S > cpuset.S > cpuset_setaffinity.S > cpuset_getid.S > cpuset_setid.S > setfib.S > > What's gone wrong now? Am I in the middle of a FreeBSD update? or have > I made some mistake? or multiple routing tables update on 20080724 > broken something? Any ideas? Did you build and install the kernel first? -- DE
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.64.0807280918480.11936>