Bug #256
Fail to build on ia64/Debian and hppa/Debian
Start date:
Due date:
% Done:
0%
Resolution:
fixed
Description
libprelude fails to build on Debian ia64 and hppa, with the following error:
gcc -E _mkerrcodes.h | grep PRELUDE_ERROR_ | LANG="" awk -f ./mkerrcodes.awk >mkerrcodes.h awk: field separator [ ]+PRELU... is too long source line number 60
The reason is that the native awk version is not GNU awk, and has different limitations.
Editing the file, it turns out that using FS is not needed at all since the fields are separated by spaces.
Attached is a patch (-p0) to fix this problem.
History
#1 Updated by Yoann VANDOORSELAERE about 17 years ago
- Status changed from New to Closed
- Resolution set to fixed
(In r9862) Fix for native awk limitation (fix #256).
Include patch by Pierre Chifflier <chifflier at inl.fr>, to fix build error
on system that use native awk implementation in place of GNU awk.
#2 Updated by Yoann VANDOORSELAERE over 15 years ago
- Project changed from PRELUDE SIEM to Libprelude
- Category deleted (
1) - Target version deleted (
0.9.16)