Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
shlomif opened this issue Aug 29, 2018 · 0 comments
Open

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

shlomif opened this issue Aug 29, 2018 · 0 comments
Labels

Comments

@shlomif
Copy link

shlomif commented Aug 29, 2018

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.

@JayXon JayXon added the build label Mar 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants