pkorotkov / google-coredumper

Automatically exported from code.google.com/p/google-coredumper
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

do it had freebsd version #12

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
$ uname -a
FreeBSD locklhost.ll 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 
UTC 2009     root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
$ make
if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. 
-I./src  -I./src  -fno-omit-frame-pointer -g -O2 -MT thread_lister.lo -MD -MP 
-MF ".deps/thread_lister.Tpo" -c -o thread_lister.lo `test -f 
'src/thread_lister.c' || echo './'`src/thread_lister.c; \
then mv -f ".deps/thread_lister.Tpo" ".deps/thread_lister.Plo"; else rm -f 
".deps/thread_lister.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I./src -I./src -fno-omit-frame-pointer -g -O2 -MT thread_lister.lo -MD -MP -MF .deps/thread_lister.Tpo -c src/thread_lister.c  -fPIC -DPIC -o .libs/thread_lister.o
src/thread_lister.c:35:23: error: sys/prctl.h: No such file or directory
src/thread_lister.c: In function 'ListAllProcessThreads':
src/thread_lister.c:53: error: 'PR_GET_DUMPABLE' undeclared (first use in this 
function)
src/thread_lister.c:53: error: (Each undeclared identifier is reported only once
src/thread_lister.c:53: error: for each function it appears in.)
src/thread_lister.c:55: error: 'PR_SET_DUMPABLE' undeclared (first use in this 
function)

Original issue reported on code.google.com by huangjie...@gmail.com on 25 Dec 2012 at 9:18