Project

General

Profile

Bug #256

Fail to build on ia64/Debian and hppa/Debian

Added by admin admin over 16 years ago. Updated almost 15 years ago.

Status:
Closed
Priority:
Normal
Target version:
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.

mkerrcodes.patch View (480 Bytes) admin admin, 08/24/2007 02:55 PM

History

#1 Updated by Yoann VANDOORSELAERE over 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 almost 15 years ago

  • Project changed from PRELUDE SIEM to Libprelude
  • Category deleted (1)
  • Target version deleted (0.9.16)

Also available in: Atom PDF