apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 50146] New: cross compiling apr error: redefinition of 'struct iovec'
Date Sat, 23 Oct 2010 14:05:44 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50146

           Summary: cross compiling apr error: redefinition of 'struct
                    iovec'
           Product: APR
           Version: HEAD
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: APR
        AssignedTo: bugs@apr.apache.org
        ReportedBy: smartart@tiscali.it


apr-1.4.2
target architecture is powerpc from a x86_64 machine
I had to add --tag=CC to libtool options, but ended being blocked by this
error.


make -j1 
make[1]: Entering directory
`/usr/powerpc-unknown-linux-gnu/tmp/portage/dev-libs/apr-1.4.2/work/apr-1.4.2
'
/bin/bash /usr/bin/libtool --silent --tag=CC --mode=compile
powerpc-unknown-linux-gnu-gcc   -Os -pipe -mcpu=603e -fno-strict-aliasing
-fsigned-char -I/usr/powerpc-unknown-linux-gnu/usr/include/
-I/usr/powerpc-unknown-linux-gnu/include/ -DHAVE_CONFIG_H -DLINUX=2
-D_REENTRANT -D_GNU_SOURCE   -I./include
-I/usr/powerpc-unknown-linux-gnu/tmp/portage/dev-libs/apr-1.4.2/work/apr-1.4.2/include/arch/unix
-I./include/arch/unix
-I/usr/powerpc-unknown-linux-gnu/tmp/portage/dev-libs/apr-1.4.2/work/apr-1.4.2/include/arch/unix
-I/usr/powerpc-unknown-linux-gnu/tmp/portage/dev-libs/apr-1.4.2/work/apr-1.4.2/include
 -o passwd/apr_getpass.lo -c passwd/apr_getpass.c && touch
passwd/apr_getpass.lo
In file included from ./include/apr_strings.h:52,
                 from passwd/apr_getpass.c:23:
./include/apr_want.h:93: error: redefinition of 'struct iovec'
make[1]: *** [passwd/apr_getpass.lo] Error 1
make[1]: Leaving directory
`/usr/powerpc-unknown-linux-gnu/tmp/portage/dev-libs/apr-1.4.2/work/apr-1.4.2'

tell me if you need further infos
make: *** [all-recursive] Error 1

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


Mime
View raw message