voipmonitor / sniffer

VoIPmonitor sniffer sources
231 stars 107 forks source link

Doesn't compile on FreeBSD #37

Closed wolrah closed 4 years ago

wolrah commented 8 years ago

Following the instructions in README.freebsd on a fresh copy of the FreeBSD-provided VHD for FreeBSD-10.3-RELEASE I have yet to produce a usable binary.

Among other things, "lzo2" should be added to the list of packages to install, use of malloc.h instead of stdlib.h creates an error, malloc_trim() doesn't exist outside of glibc.

I am currently trying to bodge my way through it to see if I can make something useful build but I'm running in to a lot of "error: declaration of 'HeapSafeCheck' has a different language linkage" in the jitter buffer code which isn't making sense to me because your extern "C" entries seem to be where they need to be. I'm by no means familiar with integrating C and C++ code though so I'm just going by Google and guessing here.

voipmonitor commented 8 years ago

Hi we have no resources currently to make it compatible with freebsd again. Any contribution are very welcome.

wolrah commented 8 years ago

If I have success I will definitely contribute whatever I come up with. Still working on it. By chance do you know the last version you can say for sure did work? I figure my best approach is going to be to start from there and bisect to try to work on one issue at a time.

voipmonitor commented 8 years ago

Unfortunately I cannot remember

Dne 21. 9. 2016 22:16 napsal uživatel "Sean Harlow" < notifications@github.com>:

If I have success I will definitely contribute whatever I come up with. Still working on it. By chance do you know the last version you can say for sure did work? I figure my best approach is going to be to start from there and bisect to try to work on one issue at a time.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/voipmonitor/sniffer/issues/37#issuecomment-248713770, or mute the thread https://github.com/notifications/unsubscribe-auth/AGt_p02jsh3U1BUWCyDePu2AqmR4aHi7ks5qsYJxgaJpZM4J0E5t .

bu7cher commented 5 years ago

Hello, I have a port to build the FreeBSD package that we use at work, it is a bit hackish and contains several patches to fix the build. It would be nice, if someone of your developers team take a look to these patches (they are in files/ directory).

voipmonitor commented 5 years ago

would you please commit it to your own branch? Is it based on the latest sources? (we did some progress with the porting to freebsd recently)

bu7cher commented 5 years ago

would you please commit it to your own branch? Is it based on the latest sources? (we did some progress with the porting to freebsd recently)

I committed my changes and made the pull request. And yes, I used the latest sources. Thanks!