TrilliumEMU/TrilliumEMU — Issue #23: Linux BZ2 Compilation Error
Author: CYREX
Created: 2011-11-14 13:39:07+00:00
State: open

Revision - https://github.com/TrilliumEMU/TrilliumEMU/commit/2376839f932a3b0b51ecc7ed94729f45b7f7ca89
OS - Ubuntu 64Bit
Bug - When using the DTOOLS=1 Flag with cmake you get this compilation error. All libraries are verified and installed already. It compiles fine without the DTOOLS but without it how can the tools be made for Linux.

../../../dep/libmpq/libmpq.a(extract.c.o): In function `libmpq__decompress_bzip2':
extract.c:(.text+0xad): undefined reference to `BZ2_bzDecompressInit'
extract.c:(.text+0xdc): undefined reference to `BZ2_bzDecompress'
extract.c:(.text+0xed): undefined reference to `BZ2_bzDecompressEnd'
../../../dep/libmpq/libmpq.a(extract.c.o): In function `libmpq__decompress_zlib':
extract.c:(.text+0x1f9): undefined reference to `inflateInit_'
extract.c:(.text+0x214): undefined reference to `inflate'
extract.c:(.text+0x225): undefined reference to `inflateEnd'
collect2: ld returned 1 exit status
make[2]: *** [src/tools/vmap3_extractor/vmap3extractor] Error 1
make[1]: *** [src/tools/vmap3_extractor/CMakeFiles/vmap3extractor.dir/all] Error 2
make: *** [all] Error 2