Comment 2 for bug 1326368

Revision history for this message
DenisM (b48) wrote :

The 1st hint didn't help:

$ cmake .

..............
CMake Warning at CMakeLists.txt:30 (add_executable):
  Cannot generate a safe runtime search path for target mydumper because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libpthread.so] in /usr/lib64 may be hidden by files in:
      /lib64

  Some of these libraries may not be found correctly.

CMake Warning at CMakeLists.txt:33 (add_executable):
  Cannot generate a safe runtime search path for target myloader because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libpthread.so] in /usr/lib64 may be hidden by files in:
      /lib64

  Some of these libraries may not be found correctly.

-- Generating done
-- Build files have been written to: /home/mdb/src/mydumper-0.6.1

$ make

Linking C executable mydumper
CMakeFiles/mydumper.dir/binlog.c.o: In function `get_binlog_file':
/home/mdb/src/mydumper-0.6.1/binlog.c:160: undefined reference to `my_net_read'
collect2: ld returned 1 exit status
make[2]: *** [mydumper] Error 1
make[1]: *** [CMakeFiles/mydumper.dir/all] Error 2
make: *** [all] Error 2

However, the trunk compiled successfully. Thanks a lot.