You are not logged in.
Pages: 1
Hello, I was trying to compile cryopid (http://sourceforge.net/projects/cryopid2/) 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?
Sincerely,
- "Nothing is impossible, impossible just takes longer"
- My Arch Linux Mirror located in São Paulo, Brazil: http://archmirror.duckdns.org:9000/
Offline
Pages: 1