[CRIU] Can not build crtools with -j 32

Andrey Vagin avagin at parallels.com
Tue Aug 7 11:55:07 EDT 2012


[root at dhcp-10-30-20-19 crtools]# make -j 32
  GEN      syscall-x86-64.S
  PROTOBUF inventory.pb-c.c
  PROTOBUF fdinfo.pb-c.c
  PROTOBUF fown.pb-c.c
  PROTOBUF regfile.pb-c.c
  PROTOBUF ghost-file.pb-c.c
  PROTOBUF fifo.pb-c.c
  PROTOBUF remap-file-path.pb-c.c
  PROTOBUF eventfd.pb-c.c
  PROTOBUF eventpoll.pb-c.c
  CC       syscall-x86-64.o
  PROTOBUF fh.pb-c.c
  PROTOBUF inotify.pb-c.c
  PROTOBUF signalfd.pb-c.c
  PROTOBUF fs.pb-c.c
  PROTOBUF pstree.pb-c.c
  PROTOBUF pipe.pb-c.c
  PROTOBUF tcp-stream.pb-c.c
  CC       parasite-head-x86-64.o
  CC       parasite-util-net.o
  PROTOBUF sk-packet.pb-c.c
  CC       restorer.o
  PROTOBUF mnt.pb-c.c
  CC       restorer-log.o
  PROTOBUF pipe-data.pb-c.c
  CC       parasite.o
  PROTOBUF sa.pb-c.c
  PROTOBUF itimer.pb-c.c
  PROTOBUF mm.pb-c.c
  PROTOBUF sk-unix.pb-c.c
  PROTOBUF sk-opts.pb-c.c
  PROTOBUF sk-inet.pb-c.c
  PROTOBUF ipc-var.pb-c.c
In file included from restorer.c:19:
./include/util.h:19:34: error: ../protobuf/vma.pb-c.h: No such file or
directory
In file included from ./include/protobuf.h:6,
                 from ./include/sockets.h:10,
                 from ./include/parasite.h:14,
                 from parasite.c:4:
./include/util.h:19:34: error: ../protobuf/vma.pb-c.h: No such file or
directory
In file included from restorer.c:22:
./include/crtools.h:187: error: expected specifier-qualifier-list before
‘VmaEntry’
./include/crtools.h: In function ‘in_vma_area’:
./include/crtools.h:207: error: ‘struct vma_area’ has no member named
‘vma’
./include/crtools.h:208: error: ‘struct vma_area’ has no member named
‘vma’
  PROTOBUF ipc-desc.pb-c.c
