Project

General

Profile

Bug #278

Compiling prelude-manager-0.9.11.1 on Solaris fails

Added by about 16 years ago. Updated almost 15 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
Due date:
% Done:

0%

Resolution:
fixed

Description

I'm using GNU make and compiling with gcc 3.4.6 ends up with the following error:

gmaker3: Entering directory @/data/dummy/prelude-manager-0.9.11.1/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I./include/ -I../libmissing -I/usr/local/include -I/usr/local/include -I/usr/local/include -D_REENTRANT -pthreads -I/usr/local/include -DPRELUDE_CONFIG_DIR=\"/usr/local/etc/prelude\" -DCONFIG_DIR=\"/usr/local/etc/prelude-manager\" -DREPORT_PLUGIN_DIR=\"/usr/local/lib/prelude-manager/reports\" -DDECODE_PLUGIN_DIR=\"/usr/local/lib/prelude-manager/decodes\" -DFILTER_PLUGIN_DIR=\"/usr/local/lib/prelude-manager/filters\" -DMANAGER_SCHEDULER_DIR=\"/usr/local/var/spool/prelude-manager/scheduler\" -DMANAGER_FAILOVER_DIR=\"/usr/local/var/spool/prelude-manager/failover\" -DMANAGER_RUN_DIR=\"/usr/local/var/run/prelude-manager\"   -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wbad-function-cast -Wcast-qual -Wcast-align -Wnested-externs -Wunused -Wformat -Wformat-security -MT bufpool.o -MD -MP -MF ".deps/bufpool.Tpo" -c -o bufpool.o bufpool.c; \
then mv -f ".deps/bufpool.Tpo" ".deps/bufpool.Po"; else rm -f ".deps/bufpool.Tpo"; exit 1; fi
In file included from bufpool.c:24:
../libmissing/string.h:304: error: syntax error before "+stringp" 
../libmissing/string.h:304: warning: function declaration isn't a prototype
gmaker3: *** [bufpool.o] Error 1
gmaker3: Leaving directory @/data/dummy/prelude-manager-0.9.11.1/src'
gmaker2: *** [all-recursive] Error 1
gmaker2: Leaving directory @/data/dummy/prelude-manager-0.9.11.1/src'
gmaker1: *** [all-recursive] Error 1
gmaker1: Leaving directory @/data/dummy/prelude-manager-0.9.11.1'
gmake: *** [all] Error 2

History

#1 Updated by Yoann VANDOORSELAERE about 16 years ago

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

(In r10151) Include libmissing and config.h, should fix compilation issue (fix #278).

#2 Updated by Yoann VANDOORSELAERE about 16 years ago

Could you try the fix checked in r10151, and let us know whether it solve your problem?

#3 Updated by about 16 years ago

Compiling finished und prelude-manager seems to work properly.

I checked out prelude-manger/trunk revison 10151, but there was no configure script. So I copied the files to prelude-manager-0.9.11.1 folder.
Is this the default procedure?

#4 Updated by Yoann VANDOORSELAERE about 16 years ago

Not really, trac let you download the diff, which you can apply using the patch command:

cd prelude-manager
patch -p1 < ~/downloaded-patch.diff

Prelude-Manager 0.9.11.2 will be released shortly.

#5 Updated by Yoann VANDOORSELAERE almost 15 years ago

  • Project changed from PRELUDE SIEM to Prelude Manager
  • Category deleted (generic)
  • Target version deleted (0.9.11.2)

Also available in: Atom PDF