checking awk... awk detecting OS... UNIX checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking universal build... no checking build cc... gcc checking host cc... gcc checking build c++... g++ checking host c++... g++ checking strip... disabled checking builtin depend... yes checking makedepend... disabled detecting cpu-type... 64 bits detecting SSE... found checking static... no checking unicode... no using debug level... no using desync debug level... no using link time optimization... no checking OSX sysroot... not OSX, skipping checking allegro... found checking sdl... found checking COCOA... not OSX, skipping checking GDI video driver... not Windows, skipping checking dedicated... not selected checking console application... not Windows, skipping checking network... found checking squirrel... found checking translator... no checking assert... enabled checking zlib... found checking liblzma... found checking lzo2... found checking libxdg-basedir... not found checking libpng... found checking freetype2... found checking fontconfig... found checking icu-lx... found checking icu-i18n... found checking psp-config... not PSP, skipping checking libtimidity... not found checking direct-music... not Windows, skipping checking sort... sort checking endianness... AUTO suppress language errors... no checking stripping... skipped checking distcc... no (only used when forced) checking ccache... no (only used when forced) checking grfcodec... not found checking nforenum... not found checking OSX application bundle... not OSX, skipping checking revision... git detection checking iconv... not OSX, skipping personal home directory... .openttd shared data directory... none installation directory... / icon theme directory... share/icons/hicolor manual page directory... share/man/man6 menu item directory... share/applications checking libdl... found Executing: gcc -O2 -fomit-frame-pointer -march=native -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -Wno-multichar -Wsign-compare -Wundef -Wwrite-strings -Wpointer-arith -W -Wno-unused-parameter -Wredundant-decls -Wformat=2 -Wformat-security -Winit-self -fno-strict-aliasing -Wcast-qual -fno-strict-overflow -Wnon-virtual-dtor -Wno-free-nonheap-object -rdynamic -DUNIX -DWITH_SSE -DWITH_DL -Wl,-O1,--sort-common,--as-needed,-z,relro -rdynamic -o tmp.config.bfd -x c++ - -lbfd -lz /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(opncls.o): In function `_bfd_delete_bfd': (.text+0x14f): undefined reference to `objalloc_free' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(opncls.o): In function `find_separate_debug_file': (.text+0x3a5): undefined reference to `lrealpath' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(opncls.o): In function `_bfd_new_bfd': (.text+0x617): undefined reference to `objalloc_create' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(opncls.o): In function `_bfd_free_cached_info': (.text+0x73f): undefined reference to `objalloc_free' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(opncls.o): In function `bfd_fopen': (.text+0x7fc): undefined reference to `xstrdup' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(opncls.o): In function `bfd_openstreamr': (.text+0x9e8): undefined reference to `xstrdup' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(opncls.o): In function `bfd_openw': (.text+0xa7b): undefined reference to `xstrdup' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(opncls.o): In function `bfd_create': (.text+0xcbb): undefined reference to `xstrdup' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(opncls.o): In function `bfd_alloc': (.text+0xeba): undefined reference to `_objalloc_alloc' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(opncls.o): In function `bfd_openr_iovec': (.text+0xfe9): undefined reference to `xstrdup' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(opncls.o): In function `bfd_create_gnu_debuglink_section': (.text+0x13e5): undefined reference to `lbasename' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(opncls.o): In function `bfd_fill_in_gnu_debuglink_section': (.text+0x1507): undefined reference to `lbasename' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(opncls.o): In function `bfd_release': (.text+0x10e8): undefined reference to `objalloc_free_block' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(hash.o): In function `bfd_hash_table_free': (.text+0x9): undefined reference to `objalloc_free' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(hash.o): In function `bfd_hash_table_init_n': (.text+0x3f): undefined reference to `objalloc_create' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(hash.o): In function `bfd_hash_table_init_n': (.text+0xd1): undefined reference to `_objalloc_alloc' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(hash.o): In function `bfd_hash_insert': (.text+0x21f): undefined reference to `_objalloc_alloc' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(hash.o): In function `bfd_hash_lookup': (.text+0x402): undefined reference to `_objalloc_alloc' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(hash.o): In function `bfd_hash_allocate': (.text+0x5ff): undefined reference to `_objalloc_alloc' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(srec.o): In function `srec_mkobject': (.text+0x5cb): undefined reference to `hex_init' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(srec.o): In function `srec_get_section_contents': (.text+0x832): undefined reference to `_hex_value' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(srec.o): In function `srec_bad_byte': (.text+0xee6): undefined reference to `_sch_istable' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(srec.o): In function `srec_scan': (.text+0x110d): undefined reference to `_hex_value' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(srec.o): In function `srec_scan': (.text+0x1297): undefined reference to `_hex_value' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(srec.o): In function `srec_scan': (.text+0x13a1): undefined reference to `_sch_istable' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(srec.o): In function `srec_object_p': (.text+0x19bf): undefined reference to `_hex_value' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(srec.o): In function `srec_object_p': (.text+0x1a4b): undefined reference to `hex_init' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(srec.o): In function `symbolsrec_object_p': (.text+0x1b53): undefined reference to `hex_init' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(binary.o): In function `mangle_name': (.text+0xa7): undefined reference to `_sch_istable' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(tekhex.o): In function `getvalue': (.text+0x6): undefined reference to `_hex_value' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(tekhex.o): In function `getsym': (.text+0xb6): undefined reference to `_hex_value' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(tekhex.o): In function `first_phase': (.text+0x5d6): undefined reference to `_hex_value' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(tekhex.o): In function `tekhex_init.part.2': (.text+0xbbf): undefined reference to `hex_init' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(tekhex.o): In function `pass_over.constprop.4': (.text+0x1017): undefined reference to `_hex_value' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(tekhex.o): In function `tekhex_object_p': (.text+0x111a): undefined reference to `_hex_value' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(ihex.o): In function `ihex_bad_byte': (.text+0x666): undefined reference to `_sch_istable' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(ihex.o): In function `ihex_object_p': (.text+0x7d1): undefined reference to `_hex_value' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(ihex.o): In function `ihex_object_p': (.text+0x993): undefined reference to `hex_init' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(ihex.o): In function `ihex_get_section_contents': (.text+0x11f9): undefined reference to `_hex_value' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(compress.o): In function `bfd_is_section_compressed': (.text+0x552): undefined reference to `_sch_istable' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(verilog.o): In function `verilog_mkobject': (.text+0x19b): undefined reference to `hex_init' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(elf64-x86-64.o): In function `elf_x86_64_finish_dynamic_sections': (.text+0xa31): undefined reference to `htab_traverse' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(elf64-x86-64.o): In function `elf_x86_64_size_dynamic_sections': (.text+0x202e): undefined reference to `htab_traverse' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(elf64-x86-64.o): In function `elf_x86_64_link_hash_table_free': (.text+0x325d): undefined reference to `htab_delete' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(elf64-x86-64.o): In function `elf_x86_64_link_hash_table_free': (.text+0x326e): undefined reference to `objalloc_free' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(elf64-x86-64.o): In function `elf_x86_64_link_hash_table_create': (.text+0x3334): undefined reference to `htab_try_create' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(elf64-x86-64.o): In function `elf_x86_64_link_hash_table_create': (.text+0x3340): undefined reference to `objalloc_create' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(elf64-x86-64.o): In function `elf_x86_64_get_local_sym_hash.isra.5': (.text+0x38c0): undefined reference to `htab_find_slot_with_hash' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(elf64-x86-64.o): In function `elf_x86_64_get_local_sym_hash.isra.5': (.text+0x3996): undefined reference to `_objalloc_alloc' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(elf64.o): In function `_bfd_elf64_bfd_from_remote_memory': (.text+0x27f8): undefined reference to `xstrdup' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(elflink.o): In function `bfd_elf_link_add_symbols': (.text+0xa4cc): undefined reference to `objalloc_free_block' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(elflink.o): In function `bfd_elf_link_add_symbols': (.text+0xab8f): undefined reference to `_sch_istable' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(elflink.o): In function `bfd_elf_size_dynamic_sections': (.text+0xbd6c): undefined reference to `lbasename' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(elflink.o): In function `bfd_elf_size_dynamic_sections': (.text+0xc553): undefined reference to `lbasename' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(elf-eh-frame.o): In function `_bfd_elf_discard_section_eh_frame': (.text+0x1eb9): undefined reference to `iterative_hash' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(elf-eh-frame.o): In function `_bfd_elf_discard_section_eh_frame': (.text+0x1ec9): undefined reference to `iterative_hash' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(elf-eh-frame.o): In function `_bfd_elf_discard_section_eh_frame': (.text+0x1ef3): undefined reference to `iterative_hash' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(elf-eh-frame.o): In function `_bfd_elf_discard_section_eh_frame': (.text+0x1f03): undefined reference to `iterative_hash' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(elf-eh-frame.o): In function `_bfd_elf_discard_section_eh_frame': (.text+0x1f13): undefined reference to `iterative_hash' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(elf-eh-frame.o):(.text+0x1f23): more undefined references to `iterative_hash' follow /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(elf-eh-frame.o): In function `_bfd_elf_discard_section_eh_frame': (.text+0x1fea): undefined reference to `htab_find_slot_with_hash' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(elf-eh-frame.o): In function `_bfd_elf_discard_section_eh_frame': (.text+0x22be): undefined reference to `htab_try_create' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(elf-eh-frame.o): In function `_bfd_elf_discard_section_eh_frame_hdr': (.text+0x235a): undefined reference to `htab_delete' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(elf32-i386.o): In function `elf_i386_finish_dynamic_sections': (.text+0xc4c): undefined reference to `htab_traverse' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(elf32-i386.o): In function `elf_i386_size_dynamic_sections': (.text+0x21e2): undefined reference to `htab_traverse' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(elf32-i386.o): In function `elf_i386_link_hash_table_free': (.text+0x31bd): undefined reference to `htab_delete' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(elf32-i386.o): In function `elf_i386_link_hash_table_free': (.text+0x31ce): undefined reference to `objalloc_free' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(elf32-i386.o): In function `elf_i386_link_hash_table_create': (.text+0x3236): undefined reference to `htab_try_create' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(elf32-i386.o): In function `elf_i386_link_hash_table_create': (.text+0x3242): undefined reference to `objalloc_create' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(elf32-i386.o): In function `elf_i386_get_local_sym_hash.isra.4': (.text+0x341a): undefined reference to `htab_find_slot_with_hash' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(elf32-i386.o): In function `elf_i386_get_local_sym_hash.isra.4': (.text+0x34ee): undefined reference to `_objalloc_alloc' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(elf32.o): In function `_bfd_elf32_bfd_from_remote_memory': (.text+0x283e): undefined reference to `xstrdup' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(aout32.o): In function `aout_32_final_link': (.text+0x6f56): undefined reference to `_sch_istable' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(cofflink.o): In function `coff_link_add_object_symbols': (.text+0xac7): undefined reference to `_sch_istable' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(pei-x86_64.o): In function `pex64_bfd_print_pdata_section': (.text+0x1abd): undefined reference to `xmalloc' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(plugin.o): In function `try_load_plugin': (.text+0x2f5): undefined reference to `dlopen' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(plugin.o): In function `try_load_plugin': (.text+0x30d): undefined reference to `dlsym' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(plugin.o): In function `try_load_plugin': (.text+0x463): undefined reference to `dlerror' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(plugin.o): In function `bfd_plugin_object_p': (.text+0x581): undefined reference to `concat' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(plugin.o): In function `bfd_plugin_object_p': (.text+0x59a): undefined reference to `make_relative_prefix' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(plugin.o): In function `bfd_plugin_object_p': (.text+0x5f0): undefined reference to `concat' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(archive.o): In function `adjust_relative_path': (.text+0x1e5): undefined reference to `getpwd' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(archive.o): In function `adjust_relative_path': (.text+0x1f2): undefined reference to `lrealpath' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(archive.o): In function `adjust_relative_path': (.text+0x204): undefined reference to `lrealpath' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(archive.o): In function `adjust_relative_path': (.text+0x290): undefined reference to `filename_ncmp' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(archive.o): In function `_bfd_look_for_bfd_in_cache': (.text+0x77c): undefined reference to `htab_find' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(archive.o): In function `_bfd_add_bfd_to_archive_cache': (.text+0x7f6): undefined reference to `htab_find_slot' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(archive.o): In function `_bfd_add_bfd_to_archive_cache': (.text+0x844): undefined reference to `htab_create_alloc' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(archive.o): In function `_bfd_generic_read_ar_hdr_mag': (.text+0xa5e): undefined reference to `_sch_istable' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(archive.o): In function `_bfd_append_relative_path': (.text+0xc57): undefined reference to `lbasename' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(archive.o): In function `_bfd_get_elt_at_filepos': (.text+0xd63): undefined reference to `filename_cmp' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(archive.o): In function `_bfd_get_elt_at_filepos': (.text+0xd97): undefined reference to `filename_cmp' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(archive.o): In function `_bfd_get_elt_at_filepos': (.text+0xef8): undefined reference to `xstrdup' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(archive.o): In function `_bfd_construct_extended_name_table': (.text+0x1b84): undefined reference to `filename_cmp' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(archive.o): In function `_bfd_construct_extended_name_table': (.text+0x1bde): undefined reference to `lbasename' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(archive.o): In function `_bfd_construct_extended_name_table': (.text+0x1c16): undefined reference to `filename_ncmp' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(archive.o): In function `_bfd_construct_extended_name_table': (.text+0x1cf4): undefined reference to `filename_ncmp' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(archive.o): In function `_bfd_construct_extended_name_table': (.text+0x1db5): undefined reference to `filename_cmp' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(archive.o): In function `_bfd_construct_extended_name_table': (.text+0x1e5a): undefined reference to `lbasename' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(archive.o): In function `_bfd_archive_bsd44_construct_extended_name_table': (.text+0x2125): undefined reference to `lbasename' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(archive.o): In function `_bfd_bsd44_write_ar_hdr': (.text+0x2243): undefined reference to `_sch_istable' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(archive.o): In function `_bfd_bsd44_write_ar_hdr': (.text+0x2254): undefined reference to `lbasename' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(archive.o): In function `bfd_bsd_truncate_arname': (.text+0x2442): undefined reference to `lbasename' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(archive.o): In function `bfd_dont_truncate_arname': (.text+0x2541): undefined reference to `lbasename' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(archive.o): In function `bfd_gnu_truncate_arname': (.text+0x25b2): undefined reference to `lbasename' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(archive.o): In function `_bfd_archive_close_and_cleanup': (.text+0x38a4): undefined reference to `htab_find_slot' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(archive.o): In function `_bfd_archive_close_and_cleanup': (.text+0x38d1): undefined reference to `htab_clear_slot' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(archive.o): In function `_bfd_archive_close_and_cleanup': (.text+0x3955): undefined reference to `htab_traverse_noresize' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(archive.o): In function `_bfd_archive_close_and_cleanup': (.text+0x395d): undefined reference to `htab_delete' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(archures.o): In function `bfd_default_scan': (.text+0xf9): undefined reference to `_sch_istable' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(bfd.o): In function `bfd_errmsg': (.text+0x140): undefined reference to `xstrerror' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(bfd.o): In function `bfd_demangle': (.text+0x105c): undefined reference to `cplus_demangle' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(bfd.o): In function `bfd_demangle': (.text+0x11c7): undefined reference to `cplus_demangle' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(cache.o): In function `bfd_open_file': (.text+0x360): undefined reference to `unlink_if_ordinary' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(corefile.o): In function `generic_core_file_matches_executable_p': (.text+0x16f): undefined reference to `filename_cmp' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(syms.o): In function `bfd_decode_symclass': (.text+0x2fc): undefined reference to `_sch_toupper' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(syms.o): In function `_bfd_stab_section_find_nearest_line': (.text+0x6ce): undefined reference to `filename_ncmp' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(syms.o): In function `_bfd_stab_section_find_nearest_line': (.text+0xbdd): undefined reference to `filename_cmp' /usr/lib/gcc/x86_64-unknown-linux-gnu/5.2.0/../../../../lib/libbfd.a(stabs.o): In function `_bfd_link_section_stabs': (.text+0x6b7): undefined reference to `_sch_istable' collect2: error: ld returned 1 exit status Executing: gcc -O2 -fomit-frame-pointer -march=native -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -Wno-multichar -Wsign-compare -Wundef -Wwrite-strings -Wpointer-arith -W -Wno-unused-parameter -Wredundant-decls -Wformat=2 -Wformat-security -Winit-self -fno-strict-aliasing -Wcast-qual -fno-strict-overflow -Wnon-virtual-dtor -Wno-free-nonheap-object -rdynamic -DUNIX -DWITH_SSE -DWITH_DL -Wl,-O1,--sort-common,--as-needed,-z,relro -rdynamic -o tmp.config.bfd -x c++ - -lbfd -liberty -lintl -lz /usr/bin/ld: cannot find -lintl collect2: error: ld returned 1 exit status checking libbfd... no checking abi::__cxa_demangle... found using CFLAGS_BUILD... -Wall -Wno-multichar -Wsign-compare -Wundef -Wwrite-strings -Wpointer-arith -W -Wno-unused-parameter -Wredundant-decls -Wformat=2 -Wformat-security -Winit-self -fno-strict-aliasing -Wcast-qual -fno-strict-overflow -Wnon-virtual-dtor -Wno-free-nonheap-object -rdynamic -DUNIX using CXXFLAGS_BUILD... -std=gnu++0x -Wno-narrowing using LDFLAGS_BUILD... -rdynamic using CFLAGS... -O2 -fomit-frame-pointer -march=native -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -Wno-multichar -Wsign-compare -Wundef -Wwrite-strings -Wpointer-arith -W -Wno-unused-parameter -Wredundant-decls -Wformat=2 -Wformat-security -Winit-self -fno-strict-aliasing -Wcast-qual -fno-strict-overflow -Wnon-virtual-dtor -Wno-free-nonheap-object -rdynamic -DUNIX -DWITH_SSE -DWITH_DL -DWITH_DEMANGLE -DWITH_ALLEGRO -DWITH_SDL -D_REENTRANT -I/usr/include/SDL -DWITH_ZLIB -DWITH_LZMA -DWITH_LZO -D_SQ64 -I/home/archy/src/OpenTTD-patches/src/3rdparty/squirrel/include -DWITH_PNG -I/usr/include/libpng16 -DWITH_FONTCONFIG -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DWITH_FREETYPE -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DWITH_ICU_LAYOUT -DWITH_ICU_SORT -DENABLE_NETWORK -DWITH_PERSONAL_DIR -DPERSONAL_DIR=\\".openttd\\" -DGLOBAL_DATA_DIR=\\"/usr/local/share/games/openttd\\" using CXXFLAGS... -march=native -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -std=gnu++0x -Wno-narrowing using LDFLAGS... -lstdc++ -lpthread -ldl -lc -lalleg -lSDL -lpthread -L/usr/lib -lz -llzma -llzo2 -lpng16 -lfontconfig -lfreetype -lfreetype -liculx -licule -licuuc -licudata -licui18n -licuuc -licudata -Wl,-O1,--sort-common,--as-needed,-z,relro -rdynamic Generating Makefile... Generating menu item... Generating lang/Makefile... Generating setting/Makefile... Generating grf/Makefile... Generating objs/Makefile...