undefined reference to `crc32_tab' building hammer

Pierre Abbat phma at leaf.dragonflybsd.org
Fri May 29 08:36:39 PDT 2015


I try to rebuild world and get the following. How can I fix it?

phma
---
--- hammer ---
cc -O -pipe  -I/usr/src/sbin/hammer/../../sys -DALIST_NO_DEBUG   -std=gnu99 -
Wmissing-include-dirs -Wsystem-headers -Werror -Wall -Wformat-security -Winit-
self -Wno-pointer-sign -Wextra -Wno-unused-parameter -Wstrict-prototypes -
Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -
Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -
Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls  -o hammer 
hammer.o ondisk.o blockmap.o cache.o misc.o cycle.o cmd_show.o cmd_softprune.o 
cmd_history.o cmd_blockmap.o cmd_reblock.o cmd_rebalance.o cmd_synctid.o 
cmd_stats.o cmd_remote.o cmd_pseudofs.o cmd_snapshot.o cmd_mirror.o 
cmd_cleanup.o cmd_info.o cmd_version.o cmd_volume.o cmd_config.o cmd_recover.o 
cmd_dedup.o cmd_abort.o crc32.o -lm -lutil -lmd -lhammer
--- _SUBDIR_all_jscan ---
--- jfile.o ---
cc  -O -pipe    -std=gnu99 -Wmissing-include-dirs -Wsystem-headers -Werror -
Wall -Wformat-security -Winit-self -Wno-pointer-sign -Wextra -Wno-unused-
parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-
style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -
Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -
Wredundant-decls -c /usr/src/sbin/jscan/jfile.c
--- _SUBDIR_all_hammer ---
crc32.o: In function `crc32':
crc32.c:(.text+0x1f): undefined reference to `crc32_tab'
crc32.o: In function `crc32_ext':
crc32.c:(.text+0x49): undefined reference to `crc32_tab'
--- _SUBDIR_all_iscontrol ---
--- fsm.o ---
--- _SUBDIR_all_hammer ---
*** [hammer] Error code 1

make[4]: stopped in /usr/src/sbin/hammer
1 error

make[4]: stopped in /usr/src/sbin/hammer
--- _SUBDIR_all_iscontrol ---
cc  -O -pipe  -I/usr/src/sbin/iscontrol/../../sys/dev/disk/iscsi/initiator   -
std=gnu99 -Wmissing-include-dirs -Wsystem-headers -Werror -Wall -Wformat-
security -Winit-self -Wno-pointer-sign -Wextra -Wno-unused-parameter -Wstrict-
prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wno-
maybe-uninitialized -Wno-unused-but-set-variable -Wno-unused-but-set-parameter 
-Wno-unused-local-typedefs -Wno-unused-value -c /usr/src/sbin/iscontrol/fsm.c
--- _SUBDIR_all_hammer ---
*** [_SUBDIR_all_hammer] Error code 2

make[3]: stopped in /usr/src/sbin
--- _SUBDIR_all_iscontrol ---
A failure has been detected in another branch of the parallel make

make[4]: stopped in /usr/src/sbin/iscontrol
*** [_SUBDIR_all_iscontrol] Error code 2

make[3]: stopped in /usr/src/sbin
--- _SUBDIR_all_jscan ---
A failure has been detected in another branch of the parallel make

make[4]: stopped in /usr/src/sbin/jscan
*** [_SUBDIR_all_jscan] Error code 2

make[3]: stopped in /usr/src/sbin
3 errors

make[3]: stopped in /usr/src/sbin
*** [_SUBDIR_all_sbin] Error code 2

make[2]: stopped in /usr/src
.CURDIR='/usr/src'
.OBJDIR='/usr/obj/usr/src/world_x86_64/usr/src'
LD_LIBRARY_PATH=''
MACHINE_ARCH='x86_64'
MACHINE='x86_64'
MAKEFILE=''
.TARGETS='all'
.ERROR_TARGET='_SUBDIR_all_sbin'
.MAKE.LEVEL='2'
1 error

make[2]: stopped in /usr/src
.CURDIR='/usr/src'
.OBJDIR='/usr/obj/usr/src/world_x86_64/usr/src'
LD_LIBRARY_PATH=''
MACHINE_ARCH='x86_64'
MACHINE='x86_64'
MAKEFILE=''
.TARGETS='all'
.ERROR_TARGET='_SUBDIR_all_sbin'
.MAKE.LEVEL='2'
*** [everything] Error code 2

make[1]: stopped in /usr/src
.CURDIR='/usr/src'
.OBJDIR='/usr/obj/usr/src'
LD_LIBRARY_PATH=''
MACHINE_ARCH='x86_64'
MACHINE='x86_64'
MAKEFILE=''
.TARGETS='buildworld'
.ERROR_TARGET='everything'
.MAKE.LEVEL='1'
1 error

make[1]: stopped in /usr/src
.CURDIR='/usr/src'
.OBJDIR='/usr/obj/usr/src'
LD_LIBRARY_PATH=''
MACHINE_ARCH='x86_64'
MACHINE='x86_64'
MAKEFILE=''
.TARGETS='buildworld'
.ERROR_TARGET='everything'
.MAKE.LEVEL='1'
*** [buildworld] Error code 2

make: stopped in /usr/src
1 error

make: stopped in /usr/src
-- 
Don't buy a French car in Holland. It may be a citroen.



More information about the Users mailing list