<div dir="ltr"><div class="gmail_default" style="font-size:x-small">Hi Silas,</div><div class="gmail_default" style="font-size:x-small"><br></div><div class="gmail_default" style="font-size:x-small">No the Cmake was plain vanilla. Here is the build script I used up to 2.2</div><div class="gmail_default" style="font-size:x-small"><br></div><div class="gmail_default"><div class="gmail_default"><font size="1">git clone git://<a href="http://git.warmcat.com/libwebsockets">git.warmcat.com/libwebsockets</a></font></div><div class="gmail_default"><span style="font-size:x-small">cd libwebsockets</span><br></div></div><div class="gmail_default" style="font-size:x-small"><div class="gmail_default">mkdir build</div><div class="gmail_default">cd build</div><div class="gmail_default">cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/export/home/development/3rdparty -G "Unix Makefiles"</div><div class="gmail_default">make</div><div class="gmail_default">make install</div><div class="gmail_default"><br></div><div class="gmail_default">Thank you,</div><div class="gmail_default">Brice.</div><div class="gmail_default"><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 7, 2017 at 11:39 AM, Silas Parker <span dir="ltr"><<a href="mailto:skyhisi+libwebsockets@gmail.com" target="_blank">skyhisi+libwebsockets@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 7 December 2017 at 16:29, Brice Hamon <<a href="mailto:normandviking@gmail.com">normandviking@gmail.com</a>> wrote:<br>
> Hi guys,<br>
><br>
> I upgraded from 2.2 to 2.4 and I am facing a link issue with libwebsockets<br>
> when I tried to compile a simple client test program:<br>
><br>
> g++ -W -Wall -Wpointer-arith -Werror=uninitialized  -g -pipe    -D_REENTRANT<br>
> -D_GNU_SOURCE  -I../ -I/export/home/bhamon/work/bs/<wbr>include<br>
> -I/usr/local/include -I/export/home/development/<wbr>3rdparty/include<br>
> -I/export/home/development/<wbr>tools  -L/export/home/bhamon/work/bs/<wbr>lib<br>
> -L/export/home/bhamon/work/bs/<wbr>lib -L./ -L/usr/local/lib<br>
> -L/export/home/development/<wbr>3rdparty/lib<br>
> -L/export/home/development/<wbr>3rdparty/lib64 -Wl,-E -o wsclient ./wsclient.o<br>
> -lwebsockets -ldl -lpthread<br>
> ./wsclient.o:(.rodata+0xe08): undefined reference to<br>
> `lws_extension_callback_pm_<wbr>deflate'<br>
> ./wsclient.o:(.rodata+0xe20): undefined reference to<br>
> `lws_extension_callback_pm_<wbr>deflate'<br>
> collect2: error: ld returned 1 exit status<br>
><br>
> I checked your test-client program and we have the same code.<br>
> I noticed that you link your program in static. I do use the shared library.<br>
><br>
> Is there anything special I need to add when I compile that .4 version?<br>
><br>
> Thank you,<br>
> Brice.<br>
><br>
</div></div>> ______________________________<wbr>_________________<br>
> Libwebsockets mailing list<br>
> <a href="mailto:Libwebsockets@ml.libwebsockets.org">Libwebsockets@ml.<wbr>libwebsockets.org</a><br>
> <a href="https://libwebsockets.org/mailman/listinfo/libwebsockets" rel="noreferrer" target="_blank">https://libwebsockets.org/<wbr>mailman/listinfo/libwebsockets</a><br>
><br>
<br>
<br>
Hi Brice,<br>
<br>
Have you set LWS_WITHOUT_EXTENSIONS to Off in CMake?<br>
<br>
Thanks,<br>
Silas<br>
______________________________<wbr>_________________<br>
Libwebsockets mailing list<br>
<a href="mailto:Libwebsockets@ml.libwebsockets.org">Libwebsockets@ml.<wbr>libwebsockets.org</a><br>
<a href="https://libwebsockets.org/mailman/listinfo/libwebsockets" rel="noreferrer" target="_blank">https://libwebsockets.org/<wbr>mailman/listinfo/libwebsockets</a><br>
</blockquote></div><br></div>