[syslog-ng] compiling syslog-ng for armv7 platform on linux with TLS support

Scheidler, Balázs balazs.scheidler at balabit.com
Sat Feb 6 22:00:20 CET 2016


Sorry but I don't know the target environment so reviewing this is pretty
impossible. If it compiles with these and at least the functest runs then
it should be OK.

Do you have a specific reason to call syslog-ng binary as syslog-ngd? On
other platforms it is syslog-ng.
On Feb 4, 2016 12:31 PM, "Girish Kumar" <girish.kumar at al-enterprise.com>
wrote:

> Hi All,
>
>
>
> Presently I am compiling for armv7 platform on linux. Please let me know
>  whether following settings are fine
>
>
>
> syslog-ng_deps = $(shell find $(LTOP)/syslog-ng-3.6.4 -type f)
>
> $(OBJS)/syslog-ng/syslog-ng.configured: $(syslog-ng_deps)
> $(RAMDISK_LIB)/libssl.so.1.0.0 eventlog
>
>     @rm -rf $(OBJS)/syslog-ng;
>
>     @mkdir -p $(OBJS)/syslog-ng;
>
>     @cd $(OBJS)/syslog-ng;\
>
>     declare -x PATH=$(CCPATH):$(PATH);\
>
>     declare -x CFLAGS="$(PLATFORM_CFLAGS) -I$(CROSSINCS)
> -I$(BUILT_INCLUDES)";\
>
>     declare -x CPPFLAGS="$(PLATFORM_CPPFLAGS) -I$(CROSSINCS)
> -I$(BUILT_INCLUDES)";\
>
>     declare -x LDFLAGS="$(PLATFORM_LDFLAGS) -L$(CROSSLIBS) -L$(BUILT_LIBS)
> -lcrypto -levtlog";\
>
>     declare -x EVTLOG_CFLAGS="$(PLATFORM_CFLAGS) -I$(CROSSINCS)
> -I$(BUILT_INCLUDES) -I$(BUILT_INCLUDES)/eventlog";\
>
>     declare -x EVTLOG_LIBS="$(PLATFORM_LDFLAGS) -L$(CROSSLIBS)
> -L$(BUILT_LIBS) -levtlog";\
>
>     declare -x ac_cv_func_malloc_0_nonnull="yes";\
>
>     declare -x ac_cv_func_realloc_0_nonnull="yes";\
>
>     $(LTOP)/syslog-ng-3.6.4/configure --prefix=/ --host=$(CCPREFIX)\
>
>         --enable-ssl --enable-glib &> $(OBJS)/syslog-ng/configure.out
>
>     @touch $(OBJS)/syslog-ng/syslog-ng.configured
>
> $(BUILT_BASE)/sbin/syslog-ngd: $(OBJS)/syslog-ng/syslog-ng.configured
>
>     @cd $(OBJS)/syslog-ng;\
>
>     declare -x PATH=$(CCPATH):$(PATH);\
>
>     declare -x CFLAGS="$(PLATFORM_CFLAGS) -I$(CROSSINCS)
> -I$(BUILT_INCLUDES)";\
>
>     declare -x CPPFLAGS="$(PLATFORM_CPPFLAGS) -I$(CROSSINCS)
> -I$(BUILT_INCLUDES)";\
>
>     declare -x LDFLAGS="$(PLATFORM_LDFLAGS) -L$(CROSSLIBS) -L$(BUILT_LIBS)
> -lcrypto -levtlog";\
>
>     declare -x EVTLOG_CFLAGS="$(PLATFORM_CFLAGS) -I$(CROSSINCS)
> -I$(BUILT_INCLUDES) -I$(BUILT_INCLUDES)/eventlog";\
>
>     declare -x EVTLOG_LIBS="$(PLATFORM_LDFLAGS) -L$(CROSSLIBS)
> -L$(BUILT_LIBS) -levtlog";\
>
>     $(MAKE) &> $(OBJS)/syslog-ng/make.out;\
>
>     make install prefix=$(BUILT_BASE) &> $(OBJS)/syslog-ng/install.out
>
>
>
> $(RAMDISK_SBIN)/syslog-ngd: $(BUILT_BASE)/sbin/syslog-ngd
>
>     @cp -rf $(BUILT_BASE)/lib/syslog-ng $(RAMDISK_LIB)
>
>    @cp -f $(BUILT_BASE)/sbin/syslog-ngd $(RAMDISK_SBIN)
>
>     @echo "$(PLATFORM_DIR) syslog-ngd done"
>
>
>
> syslog-ng: $(RAMDISK_SBIN)/syslog-ngd
>
>
>
> Regards,
>
> Girish
>
>
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation:
> http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.balabit.com/wiki/syslog-ng-faq
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20160206/fefa4ddb/attachment-0001.htm 


More information about the syslog-ng mailing list