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

Incompatible with latest Git commit of libwebsockets. #3

Closed
Ranndom opened this issue Dec 6, 2015 · 1 comment
Closed

Incompatible with latest Git commit of libwebsockets. #3

Ranndom opened this issue Dec 6, 2015 · 1 comment
Labels

Comments

@Ranndom
Copy link
Contributor

Ranndom commented Dec 6, 2015

After installing libwebsockets-git from the Arch Linux AUR using the latest Git commit, trying to make bitlbee-discord gives the following error:

gcc `pkg-config --cflags bitlbee` -fPIC -Wall -g3 -ggdb -O0 -std=gnu99 -c -o discord.o src/discord.c
gcc `pkg-config --cflags bitlbee` -fPIC -Wall -g3 -ggdb -O0 -std=gnu99 -c -o discord-http.o src/discord-http.c
gcc `pkg-config --cflags bitlbee` -fPIC -Wall -g3 -ggdb -O0 -std=gnu99 -c -o discord-websockets.o src/discord-websockets.c
src/discord-websockets.c: In functiondiscord_ws_callback’:
src/discord-websockets.c:107:45: error: dereferencing pointer to incomplete typestruct libwebsocket_pollargsdd->main_loop_id = b_input_add(pargs->fd, B_EV_IO_READ,
                                             ^
src/discord-websockets.c:119:18: error: dereferencing pointer to incomplete typestruct libwebsocket_pollargsif (pargs->events & POLLIN) {
                  ^
Makefile:13: recipe for target 'discord-websockets.o' failed
make: *** [discord-websockets.o] Error 1

Compiling using libwebsockets v1.5-chrome47-firefox41 worked.

sm00th added a commit that referenced this issue Dec 6, 2015
libwebsockets recently changed one of the structure's names from
libwebsockets_pollargs to lws_pollargs. Updating so that bitlbee-discord builds
with libwebsockets version from git.

This fixes issue #3 from github.
@sm00th sm00th added the bug label Dec 6, 2015
@sm00th
Copy link
Owner

sm00th commented Dec 6, 2015

Fixed, thank you.

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