All of lore.kernel.org
 help / color / mirror / Atom feed
* advice on recipe for shared lib mDNSResponder
@ 2017-09-27 22:58 Steve Pavao
  2017-09-27 23:17 ` Andre McCurdy
  2017-09-28  9:38 ` Burton, Ross
  0 siblings, 2 replies; 8+ messages in thread
From: Steve Pavao @ 2017-09-27 22:58 UTC (permalink / raw)
  To: yocto

Hello,

I am fairly new to Yocto, yet have been able to successfully add a custom kernel object to my Yocto poky build, no problem.  However, I am having some difficulty adding a shared library, namely mDNSResponder.

Right now, my recipe is very simple and does not use autotools.  There are just a few tweaks for cross-building which I’ve added to the supplied mDNSResponder Makefile for mDNSPosix, in order to target 64-bit ARM hardware.  Here is the build error I encounter.  Obviously the environment is not being set 100% correctly, because it can not find stdio.h.  Is there an easy way to avoid this problem?

- Steve Pavao
Korg R&D

Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 4
| ERROR: oe_runmake failed
| make os=EmbeddedLinuxAarch64 Daemon libdns_sd -C mDNSPosix
| make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
| make[1]: Entering directory '/data/development/lfs/yocto/poky/build/tmp/work/aarch64-poky-linux/mDNSResponder/333.10-r0/mDNSPosix'
| aarch64-poky-linux-gcc -I../mDNSCore -I../mDNSShared -Iobjects/prod/EmbeddedLinuxAarch64 -fwrapv -W -Wall -DPID_FILE=\"/var/run/mdnsd.pid\" -DMDNS_UDS_SERVERPATH=\"/var/run/mdnsd\" -DNOT_HAVE_SA_LEN -DUSES_NETLINK -DHAVE_LINUX -DTARGET_OS_LINUX -fno-strict-aliasing -Os -DMDNS_DEBUGMSGS=0   -c -o objects/prod/EmbeddedLinuxAarch64/PosixDaemon.c.o PosixDaemon.c
| PosixDaemon.c:31:19: fatal error: stdio.h: No such file or directory
|  #include <stdio.h>
|                    ^
| compilation terminated.
| Makefile:553: recipe for target 'objects/prod/EmbeddedLinuxAarch64/PosixDaemon.c.o' failed
| make[1]: *** [objects/prod/EmbeddedLinuxAarch64/PosixDaemon.c.o] Error 1

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

end of thread, other threads:[~2017-09-29  1:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-27 22:58 advice on recipe for shared lib mDNSResponder Steve Pavao
2017-09-27 23:17 ` Andre McCurdy
2017-09-28 16:29   ` Steve Pavao
2017-09-28 22:30     ` Paul Eggleton
2017-09-29  0:11       ` Andre McCurdy
2017-09-29  0:44         ` Andre McCurdy
2017-09-29  1:14           ` Paul Eggleton
2017-09-28  9:38 ` 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.