• Dmitry Safonov's avatar
    make, soccr: let CRIU depend on libsoccr · e2fb30d0
    Dmitry Safonov authored
    As -lsoccr now is in $(LIBS) in Makefile.packages, it should be
    build before criu objects. Otherwise, we try to compile
    feature-tests with $(LIBS) and the succesful features fails with:
      <stdin>:1:25: warning: extra tokens at end of #include directive
      /usr/bin/ld: cannot find -lsoccr
      collect2: error: ld returned 1 exit status
    Which lead to later problems:
      criu/sk-tcp.c:50:8: error: redefinition of 'struct tcp_repair_opt'
       struct tcp_repair_opt {
              ^
      In file included from criu/sk-tcp.c:1:0:
      /usr/include/netinet/tcp.h:259:8: note: originally defined here
       struct tcp_repair_opt
    Because of fails in really-sucessful feture-tests.
    
    P.S.
    Maybe we should unbound feature-tests compilation from $(LIBS),
    specified in Makefile.packages - that looks right after all.
    
    Cc: Cyrill Gorcunov <gorcunov@openvz.org>
    Cc: Pavel Emelyanov <xemul@virtuozzo.com>
    Signed-off-by: 's avatarDmitry Safonov <dsafonov@virtuozzo.com>
    Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
    Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
    e2fb30d0
Name
Last commit
Last update
Documentation Loading commit data...
compel Loading commit data...
contrib Loading commit data...
coredump Loading commit data...
crit Loading commit data...
criu Loading commit data...
images Loading commit data...
include/common Loading commit data...
lib Loading commit data...
scripts Loading commit data...
soccr Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
INSTALL.md Loading commit data...
Makefile Loading commit data...
Makefile.compel Loading commit data...
Makefile.config Loading commit data...
Makefile.install Loading commit data...
Makefile.versions Loading commit data...
README.md Loading commit data...