Skip to content

Commit

Permalink
lib/Kconfig: ZLIB_DEFLATE must select BITREVERSE
Browse files Browse the repository at this point in the history
lib/built-in.o: In function `__bitrev32':
deftree.c:(.text+0x1e799): undefined reference to `byte_rev_table'
deftree.c:(.text+0x1e7a0): undefined reference to `byte_rev_table'
deftree.c:(.text+0x1e7b4): undefined reference to `byte_rev_table'
deftree.c:(.text+0x1e7c1): undefined reference to `byte_rev_table'

Anything which uses bitrevX() has to select BITREVERSE, to grab
lib/bitrev.o.

Reported-by: Jim Davis <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
akpm00 authored and torvalds committed Oct 16, 2015
1 parent 0f90cc6 commit 1fd4e5c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ config ZLIB_INFLATE

config ZLIB_DEFLATE
tristate
select BITREVERSE

config LZO_COMPRESS
tristate
Expand Down

0 comments on commit 1fd4e5c

Please sign in to comment.