[Bug 4394] New: HAVE_PROGRAM_INVOCATION_NAME not defined in eglibc

bugzilla-daemon at amethyst.openembedded.net bugzilla-daemon at amethyst.openembedded.net
Sun Jun 29 13:41:20 UTC 2008


http://bugs.openembedded.net/show_bug.cgi?id=4394

           Summary: HAVE_PROGRAM_INVOCATION_NAME not defined in eglibc
    Classification: Unclassified
           Product: Openembedded
           Version: Angstrom 2008.x
          Platform: PowerPC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P3
         Component: org.openembedded.dev
        AssignedTo: openembedded-issues at lists.openembedded.org
        ReportedBy: likewise at gmx.net


eglibc configure does not seem to set HAVE_PROGRAM_INVOCATION_NAME, whereas the
includes do provide the variable.

libvbi checks for the flag, and declares its own variant, and a non-static
versus static fault stops the build:

| make[3]: Entering directory
`/home/leon/sandbox/mpc8313e/openembedded/build/tmp/work/ppce300c3-angstrom-linux/libzvbi-0.2.25-r1/zvbi-0.2.25/test'
| ccache powerpc-angstrom-linux-gcc -mcpu=e300c3 -DHAVE_CONFIG_H -I. -I..  -I..
 -D_REENTRANT -D_GNU_SOURCE
-isystem/home/leon/sandbox/mpc8313e/openembedded/build/tmp/staging/powerpc-angstrom-linux/usr/include
-I..  -D_REENTRANT -D_GNU_SOURCE
-isystem/home/leon/sandbox/mpc8313e/openembedded/build/tmp/staging/powerpc-angstrom-linux/usr/include
-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -MT
decode.o -MD -MP -MF .deps/decode.Tpo -c -o decode.o decode.c
| decode.c:97: error: static declaration of 'program_invocation_name' follows
non-static declaration
|
/home/leon/sandbox/mpc8313e/openembedded/build/tmp/staging/powerpc-angstrom-linux/usr/include/errno.h:55:
error: previous declaration of 'program_invocation_name' was here
| decode.c:98: error: static declaration of 'program_invocation_short_name'
follows non-static declaration
|
/home/leon/sandbox/mpc8313e/openembedded/build/tmp/staging/powerpc-angstrom-linux/usr/include/errno.h:55:
error: previous declaration of 'program_invocation_short_name' was here
| make[3]: *** [decode.o] Error 1
| make[3]: Leaving directory
`/home/leon/sandbox/mpc8313e/openembedded/build/tmp/work/ppce300c3-angstrom-linux/libzvbi-0.2.25-r1/zvbi-0.2.25/test'
| make[2]: *** [all-recursive] Error 1
| make[2]: Leaving directory
`/home/leon/sandbox/mpc8313e/openembedded/build/tmp/work/ppce300c3-angstrom-linux/libzvbi-0.2.25-r1/zvbi-0.2.25'
| make[1]: *** [all] Error 2
| make[1]: Leaving directory
`/home/leon/sandbox/mpc8313e/openembedded/build/tmp/work/ppce300c3-angstrom-linux/libzvbi-0.2.25-r1/zvbi-0.2.25'
| FATAL: oe_runmake failed
| ERROR: Function do_compile failed
NOTE: package libzvbi-0.2.25-r1: task do_compile: Failed
ERROR: TaskFailed event exception, aborting
NOTE: package libzvbi-0.2.25: failed

-- 
Configure bugmail: http://bugs.openembedded.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-issues mailing list