[syslog-ng] SSL compile errors even when configured without ssl support

chris packham chris.packham at alliedtelesis.co.nz
Mon Jan 26 23:23:32 CET 2009


Hi Bazsi ,

I've got a development environment I can kill libssl on.

I'll try to get up to date with the patches you've already sent.
 
>>> Chris Fabri <fabric at northwestern.edu> 01/27/09 8:53 AM >>> 
On Mon, Jan 26, 2009 at 3:35 AM, Balazs Scheidler <bazsi at balabit.hu> wrote:

>
> Sorry, that it takes this much effort, but I don't want to mess up my
> development computer while removing the libssl headers. New errors, new
> patch:
>
> diff --git a/src/tlstransport.c b/src/tlstransport.c
> index 608a427..2f07625 100644
> --- a/src/tlstransport.c
> +++ b/src/tlstransport.c
> @@ -1,5 +1,7 @@
>  #include "tlstransport.h"
>
> +#if ENABLE_SSL
> +
>  #include "messages.h"
>
>  #include <openssl/ssl.h>
> @@ -149,4 +151,4 @@ log_transport_tls_free_method(LogTransport *s)
>   log_transport_free_method(s);
>  }
>
> -
> +#endif
>
>
> --
> Bazsi
>


Here's what I get now:

if gcc -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include   -I/usr/local/include/eventlog
-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2 -Wall
-MT tlstransport.o -MD -MP -MF ".deps/tlstransport.Tpo" -c -o
tlstransport.o tlstransport.c; \
then mv -f ".deps/tlstransport.Tpo" ".deps/tlstransport.Po"; else rm
-f ".deps/tlstransport.Tpo"; exit 1; fi
In file included from tlstransport.c:1:
tlstransport.h:12: syntax error before '*' token
make[2]: *** [tlstransport.o] Error 1
make[2]: Leaving directory `/home/fabric/syslog-ng-3.0.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fabric/syslog-ng-3.0.1'
make: *** [all] Error 2

chris
______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.campin.net/syslog-ng/faq.html




More information about the syslog-ng mailing list