From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31746 invoked by alias); 3 Jun 2014 11:33:17 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 31692 invoked by uid 48); 3 Jun 2014 11:33:09 -0000 From: "naroyce at hotmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug build/17007] Check Scanf15 bits/syscall.h No such file Date: Tue, 03 Jun 2014 11:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: build X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: naroyce at hotmail dot com X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-06/txt/msg00021.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=17007 --- Comment #4 from naroyce at hotmail dot com --- (In reply to Andreas Schwab from comment #3) Hmmm, that "_LIBC" definition seems to contradict with "stubs-hard.h" $ ../glibc/configure --prefix="/usr" --disable-profile --enable-kernel=3.8.13 --libexecdir="${newPartition_ROOT}/usr/lib/glibc" --enable-obsolete-rpc --with-headers="${newPartition_ROOT}/usr/include" CFLAGS="-O3 -pipe -mfpu=neon -mtune=cortex-a9 -march=armv7-a -mfloat-abi=hard" CXXFLAGS="-O3 -pipe -mfpu=neon -mtune=cortex-a9 -march=armv7-a -mfloat-abi=hard" $ make ***** In file included from /armv7l-unknown-linux-gnueabihf/include/gnu/stubs.h:10:0, from /armv7l-unknown-linux-gnueabihf/include/features.h:389, from ./sysdeps/arm/sysdep.h:20, from ./sysdeps/unix/arm/sysdep.h:19, from sysdeps/unix/sysv/linux/arm/sysdep.h:24, from :1: /armv7l-unknown-linux-gnueabihf/include/gnu/stubs-hard.h:7:3: error: #error Applications may not define the macro _LIBC #error Applications may not define the macro _LIBC ^ ***** config.log #define HAVE_ARM_PCS_VFP 1 stubs.h #if defined __ARM_PCS_VFP # include #endif stubs-hard.h #ifdef _LIBC #error Applications may not define the macro _LIBC #endif However, if I add 'CPPFLAGS="-I${newPartition_ROOT}/usr/include"' (which contains the linux headers) to "configure", the _LIBC error does not occur, but I'd still run into the scanf15 error during check unless I change that Makefile. If I may ask, what could I be doing wrong or what am I missing? -- You are receiving this mail because: You are on the CC list for the bug.