Error while installing cryoPID on ubuntu 12.04
While installing cryopid on Ubuntu 12.04 i get the following error:

    /tmp/cccoAke5.o: In function `fprintf':
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:98: undefined reference to `__fprintf_chk'
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:98: undefined reference to `__fprintf_chk'
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:98: undefined reference to `__fprintf_chk'
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:98: undefined reference to `__fprintf_chk'
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:98: undefined reference to `__fprintf_chk'
    /tmp/cccoAke5.o: In function `snprintf':
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:65: undefined reference to `__snprintf_chk'
    /tmp/cccoAke5.o: In function `vfprintf':
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:128: undefined reference to `__vfprintf_chk'
    cp_r_sighand.o: In function `rt_sigaction':
    /home/harspras/Downloads/cryopid-0.6.9/src/arch/arch.h:64: undefined reference to `syscall'
    arch/arch_r_objs.o: In function `fprintf':
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:98: undefined reference to `__fprintf_chk'
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:98: undefined reference to `__fprintf_chk'
    /tmp/ccyPQol2.o: In function `fprintf':
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:98: undefined reference to `__fprintf_chk'
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:98: undefined reference to `__fprintf_chk'
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:98: undefined reference to `__fprintf_chk'
    /tmp/ccyPQol2.o:/usr/include/x86_64-linux-gnu/bits/stdio2.h:98: more undefined references to `__fprintf_chk' follow
    ../dietlibc-0.31/bin-x86_64/dietlibc.a(snprintf.o): In function `snprintf':
    snprintf.c:(.text+0x21): undefined reference to `__builtin_stdarg_start'
    ../dietlibc-0.31/bin-x86_64/dietlibc.a(sscanf.o): In function `sscanf':
    sscanf.c:(.text+0x14): undefined reference to `__builtin_stdarg_start'
    ../dietlibc-0.31/bin-x86_64/dietlibc.a(fprintf.o): In function `fprintf':
    fprintf.c:(.text+0x14): undefined reference to `__builtin_stdarg_start'
    collect2: ld returned 1 exit status
    make: *** [stub-gzip] Error 1


What should be done? Please help. I tried installing dietlibc from source but no luck as such. if i use 
    
    make 'CC=diet gcc'

then following error occurs:

    In file included from cryopid.h:20,
                     from common.c:20:
    arch/arch.h:56: error: expected specifier-qualifier-list before ‘__sighandler_t’
    In file included from cryopid.h:20,
                     from writer_gzip.c:18:
    arch/arch.h:56: error: expected specifier-qualifier-list before ‘__sighandler_t’
    make: *** [stub-gzip] Error 1

I have also tried including signal.h in arch.h but nothing changed. Please suggest what to do?
Error while installing cryoPID on ubuntu 12.04
===

While installing cryopid on Ubuntu 12.04 i get the following error:

    /tmp/cccoAke5.o: In function `fprintf':
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:98: undefined reference to `__fprintf_chk'
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:98: undefined reference to `__fprintf_chk'
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:98: undefined reference to `__fprintf_chk'
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:98: undefined reference to `__fprintf_chk'
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:98: undefined reference to `__fprintf_chk'
    /tmp/cccoAke5.o: In function `snprintf':
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:65: undefined reference to `__snprintf_chk'
    /tmp/cccoAke5.o: In function `vfprintf':
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:128: undefined reference to `__vfprintf_chk'
    cp_r_sighand.o: In function `rt_sigaction':
    /home/harspras/Downloads/cryopid-0.6.9/src/arch/arch.h:64: undefined reference to `syscall'
    arch/arch_r_objs.o: In function `fprintf':
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:98: undefined reference to `__fprintf_chk'
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:98: undefined reference to `__fprintf_chk'
    /tmp/ccyPQol2.o: In function `fprintf':
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:98: undefined reference to `__fprintf_chk'
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:98: undefined reference to `__fprintf_chk'
    /usr/include/x86_64-linux-gnu/bits/stdio2.h:98: undefined reference to `__fprintf_chk'
    /tmp/ccyPQol2.o:/usr/include/x86_64-linux-gnu/bits/stdio2.h:98: more undefined references to `__fprintf_chk' follow
    ../dietlibc-0.31/bin-x86_64/dietlibc.a(snprintf.o): In function `snprintf':
    snprintf.c:(.text+0x21): undefined reference to `__builtin_stdarg_start'
    ../dietlibc-0.31/bin-x86_64/dietlibc.a(sscanf.o): In function `sscanf':
    sscanf.c:(.text+0x14): undefined reference to `__builtin_stdarg_start'
    ../dietlibc-0.31/bin-x86_64/dietlibc.a(fprintf.o): In function `fprintf':
    fprintf.c:(.text+0x14): undefined reference to `__builtin_stdarg_start'
    collect2: ld returned 1 exit status
    make: *** [stub-gzip] Error 1


What should be done? Please help. I tried installing dietlibc from source but no luck as such. if i use 
    
    make 'CC=diet gcc'

then following error occurs:

    In file included from cryopid.h:20,
                     from common.c:20:
    arch/arch.h:56: error: expected specifier-qualifier-list before ‘__sighandler_t’
    In file included from cryopid.h:20,
                     from writer_gzip.c:18:
    arch/arch.h:56: error: expected specifier-qualifier-list before ‘__sighandler_t’
    make: *** [stub-gzip] Error 1

I have also tried including signal.h in arch.h but nothing changed. Please suggest what to do?