Open fdalvi opened 11 years ago
Figures...not the first time! Thanks for the fixes. I'll try to take a look at this later but below some comments.
I guess there would be a better way to fix the undefined symbols, but the procedure I've used is:
Convolve_SSEEPK
nm
. (nm common_audio_sse2.sinc_resampler_sse.o
in this case)nm
, include that in the bindings.gypYou could skip 4. by looking in the build files to see which file gets compiled where, but usually it's faster to just guess the path since most of the time it's pretty clear.
The libraries need to be included in bindings.gyp in such a way that library A depending on library B is before B in the list. Adding the libraries at the bottom of the list is always safe - but I've tried sorting them somehow based on their paths.
Thank you! I will try out these fixes soon and look deeper into the XOpenDisplay issue!
Good luck! I'll keep this one open until it's fixed in the repository.
There are several hurdles when trying to use the latest source for libjingle and following the instructions in the README.
_peerConnectionFactory->CreatePeerConnection( _iceServers, NULL, NULL, this );
node: symbol lookup error: /path/to/node-peerclient/compiled/linux/x64/peerconnection.node: undefined symbol: XOpenDisplay
This can be solved(again, temporarily) by commenting out line 186 in libjingle/trunk/third_party/webrtc/modules/audio_device/linux/audio_device_alsa_linux.cc Once this is done, node crashes again with:node: symbol lookup error: /path/to/node-peerclient/compiled/linux/x64/peerconnection.node: undefined symbol: _ZN6webrtc13SincResampler12Convolve_SSEEPKfS2_S2_d
This seems to be function in the V8 engine, but apart from recompiling node from source(which I've tried already), there seems to be no other solution.