Fail to build on ia64/Debian and hppa/Debian
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.
#1 Updated by Yoann VANDOORSELAERE almost 16 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 about 14 years ago
- Project changed from PRELUDE SIEM to Libprelude
- Category deleted (
- Target version deleted (