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

Unknown Error #331

Open
Muhammad-Mubeen opened this issue May 9, 2017 · 2 comments
Open

Unknown Error #331

Muhammad-Mubeen opened this issue May 9, 2017 · 2 comments

Comments

@Muhammad-Mubeen
Copy link

Does anyone has idea related to this issue?

g++ -shared -o idextension.so main.o -lphpcpp
/usr/bin/ld: _ZN3Php3outE: TLS reference in main.o mismatches non-TLS definition in /usr/lib/gcc/x86_64-linux-gnu/4.9/libphpcpp.so section .bss
/usr/lib/gcc/x86_64-linux-gnu/4.9/libphpcpp.so: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
Makefile:124: recipe for target 'idextension.so' failed
make: *** [idextension.so] Error 1

@sjinks
Copy link
Contributor

sjinks commented May 9, 2017

Did you build php-cpp with the same g++ 4.9?

@guweigang
Copy link
Contributor

Maybe the php you depend now is not the one libphpcpp built against.
One is TS, the other one is NTS.

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

No branches or pull requests

3 participants