In file included from parasite.c:4:
./include/parasite.h:49: error: expected specifier-qualifier-list before
‘VmaEntry’
parasite.c:105: error: expected ‘)’ before ‘*’ token
parasite.c: In function ‘dump_pages’:
parasite.c:155: error: ‘struct parasite_dump_pages_args’ has no member
named ‘nrpages_dumped’
parasite.c:156: error: ‘struct parasite_dump_pages_args’ has no member
named ‘nrpages_skipped’
parasite.c:159: error: ‘struct parasite_dump_pages_args’ has no member
named ‘vma_entry’
parasite.c:160: error: ‘struct parasite_dump_pages_args’ has no member
named ‘vma_entry’
parasite.c:160: error: ‘struct parasite_dump_pages_args’ has no member
named ‘vma_entry’
parasite.c:161: error: ‘struct parasite_dump_pages_args’ has no member
named ‘nrpages_total’
parasite.c:201: error: ‘struct parasite_dump_pages_args’ has no member
named ‘vma_entry’
parasite.c:202: error: ‘struct parasite_dump_pages_args’ has no member
named ‘vma_entry’
parasite.c:204: error: ‘struct parasite_dump_pages_args’ has no member
named ‘vma_entry’
parasite.c:205: error: ‘struct parasite_dump_pages_args’ has no member
named ‘vma_entry’
parasite.c:205: error: ‘struct parasite_dump_pages_args’ has no member
named ‘vma_entry’
cc1: warnings being treated as errors
parasite.c:217: error: implicit declaration of function
‘should_dump_page’
parasite.c:217: error: ‘struct parasite_dump_pages_args’ has no member
named ‘vma_entry’
parasite.c:222: error: ‘struct parasite_dump_pages_args’ has no member
named ‘vma_entry’
parasite.c:231: error: ‘struct parasite_dump_pages_args’ has no member
named ‘nrpages_dumped’
parasite.c:233: error: ‘struct parasite_dump_pages_args’ has no member
named ‘nrpages_skipped’
parasite.c:240: error: ‘struct parasite_dump_pages_args’ has no member
named ‘vma_entry’
parasite.c:241: error: ‘struct parasite_dump_pages_args’ has no member
named ‘vma_entry’
parasite.c:241: error: ‘struct parasite_dump_pages_args’ has no member
named ‘vma_entry’
In file included from restorer.c:24  PROTOBUF ipc-shm.pb-c.c
:
./include/restorer.h:16:36: error: ../protobuf/creds.pb-c.h: No such
file or directory
./include/restorer.h:17:35: error: ../protobuf/core.pb-c.h: No such file
or directory
In file included from restorer.c:24:
./include/restorer.h: At top level:
./include/restorer.h:65: error: expected specifier-qualifier-list before
‘UserX86RegsEntry’
./include/restorer.h:85: error: expected specifier-qualifier-list before
‘VmaEntry’
restorer.c:26:33:make: *** [parasite.o] Error 1
make: *** Waiting for unfinished jobs....
 error: protobuf/creds.pb-c.h: No such file or directory
