sm00th / bitlbee-discord

Bitlbee plugin for Discord (http://discordapp.com)
GNU General Public License v2.0
291 stars 27 forks source link

Compile on Cygwin #148

Closed Stonedestroyer closed 6 years ago

Stonedestroyer commented 6 years ago

Trying to compile in Cygwin results in error, so I have to set make LDFLAGS=-no-undefined as building.

But this results in another error.

.libs/discord_la-discord-websockets.o: In function `discord_ws_remove_event':
/home/Administrator/bitlbee-discord/src/discord-websockets.c:354: undefined reference to `b_event_remove'
/home/Administrator/bitlbee-discord/src/discord-websockets.c:354: undefined reference to `b_event_remove'
/home/Administrator/bitlbee-discord/src/discord-websockets.c:354: undefined reference to `b_event_remove'
/home/Administrator/bitlbee-discord/src/discord-websockets.c:354: undefined reference to `b_event_remove'
/home/Administrator/bitlbee-discord/src/discord-websockets.c:354: undefined reference to `b_event_remove'
.libs/discord_la-discord-websockets.o: In function `discord_ws_cleanup':
/home/Administrator/bitlbee-discord/src/discord-websockets.c:368: undefined reference to `ssl_disconnect'
.libs/discord_la-discord-websockets.o: In function `discord_ws_set_status':
/home/Administrator/bitlbee-discord/src/discord-websockets.c:400: undefined reference to `b_timeout_add'
.libs/discord_la-discord-websockets.o: In function `discord_ws_reconnect':
/home/Administrator/bitlbee-discord/src/discord-websockets.c:171: undefined reference to `imc_logout'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:441: discord.la] Error 1
make[2]: Leaving directory '/home/Administrator/bitlbee-discord/src'
make[1]: *** [Makefile:426: all-recursive] Error 1
make[1]: Leaving directory '/home/Administrator/bitlbee-discord'
make: *** [Makefile:358: all] Error 2

Is Cygwin compiling not supported? I am building off latest Bitlbee as well. I have checked on master and develop branch of master. It seems this issue is related to the makefile, I noticed there was two pull requests but they were reverted.