Wind River Support Network


LIN6-9317 : CLONE - systemtap: build fails "_BSD_SOURCE and _SVID_SOURCE are deprecated"

Created: Jan 25, 2015    Updated: Dec 3, 2018
Resolved Date: Jan 25, 2015
Previous ID: LIN5-20019
Found In Version:
Fix Version:
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Userspace


systemtap fails to compile:

In file included from /usr/include/stdio.h:27:0,
                 from staprun.h:13,
                 from staprun.c:24:
/usr/include/features.h:148:3: error: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Werror=cpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
Makefile:482: recipe for target 'staprun-staprun.o' failed

WRAXL build logs:

Steps to Reproduce

Configure your build with:
--enable-board=ti-omap3 \
--enable-rootfs=glibc-std-sato \
--enable-kernel=standard \
--with-layer=wr-security,meta-selinux \
--enable-build=profiling \
--with-template=feature/analysis \
--enable-parallel-pkgbuilds=20 \
--enable-jobs=10 \
--enable-patchresolve=noop \

Other Downloads

Live chat