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

issue with compilation of gperftools-2.0 #519

Closed
alk opened this issue Aug 23, 2015 · 2 comments
Closed

issue with compilation of gperftools-2.0 #519

alk opened this issue Aug 23, 2015 · 2 comments

Comments

@alk
Copy link
Contributor

alk commented Aug 23, 2015

Originally reported on Google Code with ID 516

What steps will reproduce the problem?
1. ./configure CXXFLAGS=-DTCMALLOC_SMALL_BUT_SLOW
2. make
3.

What is the expected output? What do you see instead?
I am getting following error after make:
 symbol                             in file
__xnet_socketpair                   ./.libs/libtcmalloc_debug.so
ld: fatal: symbol referencing errors. No output written to .libs/debugallocation_test
collect2: ld returned 1 exit status
make: *** [debugallocation_test] Error 1

Is there any other parameter required for configure command?

What version of the product are you using? On what operating system?
Solaris 
SunOS joey 5.10 Generic_147441-07 i86pc i386 i86pc Solaris


Please provide any additional information below.

Reported by gssonal on 2013-03-26 10:11:34

@alk
Copy link
Contributor Author

alk commented Aug 23, 2015

apparently socketpair needs -lsocket on solaris.

Try doing something like ./configure "LDFLAGS=-lsocket"

Reported by alkondratenko on 2013-07-06 22:27:57

@alk
Copy link
Contributor Author

alk commented Aug 23, 2015

Reported by alkondratenko on 2013-07-06 22:36:54

@alk alk closed this as completed Aug 23, 2015
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