Bug #386
libprelude build failure with libtool 2.4
0%
Description
Re-libtoolized (with libtool 2.4) libprelude fails to build with:
=======================================================
In file included from prelude-plugin.c:56:0:
/include/prelude-plugin.h:66:20: error: conflicting types for 'lt__PROGRAM__LTX_preloaded_symbols'
/oe/build-angstrom-next/angstrom-dev/sysroots/armv7a-angstrom-linux-gnueabi/usr/include/ltdl.h:106:36: note: previous declaration of 'lt__PROGRAM__LTX_preloaded_symbols' was here
make4: *** [prelude-plugin.lo] Error 1
=======================================================
The problem is that libtool 2.4 changed lt__PROGRAM__LTX_preloaded_symbols definition to
extern LT_DLSYM_CONST lt_dlsymlist lt__PROGRAM__LTX_preloaded_symbols[];
but there is no easy way to find its version to fix it properly, so attached is a temporary hack to make at least libprelude itself compile.
History
#1 Updated by Jean-Charles ROGEZ almost 12 years ago
- Project changed from PRELUDE SIEM to Libprelude
#2 Updated by Jean-Charles ROGEZ over 10 years ago
- Target version set to 124
#3 Updated by Antoine LUONG almost 10 years ago
- Status changed from New to Resolved
- Assignee set to Yoann VANDOORSELAERE
- Target version changed from 124 to 126
- Resolution set to fixed
Fixed in commit cd72c76d6c547ac0615cab3005102a8b3d215b82.
#4 Updated by Thomas ANDREJAK over 8 years ago
- Status changed from Resolved to Closed
- Target version changed from 126 to Prelude OSS 1.2.5