pikvm / ustreamer

µStreamer - Lightweight and fast MJPEG-HTTP streamer
https://pikvm.org
GNU General Public License v3.0
1.69k stars 226 forks source link

Error compiling on Raspbian Raspbian GNU/Linux 8 (jessie) #5

Closed dandfra closed 5 years ago

dandfra commented 5 years ago

in the linking phase it says that the symbol libevent_global_shutdown is missing (in the compilethere is a warning). I workarounded by commenting out (it's used to cleanup before destroy, but is not really neded)

mdevaev commented 5 years ago

Which version of libevent you used?

dandfra commented 5 years ago

r $ apt list --installed | grep libevent

WARNING: apt does not have a stable CLI interface yet. Use with caution in scripts.

libevent-2.0-5/oldstable,now 2.0.21-stable-2+deb8u1 armhf [installed,automatic] libevent-core-2.0-5/oldstable,now 2.0.21-stable-2+deb8u1 armhf [installed,automatic] libevent-dev/oldstable,now 2.0.21-stable-2+deb8u1 armhf [installed] libevent-extra-2.0-5/oldstable,now 2.0.21-stable-2+deb8u1 armhf [installed,automatic] libevent-openssl-2.0-5/oldstable,now 2.0.21-stable-2+deb8u1 armhf [installed,automatic] libevent-pthreads-2.0-5/oldstable,now 2.0.21-stable-2+deb8u1 armhf [installed]

Il giorno venerdì 17 maggio 2019, Maxim Devaev notifications@github.com ha scritto:

Which version of libevent you used?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pi-kvm/ustreamer/issues/5?email_source=notifications&email_token=AH46AROSFFDB4PJAYJDML4TPV2YKDA5CNFSM4HNVADO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVUYY2Y#issuecomment-493456491, or mute the thread https://github.com/notifications/unsubscribe-auth/AH46ARPSPQUQPXGG565NQ6LPV2YKDANCNFSM4HNVADOQ .

mdevaev commented 5 years ago

Gotcha. libevent_global_shutdown() was implemented in version 2.1.1. I've added additional check for this. Please try it from master. Also I recommend to use a newer version of libevent because it's being actively developed and contains many bugfixes.

dandfra commented 5 years ago

Ok, I confirm that now it compiles, thanks a lot. FYI libevent 2.0 is the version in both jesse and stretch (https://packages.debian.org/search?keywords=libevent).

mdevaev commented 5 years ago

Cool. Thanks for the issue! I'll make a new ustreamer release.