We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hey, Trying to build the library on the Teltonika SDK (RUT906 version, files here https://wiki.teltonika-networks.com/view/Software_Development_Kit).
Getting the error below for all versions of libwebsockets from 3.1.0 to 4.3.3.
Happening with full and openssl versions, mbedtls version is building.
[ 1%] Building C object lib/CMakeFiles/websockets.dir/plat/unix/unix-caps.c.o In file included from /home/ubuntu/rutos-ramips-rut9m-sdk/build_dir/target-mipsel_24kc_musl/libwebsockets-full/libwebsockets-4.3.3/include/libwebsockets.h:665, from /home/ubuntu/rutos-ramips-rut9m-sdk/build_dir/target-mipsel_24kc_musl/libwebsockets-full/libwebsockets-4.3.3/lib/core/./private-lib-core.h:144, from /home/ubuntu/rutos-ramips-rut9m-sdk/build_dir/target-mipsel_24kc_musl/libwebsockets-full/libwebsockets-4.3.3/lib/plat/unix/unix-caps.c:28: /home/ubuntu/rutos-ramips-rut9m-sdk/build_dir/target-mipsel_24kc_musl/libwebsockets-full/libwebsockets-4.3.3/include/libwebsockets/lws-genrsa.h:51:2: error: unknown type name 'RSA' RSA *rsa; ^~~ make[5]: *** [lib/CMakeFiles/websockets.dir/build.make:76: lib/CMakeFiles/websockets.dir/plat/unix/unix-caps.c.o] Error 1 make[5]: Leaving directory '/home/ubuntu/rutos-ramips-rut9m-sdk/build_dir/target-mipsel_24kc_musl/libwebsockets-full/libwebsockets-4.3.3' make[4]: *** [CMakeFiles/Makefile2:1330: lib/CMakeFiles/websockets.dir/all] Error 2 make[4]: Leaving directory '/home/ubuntu/rutos-ramips-rut9m-sdk/build_dir/target-mipsel_24kc_musl/libwebsockets-full/libwebsockets-4.3.3' make[3]: *** [Makefile:166: all] Error 2 make[3]: Leaving directory '/home/ubuntu/rutos-ramips-rut9m-sdk/build_dir/target-mipsel_24kc_musl/libwebsockets-full/libwebsockets-4.3.3' make[2]: *** [Makefile:116: /home/ubuntu/rutos-ramips-rut9m-sdk/build_dir/target-mipsel_24kc_musl/libwebsockets-full/libwebsockets-4.3.3/.built] Error 2 make[2]: Leaving directory '/home/ubuntu/rutos-ramips-rut9m-sdk/feeds/packages/libs/libwebsockets' time: package/feeds/packages/libwebsockets/full/compile#0.40#0.21#0.58 ERROR: package/feeds/packages/libwebsockets failed to build (build variant: full). make[1]: *** [package/Makefile:131: package/feeds/packages/libwebsockets/compile] Error 1 make[1]: Leaving directory '/home/ubuntu/rutos-ramips-rut9m-sdk' make: *** [/home/ubuntu/rutos-ramips-rut9m-sdk/include/toplevel.mk:249: package/feeds/bacnet/bacnet-stack/compile] Error 2
The text was updated successfully, but these errors were encountered:
Tried with openssl 3.0.14 and 3.0.15.
Sorry, something went wrong.
Hm... your Openssl is v3 which is a lot more recent than lws v3, it will not know how to work with it.
Do you need LWS_WITH_GENCRYPTO enabled at cmake? It's not enabled by default on current lws. If not, turn it off.
No branches or pull requests
Hey,
Trying to build the library on the Teltonika SDK (RUT906 version, files here https://wiki.teltonika-networks.com/view/Software_Development_Kit).
Getting the error below for all versions of libwebsockets from 3.1.0 to 4.3.3.
Happening with full and openssl versions, mbedtls version is building.
[ 1%] Building C object lib/CMakeFiles/websockets.dir/plat/unix/unix-caps.c.o
In file included from /home/ubuntu/rutos-ramips-rut9m-sdk/build_dir/target-mipsel_24kc_musl/libwebsockets-full/libwebsockets-4.3.3/include/libwebsockets.h:665,
from /home/ubuntu/rutos-ramips-rut9m-sdk/build_dir/target-mipsel_24kc_musl/libwebsockets-full/libwebsockets-4.3.3/lib/core/./private-lib-core.h:144,
from /home/ubuntu/rutos-ramips-rut9m-sdk/build_dir/target-mipsel_24kc_musl/libwebsockets-full/libwebsockets-4.3.3/lib/plat/unix/unix-caps.c:28:
/home/ubuntu/rutos-ramips-rut9m-sdk/build_dir/target-mipsel_24kc_musl/libwebsockets-full/libwebsockets-4.3.3/include/libwebsockets/lws-genrsa.h:51:2: error: unknown type name 'RSA'
RSA *rsa;
^~~
make[5]: *** [lib/CMakeFiles/websockets.dir/build.make:76: lib/CMakeFiles/websockets.dir/plat/unix/unix-caps.c.o] Error 1
make[5]: Leaving directory '/home/ubuntu/rutos-ramips-rut9m-sdk/build_dir/target-mipsel_24kc_musl/libwebsockets-full/libwebsockets-4.3.3'
make[4]: *** [CMakeFiles/Makefile2:1330: lib/CMakeFiles/websockets.dir/all] Error 2
make[4]: Leaving directory '/home/ubuntu/rutos-ramips-rut9m-sdk/build_dir/target-mipsel_24kc_musl/libwebsockets-full/libwebsockets-4.3.3'
make[3]: *** [Makefile:166: all] Error 2
make[3]: Leaving directory '/home/ubuntu/rutos-ramips-rut9m-sdk/build_dir/target-mipsel_24kc_musl/libwebsockets-full/libwebsockets-4.3.3'
make[2]: *** [Makefile:116: /home/ubuntu/rutos-ramips-rut9m-sdk/build_dir/target-mipsel_24kc_musl/libwebsockets-full/libwebsockets-4.3.3/.built] Error 2
make[2]: Leaving directory '/home/ubuntu/rutos-ramips-rut9m-sdk/feeds/packages/libs/libwebsockets'
time: package/feeds/packages/libwebsockets/full/compile#0.40#0.21#0.58
ERROR: package/feeds/packages/libwebsockets failed to build (build variant: full).
make[1]: *** [package/Makefile:131: package/feeds/packages/libwebsockets/compile] Error 1
make[1]: Leaving directory '/home/ubuntu/rutos-ramips-rut9m-sdk'
make: *** [/home/ubuntu/rutos-ramips-rut9m-sdk/include/toplevel.mk:249: package/feeds/bacnet/bacnet-stack/compile] Error 2
The text was updated successfully, but these errors were encountered: