Skip to content

Instantly share code, notes, and snippets.

@coolaj86
Created November 18, 2010 19:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coolaj86/705497 to your computer and use it in GitHub Desktop.
Save coolaj86/705497 to your computer and use it in GitHub Desktop.
ntpdate fails to compile
bitbake ntpdate
NOTE: Handling BitBake files: \ (7237/7238) [99 %]
NOTE: Parsing finished. 6511 cached, 418 parsed, 309 skipped, 2 masked.
Build Configuration:
BB_VERSION = "1.8.18"
METADATA_BRANCH = "overo"
METADATA_REVISION = "f5525c9"
TARGET_ARCH = "arm"
TARGET_OS = "linux-gnueabi"
MACHINE = "overo"
DISTRO = "angstrom"
DISTRO_VERSION = "2010.7-test-20101118"
TARGET_FPU = "hard"
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
ERROR: Multiple .bb files are due to be built which each provide ntp (/mnt/local/overo-coolaj86/org.openembedded.dev/recipes/ntp/ntp_4.2.0.bb /mnt/local/overo-coolaj86/org.openembedded.dev/recipes/ntp/ntp_4.2.4p7.bb).
This usually means one provides something the other doesn't and should.
NOTE: Executing runqueue
NOTE: Running task 409 of 622 (ID: 13, /mnt/local/overo-coolaj86/org.openembedded.dev/recipes/ntp/ntp_4.2.0.bb, do_compile)
NOTE: Running task 412 of 622 (ID: 258, /mnt/local/overo-coolaj86/org.openembedded.dev/recipes/ntp/ntp_4.2.4p7.bb, do_install)
ERROR: function do_compile failed
ERROR: log data follows (/mnt/local/overo-coolaj86/tmp/work/armv7a-angstrom-linux-gnueabi/ntp-4.2.0-r9/temp/log.do_compile.7879)
| NOTE: make -j 4
| (bk version) >/dev/null 2>&1 && \
| cd . && \
| x=`bk -R prs -hr+ -nd:I: ChangeSet` && \
| y=`cat version 2>/dev/null` || true && \
| case "$x" in ''|$y) ;; *) echo $x > version ;; esac
| make all-recursive
| make[1]: Entering directory `/mnt/local/overo-coolaj86/tmp/work/armv7a-angstrom-linux-gnueabi/ntp-4.2.0-r9/ntp-4.2.0'
| Making all in scripts
| make[2]: Entering directory `/mnt/local/overo-coolaj86/tmp/work/armv7a-angstrom-linux-gnueabi/ntp-4.2.0-r9/ntp-4.2.0/scripts'
| make[2]: Nothing to be done for `all'.
| make[2]: Leaving directory `/mnt/local/overo-coolaj86/tmp/work/armv7a-angstrom-linux-gnueabi/ntp-4.2.0-r9/ntp-4.2.0/scripts'
| Making all in include
| make[2]: Entering directory `/mnt/local/overo-coolaj86/tmp/work/armv7a-angstrom-linux-gnueabi/ntp-4.2.0-r9/ntp-4.2.0/include'
| Making all in isc
| make[3]: Entering directory `/mnt/local/overo-coolaj86/tmp/work/armv7a-angstrom-linux-gnueabi/ntp-4.2.0-r9/ntp-4.2.0/include/isc'
| make[3]: Nothing to be done for `all'.
| make[3]: Leaving directory `/mnt/local/overo-coolaj86/tmp/work/armv7a-angstrom-linux-gnueabi/ntp-4.2.0-r9/ntp-4.2.0/include/isc'
| make[3]: Entering directory `/mnt/local/overo-coolaj86/tmp/work/armv7a-angstrom-linux-gnueabi/ntp-4.2.0-r9/ntp-4.2.0/include'
| make[3]: Nothing to be done for `all-am'.
| make[3]: Leaving directory `/mnt/local/overo-coolaj86/tmp/work/armv7a-angstrom-linux-gnueabi/ntp-4.2.0-r9/ntp-4.2.0/include'
| make[2]: Leaving directory `/mnt/local/overo-coolaj86/tmp/work/armv7a-angstrom-linux-gnueabi/ntp-4.2.0-r9/ntp-4.2.0/include'
| Making all in ElectricFence
| make[2]: Entering directory `/mnt/local/overo-coolaj86/tmp/work/armv7a-angstrom-linux-gnueabi/ntp-4.2.0-r9/ntp-4.2.0/ElectricFence'
| make[2]: Nothing to be done for `all'.
| make[2]: Leaving directory `/mnt/local/overo-coolaj86/tmp/work/armv7a-angstrom-linux-gnueabi/ntp-4.2.0-r9/ntp-4.2.0/ElectricFence'
| Making all in libntp
| make[2]: Entering directory `/mnt/local/overo-coolaj86/tmp/work/armv7a-angstrom-linux-gnueabi/ntp-4.2.0-r9/ntp-4.2.0/libntp'
| make[2]: Nothing to be done for `all'.
| make[2]: Leaving directory `/mnt/local/overo-coolaj86/tmp/work/armv7a-angstrom-linux-gnueabi/ntp-4.2.0-r9/ntp-4.2.0/libntp'
| Making all in libparse
| make[2]: Entering directory `/mnt/local/overo-coolaj86/tmp/work/armv7a-angstrom-linux-gnueabi/ntp-4.2.0-r9/ntp-4.2.0/libparse'
| make[2]: Nothing to be done for `all'.
| make[2]: Leaving directory `/mnt/local/overo-coolaj86/tmp/work/armv7a-angstrom-linux-gnueabi/ntp-4.2.0-r9/ntp-4.2.0/libparse'
| Making all in ntpd
| make[2]: Entering directory `/mnt/local/overo-coolaj86/tmp/work/armv7a-angstrom-linux-gnueabi/ntp-4.2.0-r9/ntp-4.2.0/ntpd'
| make[2]: Nothing to be done for `all'.
| make[2]: Leaving directory `/mnt/local/overo-coolaj86/tmp/work/armv7a-angstrom-linux-gnueabi/ntp-4.2.0-r9/ntp-4.2.0/ntpd'
| Making all in ntpdate
| make[2]: Entering directory `/mnt/local/overo-coolaj86/tmp/work/armv7a-angstrom-linux-gnueabi/ntp-4.2.0-r9/ntp-4.2.0/ntpdate'
| make[2]: Nothing to be done for `all'.
| make[2]: Leaving directory `/mnt/local/overo-coolaj86/tmp/work/armv7a-angstrom-linux-gnueabi/ntp-4.2.0-r9/ntp-4.2.0/ntpdate'
| Making all in ntpdc
| make[2]: Entering directory `/mnt/local/overo-coolaj86/tmp/work/armv7a-angstrom-linux-gnueabi/ntp-4.2.0-r9/ntp-4.2.0/ntpdc'
| make all-am
| make[3]: Entering directory `/mnt/local/overo-coolaj86/tmp/work/armv7a-angstrom-linux-gnueabi/ntp-4.2.0-r9/ntp-4.2.0/ntpdc'
| arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../include -isystem/mnt/local/overo-coolaj86/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -isystem/mnt/local/overo-coolaj86/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED -Wall -Wcast-qual -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -MT ntpdc.o -MD -MP -MF .deps/ntpdc.Tpo -c -o ntpdc.o ntpdc.c
| ntpdc.c: In function 'openhost':
| ntpdc.c:452: error: 'EAI_NODATA' undeclared (first use in this function)
| ntpdc.c:452: error: (Each undeclared identifier is reported only once
| ntpdc.c:452: error: for each function it appears in.)
| make[3]: *** [ntpdc.o] Error 1
| make[3]: Leaving directory `/mnt/local/overo-coolaj86/tmp/work/armv7a-angstrom-linux-gnueabi/ntp-4.2.0-r9/ntp-4.2.0/ntpdc'
| make[2]: *** [all] Error 2
| make[2]: Leaving directory `/mnt/local/overo-coolaj86/tmp/work/armv7a-angstrom-linux-gnueabi/ntp-4.2.0-r9/ntp-4.2.0/ntpdc'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/mnt/local/overo-coolaj86/tmp/work/armv7a-angstrom-linux-gnueabi/ntp-4.2.0-r9/ntp-4.2.0'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
NOTE: Task failed: /mnt/local/overo-coolaj86/tmp/work/armv7a-angstrom-linux-gnueabi/ntp-4.2.0-r9/temp/log.do_compile.7879
ERROR: TaskFailed event exception, aborting
ERROR: Build of /mnt/local/overo-coolaj86/org.openembedded.dev/recipes/ntp/ntp_4.2.0.bb do_compile failed
ERROR: Task 13 (/mnt/local/overo-coolaj86/org.openembedded.dev/recipes/ntp/ntp_4.2.0.bb, do_compile) failed
NOTE: Waiting for 1 active tasks to finish
NOTE: 1: /mnt/local/overo-coolaj86/org.openembedded.dev/recipes/ntp/ntp_4.2.4p7.bb, do_install (7880)
NOTE: Tasks Summary: Attempted 605 tasks of which 605 didn't need to be rerun and 1 failed.
ERROR: '/mnt/local/overo-coolaj86/org.openembedded.dev/recipes/ntp/ntp_4.2.0.bb' failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment