Re: Ossec compile error on FreeBSD 6.x
Robin Gruyters <[email protected]>
| Newsgroups | gmane.comp.security.ids.prelude.devel |
|---|---|
| Message-ID | <[email protected]> |
Sebastien,
Nope, still problems.
[...]
diff -uN Config.Make.orig Config.Make
--- Config.Make.orig Tue Oct 9 12:14:10 2007
+++ Config.Make Tue Oct 9 12:19:47 2007
@@ -8,7 +8,8 @@
include ${PT}Config.OS
-CFLAGS = -g -Wall -I${PT} -I${PT}headers ${CPATH} ${CEXTRA} ${DEXTRA} ${EEXTRA} ${FEXTRA} ${GEXTRA} -DARGV0=\"${NAME}\" -DXML_VAR=\"var\" -DOSSECHIDS
+CFLAGS = -g -Wall -I${PT} -I${PT}headers ${CPATH} ${CEXTRA} ${DEXTRA} ${EEXTRA} ${FEXTRA} ${GEXTRA} -DARGV0=\"${NAME}\" -DXML_VAR=\"var\" -DOSSECHIDS -DPRELUDE -I/usr/local/include
+LDFLAGS = -L/usr/local/lib -lprelude -L/usr/local/lib -lgnutls -L/usr/local/lib -lgcrypt -L/usr/local/lib -lgpg-error -L/usr/local/lib -lgcrypt -L/usr/local/lib -lgpg-error
SOURCES = *.c
OBJECTS = *.o
[...]
The LDFLAGS is the output from 'libprelude-config --libs'
Kind regards,
--
Robin Gruyters
Network and Security Engineer
YIRDIS - Betronic Services
I: http://yirdis.com
I: http://betronic.nl
P: +31 (0)20 5659191
F: +31 (0)20 5659190
On Tue, Oct 09, 2007 at 09:37:53AM +0200, Sebastien Tricaud wrote:
> Hello Robin,
>
> seems the library flags are not added at compile time.
>
> can you append the string "-DPRELUDE -lprelude" into src/Config.Make
> and see if it reproduces the problem ?
>
> Thanks,
> Sebastien.
>
>
>
> On 10/9/07, Robin Gruyters <[email protected]> wrote:
> > Hi ya,
> >
> > I'm trying to compile Osse
> > /var/tmp//ccg7pzaa.o(.text+0x36):/usr/local/include/libprelude/prelude-error.h:347: undefined reference to `prelude_string_vprintf'
> _______________________________________________
> Prelude-devel site list
> [email protected]
> http://www.prelude-ids.org/mailman/listinfo/prelude-devel
_______________________________________________
Prelude-devel site list
[email protected]
http://www.prelude-ids.org/mailman/listinfo/prelude-devel
signature.asc
(application/pgp-signature, 187 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFHC1YfLh3hlgHmc7MRAiYvAKDr4volCDGN1Isg4pIkO1z4dycp3QCg30iN TX57SkQQ4cvdKhCLff6IqnI= =JDbO -----END PGP SIGNATURE-----