Hi,
I'm trying to compile elf-toolchain on Alpine Linux using bmake and clang,
and I get this error : "ld: error: zlib is not available". Which is weird
in many ways, first of all it should be complaining about -lz, on the other
hand I have installed zlib-dev. Also I'm using lld as linker.

Full log:
===> common
/var/pkg/ress/ress-devel-ext/elf-toolchain/src/elf-toolchain/common/native-elf-format
> native-elf-format.h || rm native-elf-format.h
===> libelf
cc -pipe -g    -MD -MF elf.d -MT elf.o -I.
-I/var/pkg/ress/ress-devel-ext/elf-toolchain/src/elf-toolchain/libelf
-I/var/pkg/ress/ress-devel-ext/elf-toolchain/src/elf-toolchain/libelf/../com
mon -D_FORTIFY_SOURCE=2    -c -pg -DGPROF -DPROF elf.c -o elf.po.o
ld: error: zlib is not available
*** [elf.po] Error code 1

bmake[1]: stopped in
/var/pkg/ress/ress-devel-ext/elf-toolchain/src/elf-toolchain/libelf
1 error

bmake[1]: stopped in
/var/pkg/ress/ress-devel-ext/elf-toolchain/src/elf-toolchain/libelf
*** [all] Error code 1

bmake: stopped in
/var/pkg/ress/ress-devel-ext/elf-toolchain/src/elf-toolchain
1 error

bmake: stopped in
/var/pkg/ress/ress-devel-ext/elf-toolchain/src/elf-toolchain

Thanks for your support.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Elftoolchain-developers mailing list
Elftoolchain-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/elftoolchain-developers

Reply via email to