All of lore.kernel.org
 help / color / mirror / Atom feed
* bitbake ntpdate failure
@ 2010-11-18 19:56 AJ ONeal
  2010-11-18 21:46 ` Khem Raj
  0 siblings, 1 reply; 2+ messages in thread
From: AJ ONeal @ 2010-11-18 19:56 UTC (permalink / raw)
  To: openembedded-devel

*| ntpdc.c:452: error: 'EAI_NODATA' undeclared (first use in this function)*


Full output:
https://gist.github.com/705497


Snippit:

| 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

AJ ONeal


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

* Re: bitbake ntpdate failure
  2010-11-18 19:56 bitbake ntpdate failure AJ ONeal
@ 2010-11-18 21:46 ` Khem Raj
  0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2010-11-18 21:46 UTC (permalink / raw)
  To: openembedded-devel

On Thu, Nov 18, 2010 at 11:56 AM, AJ ONeal <coolaj86@gmail.com> wrote:
> *| ntpdc.c:452: error: 'EAI_NODATA' undeclared (first use in this function)*
>

EAI_NODATA is removed from getaddrinfo struct

you can conditionalize the code to take care of it

#if defined(EAI_NODATA) && EAI_NODATA != EAI_NONAME
     stuff .... depending on EAI_NODATA
#endif

>
> Full output:
> https://gist.github.com/705497
>
>
> Snippit:
>
> | 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
>
> AJ ONeal
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



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

end of thread, other threads:[~2010-11-18 21:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-18 19:56 bitbake ntpdate failure AJ ONeal
2010-11-18 21:46 ` Khem Raj

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.