Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails on Mac OS X #23

Closed
GoogleCodeExporter opened this issue Aug 14, 2015 · 1 comment
Closed

Build fails on Mac OS X #23

GoogleCodeExporter opened this issue Aug 14, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. ./configure
2. make

What is the expected output? What do you see instead?

Compilation fails straight out of the box with the following error:

if /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I./src  -I./src   -g -O2 -MT thread_lister.lo -MD -MP -MF
".deps/thread_lister.Tpo" -c -o thread_lister.lo `test -f
'src/base/thread_lister.c' || echo './'`src/base/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 -g -O2 -MT thread_lister.lo
-MD -MP -MF .deps/thread_lister.Tpo -c src/base/thread_lister.c 
-fno-common -DPIC -o .libs/thread_lister.o
src/base/thread_lister.c:35:23: error: sys/prctl.h: No such file or directory
src/base/thread_lister.c: In function 'ListAllProcessThreads':
src/base/thread_lister.c:53: error: 'PR_GET_DUMPABLE' undeclared (first use
in this function)
src/base/thread_lister.c:53: error: (Each undeclared identifier is reported
only once
src/base/thread_lister.c:53: error: for each function it appears in.)
src/base/thread_lister.c:55: error: 'PR_SET_DUMPABLE' undeclared (first use
in this function)
make: *** [thread_lister.lo] Error 1


What version of the product are you using? On what operating system?

google-perftools-0.92.tar.gz, on a PowerBook Pro (uname -a: Darwin
tampa.local 8.10.1 Darwin Kernel Version 8.10.1: Wed May 23 16:33:00 PDT
2007; root:xnu-792.22.5~1/RELEASE_I386 i386 i386)

Please provide any additional information below.

Original issue reported on code.google.com by sky...@gmail.com on 28 Jul 2007 at 8:34

@GoogleCodeExporter
Copy link
Author

Yes.  Please see the INSTALL file for information about what parts of perftools 
will
compile on what architectures.  We hope to get better coverage for all systems 
over time.

Original comment by csilv...@gmail.com on 28 Jul 2007 at 11:34

  • Changed state: WontFix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant