Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Dec 2006 11:52:19 -0800
From:      David Wolfskill <david@catwhisker.org>
To:        current@freebsd.org
Cc:        piso@freebsd.org
Subject:   Can't link kernel after recent libalias commits?
Message-ID:  <20061230195219.GD64111@bunrab.catwhisker.org>

next in thread | raw e-mail | index | archive | help

--k4f25fnPtRuIRUb3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Running:
g1-18(7.0-C)[1] uname -a
FreeBSD g1-18.catwhisker.org. 7.0-CURRENT FreeBSD 7.0-CURRENT #279: Fri Dec=
 29 09:33:05 PST 2006     root@g1-18.catwhisker.org.:/common/S4/obj/usr/src=
/sys/LAPTOP_30W  i386
g1-18(7.0-C)[2]=20

Recent updates to source tree were:
g1-18(7.0-C)[2] tail /var/log/cvsup-history.log
CVSup begin from cvsup4.freebsd.org at Thu Dec 28 03:47:03 PST 2006
CVSup ended from cvsup4.freebsd.org at Thu Dec 28 03:51:51 PST 2006
CVSup begin from cvsup4.freebsd.org at Fri Dec 29 01:17:03 PST 2006
CVSup ended from cvsup4.freebsd.org at Fri Dec 29 01:22:30 PST 2006
CVSup begin from cvsup4.freebsd.org at Fri Dec 29 03:47:03 PST 2006
CVSup ended from cvsup4.freebsd.org at Fri Dec 29 03:52:10 PST 2006
CVSup begin from cvsup4.freebsd.org at Sat Dec 30 01:17:03 PST 2006
CVSup ended from cvsup4.freebsd.org at Sat Dec 30 01:22:58 PST 2006
CVSup begin from cvsup4.freebsd.org at Sat Dec 30 03:47:03 PST 2006
CVSup ended from cvsup4.freebsd.org at Sat Dec 30 03:52:40 PST 2006
g1-18(7.0-C)[3]=20

I had done the "make buildworld" today without incident; trying to link
the kernel (after building it, of course), I see:

>>> Kernel build for LAPTOP_30W started on Sat Dec 30 11:07:13 PST 2006
=2E..
>>> stage 3.2: building everything
=2E..
linking kernel.debug
ip_fw2.o(.text+0x2a54): In function `ifaddr_change':
/usr/src/sys/netinet/ip_fw2.c:2059: undefined reference to `LibAliasSetAddr=
ess'
ip_fw2.o(.text+0x2ba9): In function `del_redir_spool_cfg':
/usr/src/sys/netinet/ip_fw2.c:2125: undefined reference to `LibAliasRedirec=
tDelete'
ip_fw2.o(.text+0x2d3c): In function `add_redir_spool_cfg':
/usr/src/sys/netinet/ip_fw2.c:2160: undefined reference to `LibAliasRedirec=
tAddr'
ip_fw2.o(.text+0x2dbf): In function `add_redir_spool_cfg':
=2E/machine/endian.h:151: undefined reference to `LibAliasRedirectPort'
ip_fw2.o(.text+0x2dff): In function `add_redir_spool_cfg':
/usr/src/sys/netinet/ip_fw2.c:2180: undefined reference to `LibAliasRedirec=
tProto'
ip_fw2.o(.text+0x2e92): In function `add_redir_spool_cfg':
=2E/machine/endian.h:151: undefined reference to `LibAliasAddServer'
ip_fw2.o(.text+0x511e): In function `ipfw_chk':
/usr/src/sys/netinet/ip_fw2.c:3460: undefined reference to `m_megapullup'
ip_fw2.o(.text+0x5181):/usr/src/sys/netinet/ip_fw2.c:3524: undefined refere=
nce to `LibAliasIn'
ip_fw2.o(.text+0x5196):/usr/src/sys/netinet/ip_fw2.c:3527: undefined refere=
nce to `LibAliasOut'
ip_fw2.o(.text+0x656b): In function `ipfw_ctl':
/usr/src/sys/netinet/ip_fw2.c:4583: undefined reference to `LibAliasInit'
ip_fw2.o(.text+0x6679):/usr/src/sys/netinet/ip_fw2.c:4610: undefined refere=
nce to `LibAliasSetMode'
ip_fw2.o(.text+0x6684):/usr/src/sys/netinet/ip_fw2.c:4611: undefined refere=
nce to `LibAliasSetAddress'
ip_fw2.o(.text+0x6872):/usr/src/sys/netinet/ip_fw2.c:4645: undefined refere=
nce to `LibAliasUninit'
ip_fw2.o(.text+0x6fca): In function `ipfw_destroy':
/usr/src/sys/netinet/ip_fw2.c:4930: undefined reference to `LibAliasUninit'
*** Error code 1

Stop in /common/S4/obj/usr/src/sys/LAPTOP_30W.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
g1-18(7.0-C)[2]=20

The affected files all seem to have been last modified a little over
21 hours ago, so I'd expect that if I got any of those changes, I should
have all of them (from the commit in question).

Peace,
david
--=20
David H. Wolfskill				david@catwhisker.org
Believe SORBS at your own risk: 63.193.123.122 has been static since Aug 19=
99.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

--k4f25fnPtRuIRUb3
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iEYEARECAAYFAkWWw3EACgkQmprOCmdXAD3cAQCfYqKhhY8JAgJQHU+/hgu8dGJE
mE0An39Qjaf17iaS3xN2fNkI3gc5eCIj
=Z2Cf
-----END PGP SIGNATURE-----

--k4f25fnPtRuIRUb3--



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