Project

General

Profile

Bug #186

Build problems: xmlmod.c: In function 'file_write'

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

Status:
Closed
Priority:
High
Target version:
-
Start date:
Due date:
% Done:

0%

Resolution:
fixed

Description

Hi ya,

Apparently there are some issues now with xmlmod.c

xmlmod.c: In function @file_write':
xmlmod.c:61: warning: dereferencing @void *' pointer
xmlmod.c:61: error: request for member @_flags' in something not a structure or union
gmaker4: *** [xmlmod.lo] Error 1
gmaker4: Leaving directory @/data2/FreeBSD/custom_ports/security/prelude-manager/work/prelude-manager-0.9.7/plugins/reports/xmlmod'
gmaker3: *** [all-recursive] Error 1
gmaker3: Leaving directory @/data2/FreeBSD/custom_ports/security/prelude-manager/work/prelude-manager-0.9.7/plugins/reports'
gmaker2: *** [all-recursive] Error 1
gmaker2: Leaving directory @/data2/FreeBSD/custom_ports/security/prelude-manager/work/prelude-manager-0.9.7/plugins'
gmaker1: *** [all-recursive] Error 1
gmaker1: Leaving directory @/data2/FreeBSD/custom_ports/security/prelude-manager/work/prelude-manager-0.9.7'
gmake: *** [all] Error 2
*** Error code 2

This is on [[FreeBSD]] 4.x, 5.x, 6.x and 7-CURRENT.
Build info: http://miwibox.org/tb/index.php?action=describe_port&id=486

Installed packages:
libxml2-2.6.26
libpreludedb-0.9.11
libprelude-0.9.12

xmlmod.diff View - Attempt to fix the issue. (564 Bytes) Yoann VANDOORSELAERE, 12/21/2006 03:45 PM

History

#1 Updated by Yoann VANDOORSELAERE over 17 years ago

  • Status changed from New to Assigned

Could you please try the attached patch?

#2 Updated by admin admin over 17 years ago

Looks OK now. It builds without any errors. I will include this patch for the [[FreeBSD]] ports.

#3 Updated by Yoann VANDOORSELAERE over 17 years ago

  • Status changed from Assigned to Closed
  • Resolution set to fixed

(In r8709) Fix compilation issue on system where ferror() is not declared as a function. Fix #186.

#4 Updated by Yoann VANDOORSELAERE almost 15 years ago

  • Project changed from PRELUDE SIEM to Prelude Manager
  • Category deleted (3)

Also available in: Atom PDF