patrickallaert / php-apm

PHP APM (Alternative PHP Monitor)
http://pecl.php.net/package/APM
Other
310 stars 101 forks source link

Build failure with modern GCC #75

Open remicollet opened 4 years ago

remicollet commented 4 years ago

Using GCC 10

/usr/bin/ld: .libs/backtrace.o:(.bss+0x0): multiple definition ofapm_globals'; .libs/apm.o:(.bss+0xc0): first defined here `

BTW, don't know if this project is still alive, so a simple bug report (not a PR)

Pro-pra commented 2 years ago

use -fcommon compile flag