[Bug 201451] randomdev.o undefined references when running make buildkernel

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jul 25 05:26:42 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201451

Tony Narlock <tony at git-pull.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tony at git-pull.com

--- Comment #1 from Tony Narlock <tony at git-pull.com> ---
(note, I am building 11-CURRENT from 10.1-RELEASE)

# Revision: 285868

$ clang -v
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
Target: x86_64-unknown-freebsd10.1
Thread model: posix
Selected GCC installation: 

$ freebsd-version -ku; uname -apKU                    
10.1-RELEASE-p14
10.1-RELEASE-p14
FreeBSD z600 10.1-RELEASE-p14 FreeBSD 10.1-RELEASE-p14 #14: Tue Jul 14 14:26:13
CDT 2015     root at z600:/usr/obj/usr/src/sys/MYKERNEL  amd64 amd64 1001000
1001000

# make buildkernel

<snip>

--------------------------------------------------------------
>>> stage 3.2: building everything
--------------------------------------------------------------
cd /usr/obj/usr/src/sys/GENERIC; MAKEOBJDIRPREFIX=/usr/obj  MACHINE_ARCH=amd64 
MACHINE=amd64  CPUTYPE= GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin 
GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font 
GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac  _LDSCRIPTROOT= 
VERSION="FreeBSD 11.0-CURRENT amd64 1100077"  INSTALL="sh
/usr/src/tools/install.sh" 
PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/bin:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin
CC="cc " CXX="c++  "  DEPFLAGS=""  CPP="cpp "  AS="as" AR="ar" LD="ld" NM=nm 
OBJDUMP=objdump OBJCOPY="objcopy"  RANLIB=ranlib STRINGS=  SIZE="size" make  -D
NO_CLEAN -m /usr/src/share/mk  KERNEL=kernel all -DNO_MODULES_OBJ
linking kernel.debug
randomdev.o: In function `read_random_uio':
/usr/src/sys/dev/random/randomdev.c:170: undefined reference to
`random_alg_context'
/usr/src/sys/dev/random/randomdev.c:174: undefined reference to
`random_alg_context'
/usr/src/sys/dev/random/randomdev.c:180: undefined reference to
`random_alg_context'
/usr/src/sys/dev/random/randomdev.c:185: undefined reference to
`random_alg_context'
/usr/src/sys/dev/random/randomdev.c:206: undefined reference to
`random_alg_context'
randomdev.o:/usr/src/sys/dev/random/randomdev.c:233: more undefined references
to `random_alg_context' follow
randomdev.o: In function `random_sources_feed':
/usr/src/sys/dev/random/randomdev.c:390: undefined reference to
`random_harvest_direct'
/usr/src/sys/dev/random/randomdev.c:387: undefined reference to
`random_alg_context'
randomdev.o: In function `randomdev_write':
/usr/src/sys/dev/random/randomdev.c:270: undefined reference to
`random_alg_context'
/usr/src/sys/dev/random/randomdev.c:270: undefined reference to
`random_alg_context'
randomdev.o: In function `randomdev_poll':
/usr/src/sys/dev/random/randomdev.c:286: undefined reference to
`random_alg_context'
randomdev.o: In function `random_alg_context_ra_deinit_alg':
/usr/src/sys/dev/random/randomdev.c:138: undefined reference to
`random_alg_context'
randomdev.o:/usr/src/sys/dev/random/randomdev.c:131: more undefined references
to `random_alg_context' follow
scmouse.o: In function `sc_mouse_ioctl':
/usr/src/sys/dev/syscons/scmouse.c:669: undefined reference to
`random_harvest_queue'
syscons.o: In function `scgetc':
/usr/src/sys/dev/syscons/syscons.c:3414: undefined reference to
`random_harvest_queue'
vt_core.o: In function `vt_processkey':
/usr/src/sys/dev/vt/vt_core.c:778: undefined reference to
`random_harvest_queue'
vt_sysmouse.o: In function `sysmouse_process_event':
/usr/src/sys/dev/vt/vt_sysmouse.c:142: undefined reference to
`random_harvest_queue'
kern_intr.o: In function `swi_sched':
/usr/src/sys/kern/kern_intr.c:1149: undefined reference to
`random_harvest_queue'
kern_intr.o:/usr/src/sys/kern/kern_intr.c:897: more undefined references to
`random_harvest_queue' follow
subr_bus.o: In function `device_attach':
/usr/src/sys/kern/subr_bus.c:2887: undefined reference to
`random_harvest_direct'
if_ethersubr.o: In function `ether_input_internal':
/usr/src/sys/net/if_ethersubr.c:429: undefined reference to
`random_harvest_queue'
if_tun.o: In function `tunwrite':
/usr/src/sys/net/if_tun.c:909: undefined reference to `random_harvest_queue'
ffs_inode.o: In function `ffs_update':
/usr/src/sys/ufs/ffs/ffs_inode.c:156: undefined reference to
`random_harvest_queue'
uma_core.o: In function `uma_zalloc_arg':
/usr/src/sys/vm/uma_core.c:2139: undefined reference to `random_harvest_fast'
uma_core.o: In function `uma_zfree_arg':
/usr/src/sys/vm/uma_core.c:2681: undefined reference to `random_harvest_fast'
*** Error code 1

Stop.
make[2]: stopped in /usr/obj/usr/src/sys/GENERIC
*** Error code 1

Stop.
make[1]: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list