Not the answer you need?
Register and ask your own question!

Failed to build page_parser tool

kapitanluffykapitanluffy EntrantCurrent User Role Beginner
I was following this wiki page

http://www.percona.com/docs/wiki/innodb-data-recovery-tool:mysql-data-recovery:building_the_tools

I run the `./configure` command inside the mysql-source directory. After that run `make` in the
root directory of the package but only the constraints_parser is successfully built.

Here is the output of the `make` command

http://pastebin.com/5n8AEcpT

Comments

  • Bender RodriguezBender Rodriguez Entrant Inactive User Role Beginner
    Are these forums even monitored? Sheesh. Anyway, I read elsewhere that the fix for your issue is to remove the -lrt from the makefile.
  • Bender RodriguezBender Rodriguez Entrant Inactive User Role Beginner
    Funnily enough, Im trying to build the same tool but getting this error:


    3 warnings generated.
    Undefined symbols for architecture x86_64:
    "_check_for_a_record", referenced from:
    _process_ibpage in constraints_parser-9aa692.o
    "_error", referenced from:
    _process_ibfile in constraints_parser-9aa692.o
    _open_ibfile in constraints_parser-9aa692.o
    _set_filter_id in constraints_parser-9aa692.o
    _usage in constraints_parser-9aa692.o
    _main in constraints_parser-9aa692.o
    "_make_longlong", referenced from:
    _print_field_value in print_data.o
    "_make_ulonglong", referenced from:
    _get_uint_value in print_data.o
    _get_int_value in print_data.o
    _print_field_value in print_data.o
    "_print_decimal", referenced from:
    _print_field_value in print_data.o
    ld: symbol(s) not found for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make: *** [constraints_parser] Error 1


    my gcc version is:

    Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
    Apple LLVM version 7.0.0 (clang-700.0.72)
    Target: x86_64-apple-darwin14.5.0
    Thread model: posix
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.