[Prelude Hybrid IDS] #138: problem compiling prelude manager 0.9.3

Prelude Hybrid IDS <[email protected]>
Newsgroups gmane.comp.security.ids.prelude.devel
Message-ID <[email protected]>
#138: problem compiling prelude manager 0.9.3
-----------------------------+----------------------------------------------
 Reporter:  anonymous        |       Owner:  yoann                               
     Type:  defect           |      Status:  new                                 
 Priority:  normal           |   Milestone:                                      
Component:  prelude-manager  |     Version:  none                                
 Severity:  normal           |    Keywords:  compile manager include libpreludedb
-----------------------------+----------------------------------------------
 Hi,

 I'm trying to compile prelude-manager-0.9.3 on fedora core 4

 I have libprelude and libpreludedb compiled and isntalled under
 /usr/local/servers/security/libprelude-0.9.6.1
 /usr/local/servers/security/libpreludedb-0.9.5.1

 both pathes above are in the /etc/ld.so.conf file

 the options I'm passing to configure are

 ./configure --prefix=/usr/local/servers/security/prelude-manager-0.9.3
 --with-libprelude-prefix=/usr/local/servers/security/libprelude-0.9.6.1
 --with-libpreludedb-
 prefix=/usr/local/servers/security/libpreludedb-0.9.5.1

 I fixed the problem by changing the include for libpreludedb in the
 plugins/reports/db/db.c file to the full path.

 no problem when I run the configure script, but when I do make, I get the
 following errors

 [root@localhost prelude-manager-0.9.3]# make
 make  all-recursive
 make[1]: Entering directory `/usr/src/security/prelude-manager-0.9.3'
 Making all in libmissing
 make[2]: Entering directory `/usr/src/security/prelude-
 manager-0.9.3/libmissing'
 cp ./alloca_.h alloca.h-t
 mv alloca.h-t alloca.h
 make  all-am
 make[3]: Entering directory `/usr/src/security/prelude-
 manager-0.9.3/libmissing'
 /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
 -I..     -g -
 O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
 -Wbad-funct
 ion-cast -Wcast-qual -Wcast-align -Wnested-externs -Wunused -c -o
 strnlen1.lo strnle
 n1.c
 mkdir .libs
  gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -Wstrict-prototypes
 -Wmissing-prototy
 pes -Wmissing-declarations -Wbad-function-cast -Wcast-qual -Wcast-align
 -Wnested-ext
 erns -Wunused -c strnlen1.c  -fPIC -DPIC -o .libs/strnlen1.o
 /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
 -I..     -g -
 O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
 -Wbad-funct
 ion-cast -Wcast-qual -Wcast-align -Wnested-externs -Wunused -c -o
 mbchar.lo mbchar.c
  gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -Wstrict-prototypes
 -Wmissing-prototy
 pes -Wmissing-declarations -Wbad-function-cast -Wcast-qual -Wcast-align
 -Wnested-ext
 erns -Wunused -c mbchar.c  -fPIC -DPIC -o .libs/mbchar.o
 /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
 -I..     -g -
 O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
 -Wbad-funct
 ion-cast -Wcast-qual -Wcast-align -Wnested-externs -Wunused -c -o
 strcasecmp.lo strc
 asecmp.c
  gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -Wstrict-prototypes
 -Wmissing-prototy
 pes -Wmissing-declarations -Wbad-function-cast -Wcast-qual -Wcast-align
 -Wnested-ext
 erns -Wunused -c strcasecmp.c  -fPIC -DPIC -o .libs/strcasecmp.o
 /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
 -I..     -g -
 O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
 -Wbad-funct
 ion-cast -Wcast-qual -Wcast-align -Wnested-externs -Wunused -c -o
 vasnprintf.lo vasn
 printf.c
  gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -Wstrict-prototypes
 -Wmissing-prototy
 pes -Wmissing-declarations -Wbad-function-cast -Wcast-qual -Wcast-align
 -Wnested-ext
 erns -Wunused -c vasnprintf.c  -fPIC -DPIC -o .libs/vasnprintf.o
 /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
 -I..     -g -
 O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
 -Wbad-funct
 ion-cast -Wcast-qual -Wcast-align -Wnested-externs -Wunused -c -o printf-
 args.lo pri
 ntf-args.c
  gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -Wstrict-prototypes
 -Wmissing-prototy
 pes -Wmissing-declarations -Wbad-function-cast -Wcast-qual -Wcast-align
 -Wnested-ext
 erns -Wunused -c printf-args.c  -fPIC -DPIC -o .libs/printf-args.o
 /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
 -I..     -g -
 O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
 -Wbad-funct
 ion-cast -Wcast-qual -Wcast-align -Wnested-externs -Wunused -c -o printf-
 parse.lo pr
 intf-parse.c
  gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -Wstrict-prototypes
 -Wmissing-prototy
 pes -Wmissing-declarations -Wbad-function-cast -Wcast-qual -Wcast-align
 -Wnested-ext
 erns -Wunused -c printf-parse.c  -fPIC -DPIC -o .libs/printf-parse.o
 /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
 -I..     -g -
 O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
 -Wbad-funct
 ion-cast -Wcast-qual -Wcast-align -Wnested-externs -Wunused -c -o
 asnprintf.lo asnpr
 intf.c
  gcc -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Wall -Wstrict-prototypes
 -Wmissing-prototy
 pes -Wmissing-declarations -Wbad-function-cast -Wcast-qual -Wcast-align
 -Wnested-ext
 erns -Wunused -c asnprintf.c  -fPIC -DPIC -o .libs/asnprintf.o
 /bin/sh ../libtool --tag=CC --mode=link gcc  -g -O2 -Wall -Wstrict-
 prototypes -Wmiss
 ing-prototypes -Wmissing-declarations -Wbad-function-cast -Wcast-qual
 -Wcast-align -
 Wnested-externs -Wunused   -o libmissing.la   strnlen1.lo mbchar.lo
 strcasecmp.lo va
 snprintf.lo printf-args.lo printf-parse.lo asnprintf.lo
 ar cru .libs/libmissing.a .libs/strnlen1.o .libs/mbchar.o
 .libs/strcasecmp.o .libs/v
 asnprintf.o .libs/printf-args.o .libs/printf-parse.o .libs/asnprintf.o
 ranlib .libs/libmissing.a
 creating libmissing.la
 (cd .libs && rm -f libmissing.la && ln -s ../libmissing.la libmissing.la)
 make[3]: Leaving directory `/usr/src/security/prelude-
 manager-0.9.3/libmissing'
 make[2]: Leaving directory `/usr/src/security/prelude-
 manager-0.9.3/libmissing'
 Making all in plugins
 make[2]: Entering directory `/usr/src/security/prelude-
 manager-0.9.3/plugins'
 Making all in decodes
 make[3]: Entering directory `/usr/src/security/prelude-
 manager-0.9.3/plugins/decodes
 '
 make[4]: Entering directory `/usr/src/security/prelude-
 manager-0.9.3/plugins/decodes
 '
 make[4]: Nothing to be done for `all-am'.
 make[4]: Leaving directory `/usr/src/security/prelude-
 manager-0.9.3/plugins/decodes'
 make[3]: Leaving directory `/usr/src/security/prelude-
 manager-0.9.3/plugins/decodes'
 Making all in filters
 make[3]: Entering directory `/usr/src/security/prelude-
 manager-0.9.3/plugins/filters
 '
 Making all in idmef-criteria
 make[4]: Entering directory `/usr/src/security/prelude-
 manager-0.9.3/plugins/filters
 /idmef-criteria'
 if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
 -I. -I. -I..
 /../..  -I../../../src/include -I../../../libmissing  -pthread
 -I/usr/local/servers/
 security/libprelude-0.9.6.1/include
 -DPRELUDE_CONFIG_DIR=\"/usr/local/servers/securi
 ty/libprelude-0.9.6.1/etc/prelude\"   -g -O2 -Wall -Wstrict-prototypes
 -Wmissing-pro
 totypes -Wmissing-declarations -Wbad-function-cast -Wcast-qual -Wcast-
 align -Wnested
 -externs -Wunused -MT idmef-criteria.lo -MD -MP -MF ".deps/idmef-
 criteria.Tpo" -c -o
  idmef-criteria.lo idmef-criteria.c; \
 then mv -f ".deps/idmef-criteria.Tpo" ".deps/idmef-criteria.Plo"; else rm
 -f ".deps/
 idmef-criteria.Tpo"; exit 1; fi
 mkdir .libs
  gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include
 -I../../../libmissing
  -pthread -I/usr/local/servers/security/libprelude-0.9.6.1/include
 -DPRELUDE_CONFIG_
 DIR=\"/usr/local/servers/security/libprelude-0.9.6.1/etc/prelude\" -g -O2
 -Wall -Wst
 rict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wbad-
 function-cast -Wca
 st-qual -Wcast-align -Wnested-externs -Wunused -MT idmef-criteria.lo -MD
 -MP -MF .de
 ps/idmef-criteria.Tpo -c idmef-criteria.c  -fPIC -DPIC -o .libs/idmef-
 criteria.o
 /bin/sh ../../../libtool --tag=CC --mode=link gcc  -g -O2 -Wall -Wstrict-
 prototypes
 -Wmissing-prototypes -Wmissing-declarations -Wbad-function-cast -Wcast-
 qual -Wcast-a
 lign -Wnested-externs -Wunused   -o idmef-criteria.la -rpath
 /usr/local/servers/secu
 rity/prelude-manager-0.9.3/lib/prelude-manager/filters -module -avoid-
 version idmef-
 criteria.lo
 gcc -shared  .libs/idmef-criteria.o   -Wl,-soname -Wl,idmef-criteria.so -o
 .libs/idm
 ef-criteria.so
 creating idmef-criteria.la
 (cd .libs && rm -f idmef-criteria.la && ln -s ../idmef-criteria.la idmef-
 criteria.la
 )
 make[4]: Leaving directory `/usr/src/security/prelude-
 manager-0.9.3/plugins/filters/
 idmef-criteria'
 make[4]: Entering directory `/usr/src/security/prelude-
 manager-0.9.3/plugins/filters
 '
 make[4]: Nothing to be done for `all-am'.
 make[4]: Leaving directory `/usr/src/security/prelude-
 manager-0.9.3/plugins/filters'
 make[3]: Leaving directory `/usr/src/security/prelude-
 manager-0.9.3/plugins/filters'
 Making all in reports
 make[3]: Entering directory `/usr/src/security/prelude-
 manager-0.9.3/plugins/reports
 '
 Making all in db
 make[4]: Entering directory `/usr/src/security/prelude-
 manager-0.9.3/plugins/reports
 /db'
 if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
 -I. -I. -I..
 /../..  -I../../../src/include -I../../../libmissing  -pthread
 -I/usr/local/servers/
 security/libprelude-0.9.6.1/include
 -DPRELUDE_CONFIG_DIR=\"/usr/local/servers/securi
 ty/libprelude-0.9.6.1/etc/prelude\"   -g -O2 -Wall -Wstrict-prototypes
 -Wmissing-pro
 totypes -Wmissing-declarations -Wbad-function-cast -Wcast-qual -Wcast-
 align -Wnested
 -externs -Wunused -MT db.lo -MD -MP -MF ".deps/db.Tpo" -c -o db.lo db.c; \
 then mv -f ".deps/db.Tpo" ".deps/db.Plo"; else rm -f ".deps/db.Tpo"; exit
 1; fi
 mkdir .libs
  gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include
 -I../../../libmissing
  -pthread -I/usr/local/servers/security/libprelude-0.9.6.1/include
 -DPRELUDE_CONFIG_
 DIR=\"/usr/local/servers/security/libprelude-0.9.6.1/etc/prelude\" -g -O2
 -Wall -Wst
 rict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wbad-
 function-cast -Wca
 st-qual -Wcast-align -Wnested-externs -Wunused -MT db.lo -MD -MP -MF
 .deps/db.Tpo -c
  db.c  -fPIC -DPIC -o .libs/db.o
 db.c:39:49: error: libpreludedb/preludedb-sql-settings.h: No such file or
 directory
 db.c:40:40: error: libpreludedb/preludedb-sql.h: No such file or directory
 db.c:41:42: error: libpreludedb/preludedb-error.h: No such file or
 directory
 db.c:42:51: error: libpreludedb/preludedb-path-selection.h: No such file
 or director
 y
 db.c:43:36: error: libpreludedb/preludedb.h: No such file or directory
 db.c:67: error: syntax error before 'preludedb_t'
 db.c:67: warning: no semicolon at end of struct or union
 db.c:68: warning: type defaults to 'int' in declaration of 'db_plugin_t'
 db.c:68: warning: data definition has no type or storage class
 db.c: In function 'db_set_type':
 db.c:72: error: 'ptr' undeclared (first use in this function)
 db.c:72: error: (Each undeclared identifier is reported only once
 db.c:72: error: for each function it appears in.)
 db.c: In function 'db_get_type':
 db.c:72: error: 'ptr' undeclared (first use in this function)
 db.c: In function 'db_set_log':
 db.c:73: error: 'ptr' undeclared (first use in this function)
 db.c: In function 'db_get_log':
 db.c:73: error: 'ptr' undeclared (first use in this function)
 db.c: In function 'db_set_host':
 db.c:74: error: 'ptr' undeclared (first use in this function)
 db.c: In function 'db_get_host':
 db.c:74: error: 'ptr' undeclared (first use in this function)
 db.c: In function 'db_set_port':
 db.c:75: error: 'ptr' undeclared (first use in this function)
 db.c: In function 'db_get_port':
 db.c:75: error: 'ptr' undeclared (first use in this function)
 db.c: In function 'db_set_name':
 db.c:76: error: 'ptr' undeclared (first use in this function)
 db.c: In function 'db_get_name':
 db.c:76: error: 'ptr' undeclared (first use in this function)
 db.c: In function 'db_set_user':
 db.c:77: error: 'ptr' undeclared (first use in this function)
 db.c: In function 'db_get_user':
 db.c:77: error: 'ptr' undeclared (first use in this function)
 db.c: In function 'db_set_pass':
 db.c:78: error: 'ptr' undeclared (first use in this function)
 db.c: In function 'db_get_pass':
 db.c:78: error: 'ptr' undeclared (first use in this function)
 db.c: In function 'db_set_file':
 db.c:79: error: 'ptr' undeclared (first use in this function)
 db.c: In function 'db_get_file':
 db.c:79: error: 'ptr' undeclared (first use in this function)
 db.c: In function 'db_run':
 db.c:85: error: 'plugin' undeclared (first use in this function)
 db.c:87: warning: implicit declaration of function
 'preludedb_insert_message'
 db.c:87: warning: nested extern declaration of 'preludedb_insert_message'
 db.c:89: warning: implicit declaration of function 'preludedb_strerror'
 db.c:89: warning: nested extern declaration of 'preludedb_strerror'
 db.c: In function 'db_destroy':
 db.c:98: error: 'plugin' undeclared (first use in this function)
 db.c:124: warning: implicit declaration of function 'preludedb_destroy'
 db.c:124: warning: nested extern declaration of 'preludedb_destroy'
 db.c: In function 'db_init':
 db.c:133: error: 'preludedb_t' undeclared (first use in this function)
 db.c:133: error: 'db' undeclared (first use in this function)
 db.c:134: error: 'preludedb_sql_t' undeclared (first use in this function)
 db.c:134: error: 'sql' undeclared (first use in this function)
 db.c:135: error: 'preludedb_sql_settings_t' undeclared (first use in this
 function)
 db.c:135: error: 'settings' undeclared (first use in this function)
 db.c:136: error: 'plugin' undeclared (first use in this function)
 db.c:138: warning: implicit declaration of function
 'preludedb_sql_settings_new'
 db.c:138: warning: nested extern declaration of
 'preludedb_sql_settings_new'
 db.c:143: warning: implicit declaration of function
 'preludedb_sql_settings_set_host
 '
 db.c:143: warning: nested extern declaration of
 'preludedb_sql_settings_set_host'
 db.c:146: warning: implicit declaration of function
 'preludedb_sql_settings_set_file
 '
 db.c:146: warning: nested extern declaration of
 'preludedb_sql_settings_set_file'
 db.c:149: warning: implicit declaration of function
 'preludedb_sql_settings_set_port
 '
 db.c:149: warning: nested extern declaration of
 'preludedb_sql_settings_set_port'
 db.c:152: warning: implicit declaration of function
 'preludedb_sql_settings_set_user
 '
 db.c:152: warning: nested extern declaration of
 'preludedb_sql_settings_set_user'
 db.c:155: warning: implicit declaration of function
 'preludedb_sql_settings_set_pass
 '
 db.c:155: warning: nested extern declaration of
 'preludedb_sql_settings_set_pass'
 db.c:158: warning: implicit declaration of function
 'preludedb_sql_settings_set_name
 '
 db.c:158: warning: nested extern declaration of
 'preludedb_sql_settings_set_name'
 db.c:160: warning: implicit declaration of function 'preludedb_sql_new'
 db.c:160: warning: nested extern declaration of 'preludedb_sql_new'
 db.c:163: warning: implicit declaration of function
 'preludedb_sql_settings_destroy'
 db.c:163: warning: nested extern declaration of
 'preludedb_sql_settings_destroy'
 db.c:168: warning: implicit declaration of function
 'preludedb_sql_disable_query_log
 ging'
 db.c:168: warning: nested extern declaration of
 'preludedb_sql_disable_query_logging
 '
 db.c:170: warning: implicit declaration of function
 'preludedb_sql_enable_query_logg
 ing'
 db.c:170: warning: nested extern declaration of
 'preludedb_sql_enable_query_logging'
 db.c:172: warning: implicit declaration of function
 'preludedb_sql_destroy'
 db.c:172: warning: nested extern declaration of 'preludedb_sql_destroy'
 db.c:179: warning: implicit declaration of function 'preludedb_new'
 db.c:179: warning: nested extern declaration of 'preludedb_new'
 db.c: In function 'db_activate':
 db.c:198: error: 'new' undeclared (first use in this function)
 db.c: In function 'db_LTX_manager_plugin_init':
 db.c:225: warning: implicit declaration of function 'preludedb_init'
 db.c:225: warning: nested extern declaration of 'preludedb_init'
 db.c:249: error: 'PRELUDEDB_SQL_SETTING_HOST' undeclared (first use in
 this function
 )
 db.c:255: error: 'PRELUDEDB_SQL_SETTING_FILE' undeclared (first use in
 this function
 )
 db.c:261: error: 'PRELUDEDB_SQL_SETTING_PORT' undeclared (first use in
 this function
 )
 db.c:267: error: 'PRELUDEDB_SQL_SETTING_NAME' undeclared (first use in
 this function
 )
 db.c:273: error: 'PRELUDEDB_SQL_SETTING_USER' undeclared (first use in
 this function
 )
 db.c:279: error: 'PRELUDEDB_SQL_SETTING_PASS' undeclared (first use in
 this function
 )
 make[4]: *** [db.lo] Error 1
 make[4]: Leaving directory `/usr/src/security/prelude-
 manager-0.9.3/plugins/reports/
 db'
 make[3]: *** [all-recursive] Error 1
 make[3]: Leaving directory `/usr/src/security/prelude-
 manager-0.9.3/plugins/reports'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory `/usr/src/security/prelude-
 manager-0.9.3/plugins'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/usr/src/security/prelude-manager-0.9.3'
 make: *** [all] Error 2
 [root@ottmail1 prelude-manager-0.9.3]# make
 make  all-recursive
 make[1]: Entering directory `/usr/src/security/prelude-manager-0.9.3'
 Making all in libmissing
 make[2]: Entering directory `/usr/src/security/prelude-
 manager-0.9.3/libmissing'
 make  all-am
 make[3]: Entering directory `/usr/src/security/prelude-
 manager-0.9.3/libmissing'
 make[3]: Nothing to be done for `all-am'.
 make[3]: Leaving directory `/usr/src/security/prelude-
 manager-0.9.3/libmissing'
 make[2]: Leaving directory `/usr/src/security/prelude-
 manager-0.9.3/libmissing'
 Making all in plugins
 make[2]: Entering directory `/usr/src/security/prelude-
 manager-0.9.3/plugins'
 Making all in decodes
 make[3]: Entering directory `/usr/src/security/prelude-
 manager-0.9.3/plugins/decodes'
 make[4]: Entering directory `/usr/src/security/prelude-
 manager-0.9.3/plugins/decodes'
 make[4]: Nothing to be done for `all-am'.
 make[4]: Leaving directory `/usr/src/security/prelude-
 manager-0.9.3/plugins/decodes'
 make[3]: Leaving directory `/usr/src/security/prelude-
 manager-0.9.3/plugins/decodes'
 Making all in filters
 make[3]: Entering directory `/usr/src/security/prelude-
 manager-0.9.3/plugins/filters'
 Making all in idmef-criteria
 make[4]: Entering directory `/usr/src/security/prelude-
 manager-0.9.3/plugins/filters/idmef-criteria'
 make[4]: Nothing to be done for `all'.
 make[4]: Leaving directory `/usr/src/security/prelude-
 manager-0.9.3/plugins/filters/idmef-criteria'
 make[4]: Entering directory `/usr/src/security/prelude-
 manager-0.9.3/plugins/filters'
 make[4]: Nothing to be done for `all-am'.
 make[4]: Leaving directory `/usr/src/security/prelude-
 manager-0.9.3/plugins/filters'
 make[3]: Leaving directory `/usr/src/security/prelude-
 manager-0.9.3/plugins/filters'
 Making all in reports
 make[3]: Entering directory `/usr/src/security/prelude-
 manager-0.9.3/plugins/reports'
 Making all in db
 make[4]: Entering directory `/usr/src/security/prelude-
 manager-0.9.3/plugins/reports/db'
 if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
 -I. -I. -I../../..  -I../../../src/include -I../../../libmissing  -pthread
 -I/usr/local/servers/security/libprelude-0.9.6.1/include
 -DPRELUDE_CONFIG_DIR=\"/usr/local/servers/security/libprelude-0.9.6.1/etc/prelude\"
 -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-
 declarations -Wbad-function-cast -Wcast-qual -Wcast-align -Wnested-externs
 -Wunused -MT db.lo -MD -MP -MF ".deps/db.Tpo" -c -o db.lo db.c; \
 then mv -f ".deps/db.Tpo" ".deps/db.Plo"; else rm -f ".deps/db.Tpo"; exit
 1; fi
  gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src/include
 -I../../../libmissing -pthread
 -I/usr/local/servers/security/libprelude-0.9.6.1/include
 -DPRELUDE_CONFIG_DIR=\"/usr/local/servers/security/libprelude-0.9.6.1/etc/prelude\"
 -g -O2 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-
 declarations -Wbad-function-cast -Wcast-qual -Wcast-align -Wnested-externs
 -Wunused -MT db.lo -MD -MP -MF .deps/db.Tpo -c db.c  -fPIC -DPIC -o
 .libs/db.o
 db.c:39:49: error: libpreludedb/preludedb-sql-settings.h: No such file or
 directory
 db.c:40:40: error: libpreludedb/preludedb-sql.h: No such file or directory
 db.c:41:42: error: libpreludedb/preludedb-error.h: No such file or
 directory
 db.c:42:51: error: libpreludedb/preludedb-path-selection.h: No such file
 or directory
 db.c:43:36: error: libpreludedb/preludedb.h: No such file or directory
 db.c:67: error: syntax error before 'preludedb_t'
 db.c:67: warning: no semicolon at end of struct or union
 db.c:68: warning: type defaults to 'int' in declaration of 'db_plugin_t'
 db.c:68: warning: data definition has no type or storage class
 db.c: In function 'db_set_type':
 db.c:72: error: 'ptr' undeclared (first use in this function)
 db.c:72: error: (Each undeclared identifier is reported only once
 db.c:72: error: for each function it appears in.)
 db.c: In function 'db_get_type':
 db.c:72: error: 'ptr' undeclared (first use in this function)
 db.c: In function 'db_set_log':
 db.c:73: error: 'ptr' undeclared (first use in this function)
 db.c: In function 'db_get_log':
 db.c:73: error: 'ptr' undeclared (first use in this function)
 db.c: In function 'db_set_host':
 db.c:74: error: 'ptr' undeclared (first use in this function)
 db.c: In function 'db_get_host':
 db.c:74: error: 'ptr' undeclared (first use in this function)
 db.c: In function 'db_set_port':
 db.c:75: error: 'ptr' undeclared (first use in this function)
 db.c: In function 'db_get_port':
 db.c:75: error: 'ptr' undeclared (first use in this function)
 db.c: In function 'db_set_name':
 db.c:76: error: 'ptr' undeclared (first use in this function)
 db.c: In function 'db_get_name':
 db.c:76: error: 'ptr' undeclared (first use in this function)
 db.c: In function 'db_set_user':
 db.c:77: error: 'ptr' undeclared (first use in this function)
 db.c: In function 'db_get_user':
 db.c:77: error: 'ptr' undeclared (first use in this function)
 db.c: In function 'db_set_pass':
 db.c:78: error: 'ptr' undeclared (first use in this function)
 db.c: In function 'db_get_pass':
 db.c:78: error: 'ptr' undeclared (first use in this function)
 db.c: In function 'db_set_file':
 db.c:79: error: 'ptr' undeclared (first use in this function)
 db.c: In function 'db_get_file':
 db.c:79: error: 'ptr' undeclared (first use in this function)
 db.c: In function 'db_run':
 db.c:85: error: 'plugin' undeclared (first use in this function)
 db.c:87: warning: implicit declaration of function
 'preludedb_insert_message'
 db.c:87: warning: nested extern declaration of 'preludedb_insert_message'
 db.c:89: warning: implicit declaration of function 'preludedb_strerror'
 db.c:89: warning: nested extern declaration of 'preludedb_strerror'
 db.c: In function 'db_destroy':
 db.c:98: error: 'plugin' undeclared (first use in this function)
 db.c:124: warning: implicit declaration of function 'preludedb_destroy'
 db.c:124: warning: nested extern declaration of 'preludedb_destroy'
 db.c: In function 'db_init':
 db.c:133: error: 'preludedb_t' undeclared (first use in this function)
 db.c:133: error: 'db' undeclared (first use in this function)
 db.c:134: error: 'preludedb_sql_t' undeclared (first use in this function)
 db.c:134: error: 'sql' undeclared (first use in this function)
 db.c:135: error: 'preludedb_sql_settings_t' undeclared (first use in this
 function)
 db.c:135: error: 'settings' undeclared (first use in this function)
 db.c:136: error: 'plugin' undeclared (first use in this function)
 db.c:138: warning: implicit declaration of function
 'preludedb_sql_settings_new'
 db.c:138: warning: nested extern declaration of
 'preludedb_sql_settings_new'
 db.c:143: warning: implicit declaration of function
 'preludedb_sql_settings_set_host'
 db.c:143: warning: nested extern declaration of
 'preludedb_sql_settings_set_host'
 db.c:146: warning: implicit declaration of function
 'preludedb_sql_settings_set_file'
 db.c:146: warning: nested extern declaration of
 'preludedb_sql_settings_set_file'
 db.c:149: warning: implicit declaration of function
 'preludedb_sql_settings_set_port'
 db.c:149: warning: nested extern declaration of
 'preludedb_sql_settings_set_port'
 db.c:152: warning: implicit declaration of function
 'preludedb_sql_settings_set_user'
 db.c:152: warning: nested extern declaration of
 'preludedb_sql_settings_set_user'
 db.c:155: warning: implicit declaration of function
 'preludedb_sql_settings_set_pass'
 db.c:155: warning: nested extern declaration of
 'preludedb_sql_settings_set_pass'
 db.c:158: warning: implicit declaration of function
 'preludedb_sql_settings_set_name'
 db.c:158: warning: nested extern declaration of
 'preludedb_sql_settings_set_name'
 db.c:160: warning: implicit declaration of function 'preludedb_sql_new'
 db.c:160: warning: nested extern declaration of 'preludedb_sql_new'
 db.c:163: warning: implicit declaration of function
 'preludedb_sql_settings_destroy'
 db.c:163: warning: nested extern declaration of
 'preludedb_sql_settings_destroy'
 db.c:168: warning: implicit declaration of function
 'preludedb_sql_disable_query_logging'
 db.c:168: warning: nested extern declaration of
 'preludedb_sql_disable_query_logging'
 db.c:170: warning: implicit declaration of function
 'preludedb_sql_enable_query_logging'
 db.c:170: warning: nested extern declaration of
 'preludedb_sql_enable_query_logging'
 db.c:172: warning: implicit declaration of function
 'preludedb_sql_destroy'
 db.c:172: warning: nested extern declaration of 'preludedb_sql_destroy'
 db.c:179: warning: implicit declaration of function 'preludedb_new'
 db.c:179: warning: nested extern declaration of 'preludedb_new'
 db.c: In function 'db_activate':
 db.c:198: error: 'new' undeclared (first use in this function)
 db.c: In function 'db_LTX_manager_plugin_init':
 db.c:225: warning: implicit declaration of function 'preludedb_init'
 db.c:225: warning: nested extern declaration of 'preludedb_init'
 db.c:249: error: 'PRELUDEDB_SQL_SETTING_HOST' undeclared (first use in
 this function)
 db.c:255: error: 'PRELUDEDB_SQL_SETTING_FILE' undeclared (first use in
 this function)
 db.c:261: error: 'PRELUDEDB_SQL_SETTING_PORT' undeclared (first use in
 this function)
 db.c:267: error: 'PRELUDEDB_SQL_SETTING_NAME' undeclared (first use in
 this function)
 db.c:273: error: 'PRELUDEDB_SQL_SETTING_USER' undeclared (first use in
 this function)
 db.c:279: error: 'PRELUDEDB_SQL_SETTING_PASS' undeclared (first use in
 this function)
 make[4]: *** [db.lo] Error 1
 make[4]: Leaving directory `/usr/src/security/prelude-
 manager-0.9.3/plugins/reports/db'
 make[3]: *** [all-recursive] Error 1
 make[3]: Leaving directory `/usr/src/security/prelude-
 manager-0.9.3/plugins/reports'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory `/usr/src/security/prelude-
 manager-0.9.3/plugins'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/usr/src/security/prelude-manager-0.9.3'
 make: *** [all] Error 2

-- 
Ticket URL: <https://trac.prelude-ids.org/ticket/138>
Prelude Hybrid IDS <http://www.prelude-ids.org>
The Prelude Hybrid Intrusion Detection System suite

_______________________________________________
Prelude-devel site list
[email protected]
http://www.prelude-ids.org/mailman/listinfo/prelude-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.