restorer.c:55: error: expected ‘)’ before ‘*’ token
restorer.c: In function ‘__export_restore_thread’:
restorer.c:145: error: ‘struct thread_restore_args’ has no member named
‘clear_tid_addr’
restorer.c:152: error: ‘struct thread_restore_args’ has no member named
‘gpregs’
restorer.c:153: error: ‘struct thread_restore_args’ has no member named
‘gpregs’
restorer.c:154: error: ‘struct thread_restore_args’ has no member named
‘gpregs’
restorer.c:155: error: ‘struct thread_restore_args’ has no member named
‘gpregs’
restorer.c:156: error: ‘struct thread_restore_args’ has no member named
‘gpregs’
restorer.c:157: error: ‘struct thread_restore_args’ has no member named
‘gpregs’
restorer.c:158: error: ‘struct thread_restore_args’ has no member named
‘gpregs’
restorer.c:159: error: ‘struct thread_restore_args’ has no member named
‘gpregs’
restorer.c:160: error: ‘struct thread_restore_args’ has no member named
‘gpregs’
restorer.c:161: error: ‘struct thread_restore_args’ has no member named
‘gpregs’
restorer.c:162: error: ‘struct thread_restore_args’ has no member named
‘gpregs’
restorer.c:163: error: ‘struct thread_restore_args’ has no member named
‘gpregs’
restorer.c:164: error: ‘struct thread_restore_args’ has no member named
‘gpregs’
restorer.c:165: error: ‘struct thread_restore_args’ has no member named
‘gpregs’
restorer.c:166: error: ‘struct thread_restore_args’ has no member named
‘gpregs’
restorer.c:167: error: ‘struct thread_restore_args’ has no member named
‘gpregs’
restorer.c:168: error: ‘struct thread_restore_args’ has no member named
‘gpregs’
restorer.c:169: error: ‘struct thread_restore_args’ has no member named
‘gpregs’
restorer.c:170: error: ‘struct thread_restore_args’ has no member named
‘gpregs’
restorer.c:171: error: ‘struct thread_restore_args’ has no member named
‘gpregs’
restorer.c:172: error: ‘struct thread_restore_args’ has no member named
‘gpregs’
restorer.c:174: error: ‘struct thread_restore_args’ has no member named
‘gpregs’
restorer.c:182: error: ‘struct thread_restore_args’ has no member named
‘gpregs’
cc1: warnings being treated as errors
restorer.c:198: error: implicit declaration of function ‘restore_creds’
restorer.c: At top level:
restorer.c:235: error: type defaults to ‘int’ in declaration of
‘VmaEntry’
restorer.c:235: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
restorer.c: In function ‘__export_restore_task’:
restorer.c:285: error: ‘VmaEntry’ undeclared (first use in this
function)
restorer.c:285: error: (Each undeclared identifier is reported only once
restorer.c:285: error: for each function it appears in.)
restorer.c:285: error: ‘vma_entry’ undeclared (first use in this
function)
restorer.c:300: error: ‘struct task_restore_core_args’ has no member
named ‘self_vmas’
restorer.c:317: error: ‘struct task_restore_core_args’ has no member
named ‘self_vmas’
restorer.c:318: error: ‘struct task_restore_core_args’ has no member
named ‘self_vmas’
restorer.c:323: error: ‘struct task_restore_core_args’ has no member
named ‘tgt_vmas’
restorer.c:327: error: implicit declaration of function
‘restore_mapping’
restorer.c:370: error: ‘struct task_restore_core_args’ has no member
named ‘tgt_vmas’
restorer.c:392: error: ‘struct task_restore_core_args’ has no member
named ‘tgt_vmas’
restorer.c:393: error: ‘struct task_restore_core_args’ has no member
named ‘tgt_vmas’
restorer.c:402: error: ‘struct task_restore_core_args’ has no member
named ‘clear_tid_addr’
restorer.c:407: error: ‘struct task_restore_core_args’ has no member
named ‘comm’
restorer.c:409: error: ‘struct task_restore_core_args’ has no member
named ‘mm’
restorer.c:410: error: ‘struct task_restore_core_args’ has no member
named ‘mm’
restorer.c:411: error: ‘struct task_restore_core_args’ has no member
named ‘mm’
restorer.c:412: error: ‘struct task_restore_core_args’ has no member
named ‘mm’
restorer.c:413: error: ‘struct task_restore_core_args’ has no member
named ‘mm’
restorer.c:414: error: ‘struct task_restore_core_args’ has no member
named ‘mm’
restorer.c:415: error: ‘struct task_restore_core_args’ has no member
named ‘mm’  PROTOBUF ipc-msg.pb-c.c

restorer.c:416: error: ‘struct task_restore_core_args’ has no member
named ‘mm’
restorer.c:417: error: ‘struct task_restore_core_args’ has no member
named ‘mm’
restorer.c:418: error: ‘struct task_restore_core_args’ has no member
named ‘mm’
restorer.c:419: error: ‘struct task_restore_core_args’ has no member
named ‘mm’
restorer.c:420: error: ‘struct task_restore_core_args’ has no member
named ‘mm_saved_auxv’
restorer.c:420: error: ‘struct task_restore_core_args’ has no member
named ‘mm_saved_auxv’
restorer.c:446: error: ‘struct task_restore_core_args’ has no member
named ‘gpregs’
restorer.c:447: error: ‘struct task_restore_core_args’ has no member
named ‘gpregs’
restorer.c:448: error: ‘struct task_restore_core_args’ has no member
named ‘gpregs’
restorer.c:449: error: ‘struct task_restore_core_args’ has no member
named ‘gpregs’
restorer.c:450: error: ‘struct task_restore_core_args’ has no member
named ‘gpregs’
restorer.c:451: error: ‘struct task_restore_core_args’ has no member
named ‘gpregs’
restorer.c:452: error: ‘struct task_restore_core_args’ has no member
named ‘gpregs’
restorer.c:453: error: ‘struct task_restore_core_args’ has no member
named ‘gpregs’
restorer.c:454: error: ‘struct task_restore_core_args’ has no member
named ‘gpregs’
restorer.c:455: error: ‘struct task_restore_core_args’ has no member
named ‘gpregs’
restorer.c:456: error: ‘struct task_restore_core_args’ has no member
named ‘gpregs’
restorer.c:457: error: ‘struct task_restore_core_args’ has no member
named ‘gpregs’
restorer.c:463: error: ‘struct task_restore_core_args’ has no member
named ‘gpregs’
restorer.c:464: error: ‘struct task_restore_core_args’ has no member
named ‘gpregs’
restorer.c:465: error: ‘struct task_restore_core_args’ has no member
named ‘gpregs’
restorer.c:466: error: ‘struct task_restore_core_args’ has no member
named ‘gpregs’
restorer.c:468: error: ‘struct task_restore_core_args’ has no member
named ‘gpregs’
restorer.c:476: error: ‘struct task_restore_core_args’ has no member
named ‘gpregs’
restorer.c:487: error: ‘struct task_restore_core_args’ has no member
named ‘blk_sigset’
  PROTOBUF ipc-sem.pb-c.c
