From owner-freebsd-current@freebsd.org Sun Mar 18 19:38:12 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8EE85F4DB04 for ; Sun, 18 Mar 2018 19:38:12 +0000 (UTC) (envelope-from oshogbo.vx@gmail.com) Received: from mail-pf0-x232.google.com (mail-pf0-x232.google.com [IPv6:2607:f8b0:400e:c00::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 11B908307A; Sun, 18 Mar 2018 19:38:12 +0000 (UTC) (envelope-from oshogbo.vx@gmail.com) Received: by mail-pf0-x232.google.com with SMTP id m68so6173319pfm.11; Sun, 18 Mar 2018 12:38:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=Shb26oZ+mtxqVCaHWlk/V5YIh1Y1KeWaR0AGlKfbKPw=; b=vOQU32mHWqmebp8yyf9oZHSul0zevFjNhi2Oyvv16zoAG0nQsZe1MgEVCBJv7Ikdr8 FhwPnQhlxVvntCTD5ug0H208deAKXhdeDagaCDsiKu7XrrBS0pZqyksErJRcNZei8IJN 3Vu4erpicEJek59CDpi1CRPLUQwTGOaRxxR+eAyyv5aW2J/SffBptEo9g7WBTyHHAWgT Lsk+YuYbktELiF3LmQDf34veBhXjBzF638gJscN7whfkaVX+7HBTyCxx1l0nNynFpltI pcqmhCHrZsBo9rT3B1H2iiix2/KhYIAu3uBB8CooHWl8onhUGHU1NlVYCLV09Ps4XSsT kV5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=Shb26oZ+mtxqVCaHWlk/V5YIh1Y1KeWaR0AGlKfbKPw=; b=ZniUy/ZwuniAfbN/rLRf0XKvy2r4Io1uPf8M+QSH2Yxm7oSZI5G0swIWBHFssxHSOy nfoFP1H8jT9zIO5ULd4DxD7jVrXip4FsY10lTWVSeB7VVts6cjmueCnwYIdjiqFz3rXc RFXDiAW12uhEm+Ga1r6a/5XjxGcZKsDbNcPgvPO5yHnDqsILB4Q/52Pb6AkeO1RTdBxf JLFdueLsjNX8vuIsUALiKhHW4mW2sPazoxWrdU0my/VXKLXS8HGV5+KFVseGdbvCHwnJ Wuhpjbht5ZLA9wh03Tqc5U9MZprebD+5nuvc+9JHsU5Ck0HzlTkLSAvMkvrNXXSnQAfA 8FAQ== X-Gm-Message-State: AElRT7Hz/ofAh8q12pic9sauG5PEHIHxRZREgNw1YLhFkR/KTJ+i8VFY i4x80HP8z23K8FtepRgJoajMZqP9mwXZHlCqSnDUuKtQ2UY= X-Google-Smtp-Source: AG47ELv56zW10jbV7ynCfrB69U1cPqWDE7R8c2xpdb+1Z54YA7GRWREiIXen2M9d6Hk3j9jXe0kd7WxEhbKXgbz9oIo= X-Received: by 10.101.66.132 with SMTP id j4mr5091270pgp.47.1521401890906; Sun, 18 Mar 2018 12:38:10 -0700 (PDT) MIME-Version: 1.0 Sender: oshogbo.vx@gmail.com Received: by 10.100.185.4 with HTTP; Sun, 18 Mar 2018 12:38:10 -0700 (PDT) In-Reply-To: <20180318183000.2c6fc352@thor.intern.walstatt.dynvpn.de> References: <20180318183000.2c6fc352@thor.intern.walstatt.dynvpn.de> From: Mariusz Zaborski Date: Sun, 18 Mar 2018 20:38:10 +0100 X-Google-Sender-Auth: 3SjzbnIyXw-N519f7_YczH2lgCg Message-ID: Subject: Re: /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: undefined symbol: main To: "O. Hartmann" Cc: AN , FreeBSD Current , Mark Johnston Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Mar 2018 19:38:12 -0000 I think r331137 fix the problem. Thanks, Mariusz On 18 March 2018 at 18:29, O. Hartmann wrote: > Am Sun, 18 Mar 2018 13:19:08 -0400 (EDT) > AN schrieb: > >> Fyi, I started seeing this error today during buildworld compile. >> >> FreeBSD BSD_12 12.0-CURRENT FreeBSD 12.0-CURRENT #15 r331021: Thu Mar 15 >> 16:30:40 EDT 2018 >> root@BSD_12:/usr/obj/usr/src/amd64.amd64/sys/MYKERNEL amd64 1200060 >> >> # svnlite info >> Path: . >> Working Copy Root Path: /usr/src >> URL: svn://svn.freebsd.org/base/head >> Relative URL: ^/head >> Repository Root: svn://svn.freebsd.org/base >> Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f >> Revision: 331135 >> Node Kind: directory >> Schedule: normal >> Last Changed Author: markj >> Last Changed Rev: 331135 >> Last Changed Date: 2018-03-18 13:03:26 -0400 (Sun, 18 Mar 2018) >> ------------------------------------------------------------------------= ------------- >> >> --- all_subdir_lib/libcasper --- >> --- all_subdir_lib/libcasper/services/cap_sysctl --- >> /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: undefined symbol: ma= in >> >>> referenced by crt1.c:74 (/usr/src/lib/csu/amd64/crt1.c:74) >> >>> /usr/obj/usr/src/amd64.amd64/tmp/usr/lib/crt1.o:(_star= t) >> /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: undefined symbol: >> nvlist_create >> >>> referenced by cap_sysctl.c:64 >> (/usr/src/lib/libcasper/services/cap_sysctl/cap_sysctl.c:64) >> >>> /tmp/cap_sysctl-cfa2f8.o:(cap_sysctlbyname) >> >> /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: undefined symbol: >> nvlist_add_string >> >>> referenced by cap_sysctl.c:65 >> (/usr/src/lib/libcasper/services/cap_sysctl/cap_sysctl.c:65) >> >>> /tmp/cap_sysctl-cfa2f8.o:(cap_sysctlbyname) >> >> /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: undefined symbol: >> nvlist_add_string >> >>> referenced by cap_sysctl.c:66 >> (/usr/src/lib/libcasper/services/cap_sysctl/cap_sysctl.c:66) >> >>> /tmp/cap_sysctl-cfa2f8.o:(cap_sysctlbyname) >> >> /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: undefined symbol: >> nvlist_add_number >> >>> referenced by cap_sysctl.c:67 >> (/usr/src/lib/libcasper/services/cap_sysctl/cap_sysctl.c:67) >> >>> /tmp/cap_sysctl-cfa2f8.o:(cap_sysctlbyname) >> >> /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: undefined symbol: >> nvlist_add_null >> >>> referenced by cap_sysctl.c:69 >> (/usr/src/lib/libcasper/services/cap_sysctl/cap_sysctl.c:69) >> >>> /tmp/cap_sysctl-cfa2f8.o:(cap_sysctlbyname) >> >> /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: undefined symbol: >> nvlist_add_number >> >>> referenced by cap_sysctl.c:71 >> (/usr/src/lib/libcasper/services/cap_sysctl/cap_sysctl.c:71) >> >>> /tmp/cap_sysctl-cfa2f8.o:(cap_sysctlbyname) >> >> /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: undefined symbol: >> nvlist_add_binary >> >>> referenced by cap_sysctl.c:73 >> (/usr/src/lib/libcasper/services/cap_sysctl/cap_sysctl.c:73) >> >>> /tmp/cap_sysctl-cfa2f8.o:(cap_sysctlbyname) >> >> /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: undefined symbol: >> cap_xfer_nvlist >> >>> referenced by cap_sysctl.c:74 >> (/usr/src/lib/libcasper/services/cap_sysctl/cap_sysctl.c:74) >> >>> /tmp/cap_sysctl-cfa2f8.o:(cap_sysctlbyname) >> >> /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: undefined symbol: >> nvlist_get_number >> >>> referenced by cap_sysctl.c:77 >> (/usr/src/lib/libcasper/services/cap_sysctl/cap_sysctl.c:77) >> >>> /tmp/cap_sysctl-cfa2f8.o:(cap_sysctlbyname) >> >> /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: undefined symbol: >> nvlist_get_number >> >>> referenced by cap_sysctl.c:78 >> (/usr/src/lib/libcasper/services/cap_sysctl/cap_sysctl.c:78) >> >>> /tmp/cap_sysctl-cfa2f8.o:(cap_sysctlbyname) >> >> /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: undefined symbol: >> nvlist_destroy >> >>> referenced by cap_sysctl.c:79 >> (/usr/src/lib/libcasper/services/cap_sysctl/cap_sysctl.c:79) >> >>> /tmp/cap_sysctl-cfa2f8.o:(cap_sysctlbyname) >> >> /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: undefined symbol: >> nvlist_get_number >> >>> referenced by cap_sysctl.c:84 >> (/usr/src/lib/libcasper/services/cap_sysctl/cap_sysctl.c:84) >> >>> /tmp/cap_sysctl-cfa2f8.o:(cap_sysctlbyname) >> >> /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: undefined symbol: >> nvlist_get_binary >> >>> referenced by cap_sysctl.c:86 >> (/usr/src/lib/libcasper/services/cap_sysctl/cap_sysctl.c:86) >> >>> /tmp/cap_sysctl-cfa2f8.o:(cap_sysctlbyname) >> >> /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: undefined symbol: >> nvlist_destroy >> >>> referenced by cap_sysctl.c:91 >> (/usr/src/lib/libcasper/services/cap_sysctl/cap_sysctl.c:91) >> >>> /tmp/cap_sysctl-cfa2f8.o:(cap_sysctlbyname) >> >> /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: undefined symbol: >> service_register >> >>> referenced by cap_sysctl.c:295 >> (/usr/src/lib/libcasper/services/cap_sysctl/cap_sysctl.c:295) >> >>> /tmp/cap_sysctl-cfa2f8.o:(init_casper_service) >> >> /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: undefined symbol: >> nvlist_next >> >>> referenced by cap_sysctl.c:209 >> (/usr/src/lib/libcasper/services/cap_sysctl/cap_sysctl.c:209) >> >>> /tmp/cap_sysctl-cfa2f8.o:(sysctl_limit) >> >> /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: undefined symbol: >> nvlist_get_number >> >>> referenced by cap_sysctl.c:212 >> (/usr/src/lib/libcasper/services/cap_sysctl/cap_sysctl.c:212) >> >>> /tmp/cap_sysctl-cfa2f8.o:(sysctl_limit) >> >> /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: undefined symbol: >> nvlist_next >> >>> referenced by cap_sysctl.c:209 >> (/usr/src/lib/libcasper/services/cap_sysctl/cap_sysctl.c:209) >> >>> /tmp/cap_sysctl-cfa2f8.o:(sysctl_limit) >> >> /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: undefined symbol: >> nvlist_error >> >>> referenced by cap_sysctl.c:110 >> (/usr/src/lib/libcasper/services/cap_sysctl/cap_sysctl.c:110) >> >>> /tmp/cap_sysctl-cfa2f8.o:(sysctl_command) >> >> /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: error: too many errors >> emitted, stopping now (use -error-limit=3D0 to see all errors) >> --- all_subdir_lib/libpam --- >> --- pam_setcred.3.gz --- >> gzip -cn /usr/src/contrib/openpam/doc/man/pam_setcred.3 > pam_setcred.3.= gz >> --- all_subdir_lib/ncurses --- >> --- all_subdir_lib/ncurses/form --- >> --- fld_dup.po --- >> cc -target x86_64-unknown-freebsd12.0 >> --sysroot=3D/usr/obj/usr/src/amd64.amd64/tmp >> -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -pg -O2 -pipe -I. >> -I/usr/obj/usr/src/amd64.amd64/lib/ncurses/ncurses >> -I/usr/src/lib/ncurses/ncurses -I/usr/src/lib/ncurses/ncurses >> -I/usr/src/contrib/ncurses/include -I/usr/src/contrib/ncurses/ncurses >> -Wall -DNDEBUG -DHAVE_CONFIG_H -I/usr/src/contrib/ncurses/form >> -I/usr/src/contrib/ncurses/menu -g -MD -MF.depend.fld_dup.po >> -MTfld_dup.po -std=3Dgnu99 -fstack-protector-strong -Wsystem-headers -We= rror >> -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes >> -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sig= n >> -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable >> -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality >> -Wno-unused-function -Wno-enum-conversion -Wno-unused-local-typedef >> -Wno-address-of-packed-member -Qunused-arguments -c >> /usr/src/contrib/ncurses/form/fld_dup.c -o fld_dup.po >> --- all_subdir_lib/libpam --- >> --- pam_setenv.3.gz --- >> --- all_subdir_lib/libcasper --- >> cc: error: linker command failed with exit code 1 (use -v to see >> invocation) >> *** [cap_sysctl] Error code 1 >> >> make[6]: stopped in /usr/src/lib/libcasper/services/cap_sysctl >> 1 error >> >> make[6]: stopped in /usr/src/lib/libcasper/services/cap_sysctl >> *** [all_subdir_lib/libcasper/services/cap_sysctl] Error code 2 >> >> make[5]: stopped in /usr/src/lib/libcasper/services >> 1 error >> >> make[5]: stopped in /usr/src/lib/libcasper/services >> --- all_subdir_lib/libpam --- >> gzip -cn /usr/src/contrib/openpam/doc/man/pam_setenv.3 > pam_setenv.3.gz >> --- all_subdir_lib/libcasper --- >> *** [all_subdir_lib/libcasper/services] Error code 2 >> >> make[4]: stopped in /usr/src/lib/libcasper >> 1 error >> >> make[4]: stopped in /usr/src/lib/libcasper >> --- all_subdir_lib/libpam --- >> A failure has been detected in another branch of the parallel make >> --- all_subdir_lib/libcasper --- >> *** [all_subdir_lib/libcasper] Error code 2 >> >> make[3]: stopped in /usr/src/lib >> --- all_subdir_lib/libpam --- >> >> make[5]: stopped in /usr/src/lib/libpam/libpam >> *** [all_subdir_lib/libpam/libpam] Error code 2 >> >> make[4]: stopped in /usr/src/lib/libpam >> 1 error >> >> make[4]: stopped in /usr/src/lib/libpam >> *** [all_subdir_lib/libpam] Error code 2 >> >> make[3]: stopped in /usr/src/lib >> --- all_subdir_lib/ncurses --- >> A failure has been detected in another branch of the parallel make >> >> make[5]: stopped in /usr/src/lib/ncurses/form >> *** [all_subdir_lib/ncurses/form] Error code 2 >> >> make[4]: stopped in /usr/src/lib/ncurses >> --- all_subdir_lib/libarchive --- >> A failure has been detected in another branch of the parallel make >> >> make[4]: stopped in /usr/src/lib/libarchive >> *** [all_subdir_lib/libarchive] Error code 2 >> >> make[3]: stopped in /usr/src/lib >> --- all_subdir_lib/ncurses --- >> --- all_subdir_lib/ncurses/menu --- >> A failure has been detected in another branch of the parallel make >> >> make[5]: stopped in /usr/src/lib/ncurses/menu >> *** [all_subdir_lib/ncurses/menu] Error code 2 >> >> make[4]: stopped in /usr/src/lib/ncurses >> --- all_subdir_lib/ncurses/ncursesw --- >> A failure has been detected in another branch of the parallel make >> >> make[5]: stopped in /usr/src/lib/ncurses/ncursesw >> *** [all_subdir_lib/ncurses/ncursesw] Error code 2 >> >> make[4]: stopped in /usr/src/lib/ncurses >> 3 errors >> >> make[4]: stopped in /usr/src/lib/ncurses >> *** [all_subdir_lib/ncurses] Error code 2 >> >> make[3]: stopped in /usr/src/lib >> --- all_subdir_lib/libprocstat --- >> A failure has been detected in another branch of the parallel make >> >> make[4]: stopped in /usr/src/lib/libprocstat >> *** [all_subdir_lib/libprocstat] Error code 2 >> >> make[3]: stopped in /usr/src/lib >> --- all_subdir_lib/libunbound --- >> A failure has been detected in another branch of the parallel make >> >> make[4]: stopped in /usr/src/lib/libunbound >> *** [all_subdir_lib/libunbound] Error code 2 >> >> make[3]: stopped in /usr/src/lib >> --- all_subdir_lib/atf --- >> A failure has been detected in another branch of the parallel make >> >> make[5]: stopped in /usr/src/lib/atf/libatf-c++ >> *** [all_subdir_lib/atf/libatf-c++] Error code 2 >> >> make[4]: stopped in /usr/src/lib/atf >> 1 error >> >> make[4]: stopped in /usr/src/lib/atf >> *** [all_subdir_lib/atf] Error code 2 >> >> make[3]: stopped in /usr/src/lib >> --- all_subdir_lib/libsqlite3 --- >> A failure has been detected in another branch of the parallel make >> >> make[4]: stopped in /usr/src/lib/libsqlite3 >> *** [all_subdir_lib/libsqlite3] Error code 2 >> >> make[3]: stopped in /usr/src/lib >> 8 errors >> >> make[3]: stopped in /usr/src/lib >> *** [all_subdir_lib] Error code 2 >> >> make[2]: stopped in /usr/src >> 1 error >> >> make[2]: stopped in /usr/src >> *** [everything] Error code 2 >> >> make[1]: stopped in /usr/src >> 1 error >> >> make[1]: stopped in /usr/src >> *** [buildworld] Error code 2 >> >> make: stopped in /usr/src >> 1 error >> >> make: stopped in /usr/src >> >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.or= g" > > me, too here. > > -- > O. Hartmann > > Ich widerspreche der Nutzung oder =C3=9Cbermittlung meiner Daten f=C3=BCr > Werbezwecke oder f=C3=BCr die Markt- oder Meinungsforschung (=C2=A7 28 Ab= s. 4 BDSG).