Issue 859 attachment: pdfium_diff.log (12.5 KB)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
ninja: Entering directory `out'
[1/1] LINK ./pdfium_diff
FAILED: pdfium_diff
/usr/bin/python2 "../build/toolchain/gcc_link_wrapper.py" --output="./pdfium_diff" -- ../../../../../../usr/bin/clang++ -Wl,--fatal-warnings -fPIC -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -Wl,-z,defs -Wl,--no-as-needed -lpthread -Wl,--as-needed -fuse-ld=gold -B../third_party/binutils/Linux_x64/Release/bin -m64 -pthread -Wl,-O1 -Wl,--gc-sections -Wl,-rpath-link=. -Wl,--disable-new-dtags -Wl,-rpath=\$ORIGIN/. -Wl,-rpath-link=. -o "./pdfium_diff" -Wl,--start-group @"./pdfium_diff.rsp" ./libpdfium.so -Wl,--end-group -ldl -lrt -lfreetype
obj/image_diff/image_diff_png.o:../testing/image_diff/image_diff_png.cpp:function image_diff_png::Decode(unsigned char const*, unsigned long, image_diff_png::(anonymous namespace)::ColorFormat, std::vector<unsigned char, std::allocator<unsigned char> >*, int*, int*): error: undefined reference to 'png_sig_cmp'
obj/image_diff/image_diff_png.o:../testing/image_diff/image_diff_png.cpp:function image_diff_png::Decode(unsigned char const*, unsigned long, image_diff_png::(anonymous namespace)::ColorFormat, std::vector<unsigned char, std::allocator<unsigned char> >*, int*, int*): error: undefined reference to 'png_create_read_struct'
obj/image_diff/image_diff_png.o:../testing/image_diff/image_diff_png.cpp:function image_diff_png::Decode(unsigned char const*, unsigned long, image_diff_png::(anonymous namespace)::ColorFormat, std::vector<unsigned char, std::allocator<unsigned char> >*, int*, int*): error: undefined reference to 'png_create_info_struct'
obj/image_diff/image_diff_png.o:../testing/image_diff/image_diff_png.cpp:function image_diff_png::Decode(unsigned char const*, unsigned long, image_diff_png::(anonymous namespace)::ColorFormat, std::vector<unsigned char, std::allocator<unsigned char> >*, int*, int*): error: undefined reference to 'png_set_longjmp_fn'
obj/image_diff/image_diff_png.o:../testing/image_diff/image_diff_png.cpp:function image_diff_png::Decode(unsigned char const*, unsigned long, image_diff_png::(anonymous namespace)::ColorFormat, std::vector<unsigned char, std::allocator<unsigned char> >*, int*, int*): error: undefined reference to 'png_set_progressive_read_fn'
obj/image_diff/image_diff_png.o:../testing/image_diff/image_diff_png.cpp:function image_diff_png::Decode(unsigned char const*, unsigned long, image_diff_png::(anonymous namespace)::ColorFormat, std::vector<unsigned char, std::allocator<unsigned char> >*, int*, int*): error: undefined reference to 'png_process_data'
obj/image_diff/image_diff_png.o:../testing/image_diff/image_diff_png.cpp:function image_diff_png::Decode(unsigned char const*, unsigned long, image_diff_png::(anonymous namespace)::ColorFormat, std::vector<unsigned char, std::allocator<unsigned char> >*, int*, int*): error: undefined reference to 'png_destroy_read_struct'
obj/image_diff/image_diff_png.o:../testing/image_diff/image_diff_png.cpp:function image_diff_png::Encode(unsigned char const*, image_diff_png::(anonymous namespace)::ColorFormat, int, int, int, bool, std::vector<image_diff_png::(anonymous namespace)::Comment, std::allocator<image_diff_png::(anonymous namespace)::Comment> > const&, std::vector<unsigned char, std::allocator<unsigned char> >*): error: undefined reference to 'png_create_write_struct'
obj/image_diff/image_diff_png.o:../testing/image_diff/image_diff_png.cpp:function image_diff_png::Encode(unsigned char const*, image_diff_png::(anonymous namespace)::ColorFormat, int, int, int, bool, std::vector<image_diff_png::(anonymous namespace)::Comment, std::allocator<image_diff_png::(anonymous namespace)::Comment> > const&, std::vector<unsigned char, std::allocator<unsigned char> >*): error: undefined reference to 'png_create_info_struct'
obj/image_diff/image_diff_png.o:../testing/image_diff/image_diff_png.cpp:function image_diff_png::Encode(unsigned char const*, image_diff_png::(anonymous namespace)::ColorFormat, int, int, int, bool, std::vector<image_diff_png::(anonymous namespace)::Comment, std::allocator<image_diff_png::(anonymous namespace)::Comment> > const&, std::vector<unsigned char, std::allocator<unsigned char> >*): error: undefined reference to 'png_destroy_write_struct'
obj/image_diff/image_diff_png.o:../testing/image_diff/image_diff_png.cpp:function image_diff_png::(anonymous namespace)::DecodeInfoCallback(png_struct_def*, png_info_def*): error: undefined reference to 'png_get_progressive_ptr'
obj/image_diff/image_diff_png.o:../testing/image_diff/image_diff_png.cpp:function image_diff_png::(anonymous namespace)::DecodeInfoCallback(png_struct_def*, png_info_def*): error: undefined reference to 'png_get_IHDR'
obj/image_diff/image_diff_png.o:../testing/image_diff/image_diff_png.cpp:function image_diff_png::(anonymous namespace)::DecodeInfoCallback(png_struct_def*, png_info_def*): error: undefined reference to 'png_set_expand'
obj/image_diff/image_diff_png.o:../testing/image_diff/image_diff_png.cpp:function image_diff_png::(anonymous namespace)::DecodeInfoCallback(png_struct_def*, png_info_def*): error: undefined reference to 'png_get_valid'
obj/image_diff/image_diff_png.o:../testing/image_diff/image_diff_png.cpp:function image_diff_png::(anonymous namespace)::DecodeInfoCallback(png_struct_def*, png_info_def*): error: undefined reference to 'png_set_expand'
obj/image_diff/image_diff_png.o:../testing/image_diff/image_diff_png.cpp:function image_diff_png::(anonymous namespace)::DecodeInfoCallback(png_struct_def*, png_info_def*): error: undefined reference to 'png_set_strip_16'
obj/image_diff/image_diff_png.o:../testing/image_diff/image_diff_png.cpp:function image_diff_png::(anonymous namespace)::DecodeInfoCallback(png_struct_def*, png_info_def*): error: undefined reference to 'png_set_gray_to_rgb'
obj/image_diff/image_diff_png.o:../testing/image_diff/image_diff_png.cpp:function image_diff_png::(anonymous namespace)::DecodeInfoCallback(png_struct_def*, png_info_def*): error: undefined reference to 'png_get_gAMA'
obj/image_diff/image_diff_png.o:../testing/image_diff/image_diff_png.cpp:function image_diff_png::(anonymous namespace)::DecodeInfoCallback(png_struct_def*, png_info_def*): error: undefined reference to 'png_set_gAMA'
obj/image_diff/image_diff_png.o:../testing/image_diff/image_diff_png.cpp:function image_diff_png::(anonymous namespace)::DecodeInfoCallback(png_struct_def*, png_info_def*): error: undefined reference to 'png_set_gamma'
obj/image_diff/image_diff_png.o:../testing/image_diff/image_diff_png.cpp:function image_diff_png::(anonymous namespace)::DecodeInfoCallback(png_struct_def*, png_info_def*): error: undefined reference to 'png_set_interlace_handling'
obj/image_diff/image_diff_png.o:../testing/image_diff/image_diff_png.cpp:function image_diff_png::(anonymous namespace)::DecodeInfoCallback(png_struct_def*, png_info_def*): error: undefined reference to 'png_read_update_info'
obj/image_diff/image_diff_png.o:../testing/image_diff/image_diff_png.cpp:function image_diff_png::(anonymous namespace)::DecodeInfoCallback(png_struct_def*, png_info_def*): error: undefined reference to 'png_get_channels'
obj/image_diff/image_diff_png.o:../testing/image_diff/image_diff_png.cpp:function image_diff_png::(anonymous namespace)::DecodeInfoCallback(png_struct_def*, png_info_def*): error: undefined reference to 'png_set_longjmp_fn'
obj/image_diff/image_diff_png.o:../testing/image_diff/image_diff_png.cpp:function image_diff_png::(anonymous namespace)::DecodeRowCallback(png_struct_def*, unsigned char*, unsigned int, int): error: undefined reference to 'png_get_progressive_ptr'
obj/image_diff/image_diff_png.o:../testing/image_diff/image_diff_png.cpp:function image_diff_png::(anonymous namespace)::DecodeEndCallback(png_struct_def*, png_info_def*): error: undefined reference to 'png_get_progressive_ptr'
obj/image_diff/image_diff_png.o:../testing/image_diff/image_diff_png.cpp:function image_diff_png::(anonymous namespace)::DoLibpngWrite(png_struct_def*, png_info_def*, image_diff_png::(anonymous namespace)::PngEncoderState*, int, int, int, unsigned char const*, int, int, int, void (*)(unsigned char const*, int, unsigned char*, bool*), std::vector<image_diff_png::(anonymous namespace)::Comment, std::allocator<image_diff_png::(anonymous namespace)::Comment> > const&): error: undefined reference to 'png_set_longjmp_fn'
obj/image_diff/image_diff_png.o:../testing/image_diff/image_diff_png.cpp:function image_diff_png::(anonymous namespace)::DoLibpngWrite(png_struct_def*, png_info_def*, image_diff_png::(anonymous namespace)::PngEncoderState*, int, int, int, unsigned char const*, int, int, int, void (*)(unsigned char const*, int, unsigned char*, bool*), std::vector<image_diff_png::(anonymous namespace)::Comment, std::allocator<image_diff_png::(anonymous namespace)::Comment> > const&): error: undefined reference to 'png_set_compression_level'
obj/image_diff/image_diff_png.o:../testing/image_diff/image_diff_png.cpp:function image_diff_png::(anonymous namespace)::DoLibpngWrite(png_struct_def*, png_info_def*, image_diff_png::(anonymous namespace)::PngEncoderState*, int, int, int, unsigned char const*, int, int, int, void (*)(unsigned char const*, int, unsigned char*, bool*), std::vector<image_diff_png::(anonymous namespace)::Comment, std::allocator<image_diff_png::(anonymous namespace)::Comment> > const&): error: undefined reference to 'png_set_write_fn'
obj/image_diff/image_diff_png.o:../testing/image_diff/image_diff_png.cpp:function image_diff_png::(anonymous namespace)::DoLibpngWrite(png_struct_def*, png_info_def*, image_diff_png::(anonymous namespace)::PngEncoderState*, int, int, int, unsigned char const*, int, int, int, void (*)(unsigned char const*, int, unsigned char*, bool*), std::vector<image_diff_png::(anonymous namespace)::Comment, std::allocator<image_diff_png::(anonymous namespace)::Comment> > const&): error: undefined reference to 'png_set_IHDR'
obj/image_diff/image_diff_png.o:../testing/image_diff/image_diff_png.cpp:function image_diff_png::(anonymous namespace)::DoLibpngWrite(png_struct_def*, png_info_def*, image_diff_png::(anonymous namespace)::PngEncoderState*, int, int, int, unsigned char const*, int, int, int, void (*)(unsigned char const*, int, unsigned char*, bool*), std::vector<image_diff_png::(anonymous namespace)::Comment, std::allocator<image_diff_png::(anonymous namespace)::Comment> > const&): error: undefined reference to 'png_set_text'
obj/image_diff/image_diff_png.o:../testing/image_diff/image_diff_png.cpp:function image_diff_png::(anonymous namespace)::DoLibpngWrite(png_struct_def*, png_info_def*, image_diff_png::(anonymous namespace)::PngEncoderState*, int, int, int, unsigned char const*, int, int, int, void (*)(unsigned char const*, int, unsigned char*, bool*), std::vector<image_diff_png::(anonymous namespace)::Comment, std::allocator<image_diff_png::(anonymous namespace)::Comment> > const&): error: undefined reference to 'png_write_info'
obj/image_diff/image_diff_png.o:../testing/image_diff/image_diff_png.cpp:function image_diff_png::(anonymous namespace)::DoLibpngWrite(png_struct_def*, png_info_def*, image_diff_png::(anonymous namespace)::PngEncoderState*, int, int, int, unsigned char const*, int, int, int, void (*)(unsigned char const*, int, unsigned char*, bool*), std::vector<image_diff_png::(anonymous namespace)::Comment, std::allocator<image_diff_png::(anonymous namespace)::Comment> > const&): error: undefined reference to 'png_write_row'
obj/image_diff/image_diff_png.o:../testing/image_diff/image_diff_png.cpp:function image_diff_png::(anonymous namespace)::DoLibpngWrite(png_struct_def*, png_info_def*, image_diff_png::(anonymous namespace)::PngEncoderState*, int, int, int, unsigned char const*, int, int, int, void (*)(unsigned char const*, int, unsigned char*, bool*), std::vector<image_diff_png::(anonymous namespace)::Comment, std::allocator<image_diff_png::(anonymous namespace)::Comment> > const&): error: undefined reference to 'png_write_row'
obj/image_diff/image_diff_png.o:../testing/image_diff/image_diff_png.cpp:function image_diff_png::(anonymous namespace)::DoLibpngWrite(png_struct_def*, png_info_def*, image_diff_png::(anonymous namespace)::PngEncoderState*, int, int, int, unsigned char const*, int, int, int, void (*)(unsigned char const*, int, unsigned char*, bool*), std::vector<image_diff_png::(anonymous namespace)::Comment, std::allocator<image_diff_png::(anonymous namespace)::Comment> > const&): error: undefined reference to 'png_write_end'
obj/image_diff/image_diff_png.o:../testing/image_diff/image_diff_png.cpp:function image_diff_png::(anonymous namespace)::EncoderWriteCallback(png_struct_def*, unsigned char*, unsigned long): error: undefined reference to 'png_get_io_ptr'
clang-4.0: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.