restorer.c:609: error: ‘struct task_restore_core_args’ has no member
named ‘creds’
restorer.c:618: error: ‘struct task_restore_core_args’ has no member
named ‘sigchld_act’
restorer.c:635: error: ‘struct task_restore_core_args’ has no member
named ‘itimers’
restorer.c:635: error: ‘struct task_restore_core_args’ has no member
named ‘itimers’
restorer.c:636: error: ‘struct task_restore_core_args’ has no member
named ‘itimers’
restorer.c:637: error: ‘struct task_restore_core_args’ has no member
named ‘itimers’
restorer.c:637: error: ‘struct task_restore_core_args’ has no member
named ‘itimers’
restorer.c:638: error: ‘struct task_restore_core_args’ has no member
named ‘itimers’
restorer.c:639: error: ‘struct task_restore_core_args’ has no member
named ‘itimers’
restorer.c:639: error: ‘struct task_restore_core_args’ has no member
named ‘itimers’
restorer.c:640: error: ‘struct task_restore_core_args’ has no member
named ‘itimers’
make: *** [restorer.o] Error 1
  PROTOBUF utsns.pb-c.c
  PROTOBUF creds.pb-c.c
  PROTOBUF vma.pb-c.c
  PROTOBUF netdev.pb-c.c
  PROTOBUF core.pb-c.c
  CC       inventory.pb-c.o
  CC       fdinfo.pb-c.o
  CC       fown.pb-c.o
  CC       regfile.pb-c.o
  CC       ghost-file.pb-c.o
  CC       fifo.pb-c.o
  CC       remap-file-path.pb-c.o
  CC       eventfd.pb-c.o
  CC       eventpoll.pb-c.o
  CC       fh.pb-c.o
  CC       inotify.pb-c.o
  CC       signalfd.pb-c.o
  CC       fs.pb-c.o
  CC       pstree.pb-c.o
  CC       pipe.pb-c.o
  CC       tcp-stream.pb-c.o
  CC       sk-packet.pb-c.o
  CC       mnt.pb-c.o
  CC       pipe-data.pb-c.o
  CC       sa.pb-c.o
  CC       itimer.pb-c.o
  CC       mm.pb-c.o
  CC       sk-opts.pb-c.o
  CC       sk-inet.pb-c.o
  CC       sk-unix.pb-c.o
  CC       ipc-var.pb-c.o
  CC       ipc-desc.pb-c.o
  CC       ipc-shm.pb-c.o
  CC       ipc-msg.pb-c.o
  CC       ipc-sem.pb-c.o
  CC       utsns.pb-c.o
  CC       creds.pb-c.o
  CC       vma.pb-c.o
  CC       core.pb-c.o
  CC       netdev.pb-c.o
  LINK     protobuf-lib.o



More information about the CRIU mailing list