Zeex / samp-plugin-crashdetect

Crash/error reporting plugin for SA-MP server
http://forum.sa-mp.com/showthread.php?t=262796
BSD 2-Clause "Simplified" License
116 stars 23 forks source link

Build instructions (Linux) #41

Closed selten closed 6 years ago

selten commented 9 years ago

the make has to be done in the root folder apparently (according to the wiki it should be done in the build folder, but that doesn't work anyway).

http://pastebin.com/L3H51zYe Output of make

therefore i think it's still incomplete

Zeex commented 9 years ago

There's no makefile in the root folder. The top-level makefile is the one generated in your build folder (the folder where you run cmake from). Try deleting old cmake files left from the previous execution of cmake before running cmake again.

selten commented 9 years ago

Did that, following error showed up in make: http://pastebin.com/eCMVYxcp

Zeex commented 9 years ago

That's interesting, I can't remember ever seeing int32_t defined in sys/types.h, it's usually stdint.h or inttypes.h. Which Linux distribution is this? CentOS?

selten commented 9 years ago

Debian

Zeex commented 9 years ago

What version of Debian? And what version of gcc are you using?

selten commented 9 years ago

gcc version 4.7.2 Distributor ID: Debian Description: Debian GNU/Linux 7.8 (wheezy) Release: 7.8 Codename: wheezy

Zeex commented 9 years ago

It compiled fine on my Debian 7.8 VM, I have no idea why it isn't compiling on your system. Anyway, removing those definitions of (u)int32_t from amx.h should allow you to build crashdetect (if you haven't done so already).