All of lore.kernel.org
 help / color / mirror / Atom feed
* SDK missing /usr/include/asm header files
@ 2019-01-11 15:50 Grant Edwards
  2019-01-11 15:52 ` Burton, Ross
  0 siblings, 1 reply; 4+ messages in thread
From: Grant Edwards @ 2019-01-11 15:50 UTC (permalink / raw)
  To: yocto


I've built a "poky" SDK for use with a Renesas RZN1 eval board (dual
ARM Cortex-A7 cores), and the toolchain's sysroot seems to be missing
the "asm" header directory.  When I try to compile a simple tcp echo
server program I get this:

    /home/grante/rzn1d/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc --sysroot=/home/grante/rzn1d/toolchain/sysroots/armv7vehf-vfp-poky-linux-gnueabi -march=armv7ve -marm -mfpu=vfp -mfloat-abi=hard -Wall -Werror -std=gnu99 -c tcpecho.c
    In file included from /home/grante/rzn1d/toolchain/sysroots/armv7vehf-vfp-poky-linux-gnueabi/usr/include/signal.h:287:0,
                 from /home/grante/rzn1d/toolchain/sysroots/armv7vehf-vfp-poky-linux-gnueabi/usr/include/sys/wait.h:36,
                 from tcpecho.c:6:
    /home/grante/rzn1d/toolchain/sysroots/armv7vehf-vfp-poky-linux-gnueabi/usr/include/bits/sigcontext.h:30:11: fatal error: asm/sigcontext.h: No such file or directory
     # include <asm/sigcontext.h>
               ^~~~~~~~~~~~~~~~~~
    compilation terminated.
    make: *** [Makefile:26: tcpecho.o] Error 1

Browsing throught the installed toolchain's sysroot confirms that gcc
is correct: there's no "asm" directory in the sysroot's usr/include
directory (or anywhere else in the toolchain's installation tree).

This is the first time I've tried to build an SDK, so I've probably
done something wrong, but I could use a clue as to what might have
gone wrong...

-- 
Grant Edwards               grant.b.edwards        Yow! What's the MATTER
                                  at               Sid? ... Is your BEVERAGE
                              gmail.com            unsatisfactory?


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-01-11 16:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-11 15:50 SDK missing /usr/include/asm header files Grant Edwards
2019-01-11 15:52 ` Burton, Ross
2019-01-11 16:20   ` Grant Edwards
2019-01-11 16:30     ` Burton, Ross

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.