You are not logged in.

#1 2013-04-06 03:19:57

From: Brazil
Registered: 2011-08-05
Posts: 62

cryopid compiling issues

Hello, I was trying to compile cryopid ( and got stuck on this error, that I'm not sure if it is an Arch or an developer issue:

common.c: In function ‘myfork’:
common.c:15:12: error: ‘__NR_fork’ undeclared (first use in this function)
      : "0"(__NR_fork));
common.c:15:12: note: each undeclared identifier is reported only once for each function it appears in
common.c: In function ‘get_task_size_child’:
common.c:22:12: error: ‘__NR_mmap’ undeclared (first use in this function)
      : "a"(__NR_mmap),
make[1]: *** [common.o] Error 1

First of all, to get here I had to made some modifications:

  • Modify the line 5 on src/Makefile to:

    ARCH=$(shell uname -m)
  • Link the asm-generic to the asm folder inside the source dir (I did a backup too, just to be safe):

    ln -s /usr/src/linux-3.8.5-1-ARCH/include/asm-generic/ ./arch/asm

Then I got stuck. I also reported to the developer as It sounds its problem. What do you think?

"Nothing is impossible, impossible just takes longer"


Board footer

Powered by FluxBB