Closed Ranndom closed 8 years ago
After installing libwebsockets-git from the Arch Linux AUR using the latest Git commit, trying to make bitlbee-discord gives the following error:
make
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 function ‘discord_ws_callback’: src/discord-websockets.c:107:45: error: dereferencing pointer to incomplete type ‘struct libwebsocket_pollargs’ dd->main_loop_id = b_input_add(pargs->fd, B_EV_IO_READ, ^ src/discord-websockets.c:119:18: error: dereferencing pointer to incomplete type ‘struct libwebsocket_pollargs’ if (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.
Fixed, thank you.
After installing libwebsockets-git from the Arch Linux AUR using the latest Git commit, trying to
make
bitlbee-discord gives the following error:Compiling using libwebsockets v1.5-chrome47-firefox41 worked.