Skip to content

"make" for the latest release does not work on x86-64 linux #45

@shlomif

Description

@shlomif

it gives me:

g++ -Wall -O3 -msse2 -mfpmath=sse -flto --std=c++11 fileio.cpp utils.cpp leanify.cpp main.cpp formats/base64.cpp formats/ico.cpp formats/lua.cpp formats/dwf.cpp formats/swf.cpp formats/rdb.cpp formats/gft.cpp formats/xml.cpp formats/png.cpp formats/data_uri.cpp formats/pe.cpp formats/bmp.cpp formats/tar.cpp formats/jpeg.cpp formats/zip.cpp formats/gz.cpp lzma.a miniz.o mozjpeg.a tinyxml2.o zopfli.a zopflipng.a -s -o leanify
/tmp/cctGuFIz.ltrans0.ltrans.o: In function `Jpeg::Leanify(unsigned long)':
<artificial>:(.text+0x6d5e): undefined reference to `jpeg_std_error'
<artificial>:(.text+0x6d90): undefined reference to `jpeg_destroy_compress'
<artificial>:(.text+0x6da0): undefined reference to `jpeg_destroy_decompress'
<artificial>:(.text+0x6de3): undefined reference to `jpeg_CreateDecompress'
<artificial>:(.text+0x6ded): undefined reference to `jpeg_std_error'
<artificial>:(.text+0x6e15): undefined reference to `jpeg_CreateCompress'
<artificial>:(.text+0x6e4a): undefined reference to `jpeg_c_set_int_param'
<artificial>:(.text+0x6e63): undefined reference to `jpeg_mem_src'
<artificial>:(.text+0x6e83): undefined reference to `jpeg_save_markers'
<artificial>:(.text+0x6e95): undefined reference to `jpeg_read_header'
<artificial>:(.text+0x6ea2): undefined reference to `jpeg_read_coefficients'
<artificial>:(.text+0x6eba): undefined reference to `jpeg_copy_critical_parameters'
<artificial>:(.text+0x6f0a): undefined reference to `jpeg_mem_dest'
<artificial>:(.text+0x6f15): undefined reference to `jpeg_write_coefficients'
<artificial>:(.text+0x6f5e): undefined reference to `jpeg_write_marker'
<artificial>:(.text+0x6f79): undefined reference to `jpeg_finish_compress'
<artificial>:(.text+0x6f86): undefined reference to `jpeg_finish_decompress'
<artificial>:(.text+0x6f93): undefined reference to `jpeg_destroy_decompress'
<artificial>:(.text+0x6fca): undefined reference to `jpeg_destroy_compress'
/tmp/cctGuFIz.ltrans0.ltrans.o: In function `Swf::Leanify(unsigned long)':
<artificial>:(.text+0xd89e): undefined reference to `LzmaCompress'
<artificial>:(.text+0xda6e): undefined reference to `LzmaUncompress'
/tmp/cctGuFIz.ltrans0.ltrans.o: In function `Png::Leanify(unsigned long)':
<artificial>:(.text+0x10585): undefined reference to `ZopfliPNGOptions::ZopfliPNGOptions()'
<artificial>:(.text+0x1075c): undefined reference to `ZopfliPNGOptimize(std::vector<unsigned char, std::allocator<unsigned char> > const&, ZopfliPNGOptions const&, bool, std::vector<unsigned char, std::allocator<unsigned char> >*)'
collect2: error: ld returned 1 exit status
make: *** [Makefile:23: leanify] Error 1

on fedora x86-64 29. The git master builds fine. Please mint a new release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions