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

error: 'struct lws_context_creation_info' has no member named 'ws_ping_pong_interval' #475

Closed
itamarjp opened this issue Sep 12, 2020 · 1 comment
Labels

Comments

@itamarjp
Copy link

Fails to build

https://kojipkgs.fedoraproject.org//work/tasks/7375/51317375/build.log

CMakeFiles/ttyd.dir/src/utils.c.o -c /builddir/build/BUILD/ttyd-1.6.1/src/utils.c
[ 83%] Building C object CMakeFiles/ttyd.dir/src/http.c.o
[ 83%] Building C object CMakeFiles/ttyd.dir/src/protocol.c.o
/usr/bin/gcc -DTTYD_VERSION="1.6.1" -I/usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -std=gnu99 -o CMakeFiles/ttyd.dir/src/terminal.c.o -c /builddir/build/BUILD/ttyd-1.6.1/src/terminal.c
/usr/bin/gcc -DTTYD_VERSION="1.6.1" -I/usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -std=gnu99 -o CMakeFiles/ttyd.dir/src/protocol.c.o -c /builddir/build/BUILD/ttyd-1.6.1/src/protocol.c
/usr/bin/gcc -DTTYD_VERSION="1.6.1" -I/usr/include/json-c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -std=gnu99 -o CMakeFiles/ttyd.dir/src/http.c.o -c /builddir/build/BUILD/ttyd-1.6.1/src/http.c
/builddir/build/BUILD/ttyd-1.6.1/src/server.c: In function 'main':
/builddir/build/BUILD/ttyd-1.6.1/src/server.c:453:7: error: 'struct lws_context_creation_info' has no member named 'ws_ping_pong_interval'
453 | info.ws_ping_pong_interval = 5;
| ^
gmake[2]: *** [CMakeFiles/ttyd.dir/build.make:85: CMakeFiles/ttyd.dir/src/server.c.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: Leaving directory '/builddir/build/BUILD/ttyd-1.6.1/x86_64-redhat-linux-gnu'
gmake[1]: Leaving directory '/builddir/build/BUILD/ttyd-1.6.1/x86_64-redhat-linux-gnu'
gmake[1]: *** [CMakeFiles/Makefile2:98: CMakeFiles/ttyd.dir/all] Error 2
gmake: *** [Makefile:152: all] Error 2
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.AqLG9Z (%build)
Bad exit status from /var/tmp/rpm-tmp.AqLG9Z (%build)
Child return code was: 1

@itamarjp itamarjp added the bug label Sep 12, 2020
@tsl0922
Copy link
Owner

tsl0922 commented Sep 12, 2020

It's already fixed on master, but not released yet (see also #452).

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

No branches or pull requests

2 participants