Fixed
Created: Oct 30, 2013
Updated: Dec 3, 2018
Resolved Date: Dec 19, 2013
Previous ID: LIN5-5234
Found In Version: 6.0
Fix Version: 6.0.0.2
Severity: Severe
Applicable for: Wind River Linux 6
Component/s: Kernel
The problem is with the syslog-ng package itself. Looking at the configure.in we can see:
743 AC_MSG_CHECKING(for LIBNET)
744 if test "x$with_libnet" = "x"; then
745 LIBNET_CONFIG="`which libnet-config`"
746 else
747 LIBNET_CONFIG="$with_libnet/libnet-config"
748 fi
This is obivously broken for cross-compilation if we have libnet-config installed on our host machine.
libnet isn't a hard requirement to build syslog-ng, thus there shouldn't be one in the recipe.
Use a SUSE 11.2 host.
Configure --enable-kernel=standard --enable-rootfs=glibc_core --enable-board=intel_xeon_core --enable-parallel-pkgbuilds=3 --enable-jobs=3 --enable-reconfig --with-rcpl-version=0003 or 0008
Make
make -C build syslog-ng.addpkg
make -C build syslog-ng
This will fail with a missing dependency to LIBNET.
OR a broken cross-compilation if libnet-config are installed on the host machine.