Stefan Esser wrote: > Am 11.10.18 um 18:20 schrieb Julian H. Stacey: > >> On Thu, Oct 11, 2018 at 05:54:08PM +0200, Julian H. Stacey wrote: > >>> .... > >>> 3_sxnet.pico v3_tlsf.pico v3_utl.pico v3err.pico | tsort -q` -lpthread > >>> /usr/bin/ld: error: unable to find library -lpthread > >>> cc: error: linker command failed with exit code 1 (use -v to see invocati= > >> on) > >>> *** Error code 1 > >>> =20 > >>> Stop. > >>> make[4]: stopped in /usr/src/secure/lib/libcrypto > >>> =20 > >>> Yes I'm current: > >>> .ctm_status src-cur 13733 > >>> .svn_revision 339303 > >>> .... > >> > >> I had no issues this morning performing a src-based update from > >> head/amd64 _at_r339278 to r339303 -- either on my laptop or my build > >> machine. > > > > Hi David, > > Then it seems this one is hopefuly my local problem then, > > so I'll revert to vanilla r339303 & retry. Thanks. > > It worked for me when I started with a clean /usr/obj. > > You should also delete old files: > > cd /usr/src > make delete-old > make delete-old-libs Thanks Stefan, I just ran that. It deleted lots of stuff. & I'd only run it 2 days ago. I should have run it just before buildworld though. It's not suggested in the top of https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html just at base of page. I also tossed in ldconfig -R Maybe many current people already use a src.conf with NEED_MAKE_UPGRADE=YES I must read Makefile[.inc1] more, but hacked a temporarily patch *** Makefile.pre_jhs Thu Oct 11 20:39:25 2018 --- Makefile Thu Oct 11 21:07:50 2018 *************** *** 419,428 **** # Perform a few tests to determine if the installed tools are adequate # for building the world. # ! upgrade_checks: .PHONY .if defined(NEED_MAKE_UPGRADE) _at_${_+_}(cd ${.CURDIR} && ${MAKE} ${WANT_MAKE:S,^f,,}) .endif # # Upgrade make(1) to the current version using the installed --- 419,434 ---- # Perform a few tests to determine if the installed tools are adequate # for building the world. # ! upgrade_checks: .PHONY suggest_delete_old .if defined(NEED_MAKE_UPGRADE) _at_${_+_}(cd ${.CURDIR} && ${MAKE} ${WANT_MAKE:S,^f,,}) .endif + + suggest_delete_old: + _at_echo "If buildworld breaks, first try:" + _at_echo "make delete-old" + _at_echo "make delete-old-libs" + _at_echo "ldconfig -R" # # Upgrade make(1) to the current version using the installed Cheers, Julian -- Julian Stacey, Computer Consultant, Systems Engineer, BSD Linux Unix, Munich Brexit: 3,700,000 stolen votes in 1st referendum inc. 700,000 from Brits in EU Campaign lies & criminal funding, economy & pound down: New referendum needed. http://exitbrexit.uk https://www.peoples-vote.uk/petitionReceived on Thu Oct 11 2018 - 17:10:51 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:18 UTC