Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jul 2014 07:28:32 +0400
From:      Andrey Chernov <ache@freebsd.org>
To:        Baptiste Daroussin <bapt@FreeBSD.org>, src-committers@freebsd.org,  svn-src-all@freebsd.org, svn-src-stable@freebsd.org,  svn-src-stable-10@freebsd.org
Subject:   Re: svn commit: r268896 - in stable/10: contrib/libucl contrib/libucl/cmake contrib/libucl/doc contrib/libucl/include contrib/libucl/src contrib/libucl/tests contrib/libucl/tests/basic contrib/libucl/t...
Message-ID:  <53CB3760.5050008@freebsd.org>
In-Reply-To: <201407192344.s6JNiwhg052804@svn.freebsd.org>
References:  <201407192344.s6JNiwhg052804@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 20.07.2014 3:44, Baptiste Daroussin wrote:
>   Adapt pkg(7) to the new libucl API

There is no -lm added, as result:

cc -O2 -pipe -march=core2 -I/usr/src/usr.sbin/pkg/../../contrib/libucl/include -std=gnu99 -Qunused-arguments  -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wmissing-variable-declarations -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable  -L/usr/lib/private -rpath /usr/lib/private -o pkg pkg.o dns_utils.o config.o -larchive -lelf -lfetch -lucl -lsbuf -lssl -lcrypto
/usr/lib/private/libucl.so: undefined reference to `remainder'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make: stopped in /usr/src/usr.sbin/pkg

-- 
http://ache.vniz.net/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53CB3760.5050008>