[prev in list] [next in list] [prev in thread] [next in thread] 

List:       axis-c-dev
Subject:    [jira] Commented: (AXIS2C-528) problem with the build on AIX
From:       "Dinesh Premalal (JIRA)" <jira () apache ! org>
Date:       2008-10-29 20:04:44
Message-ID: 1628807509.1225310684310.JavaMail.jira () brutus
[Download RAW message or body]


    [ https://issues.apache.org/jira/browse/AXIS2C-528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12643634#action_12643634 \
] 

Dinesh Premalal commented on AXIS2C-528:
----------------------------------------

suggested fix

http://mail-archives.apache.org/mod_mbox/ws-axis-c-dev/200810.mbox/%3C1C5078180E92E94595BBC384F5F3FC3B0206A8B6@USCOBRMFA-SE-70.northamerica.cexp.com%3E


> problem with the build on AIX
> -----------------------------
> 
> Key: AXIS2C-528
> URL: https://issues.apache.org/jira/browse/AXIS2C-528
> Project: Axis2-C
> Issue Type: Bug
> Components: build system (Unix/Linux)
> Environment: AIX 5.3
> gcc -v
> Using built-in specs.
> Target: powerpc-ibm-aix5.3.0.0
> Configured with: ../gcc-4.1.1/configure --prefix=/usr/local/4.1.1 \
> --enable-languages=c,c++,objc Thread model: aix
> gcc version 4.1.1
> Reporter: Vladimir Penev
> Assignee: Sanjaya Ratnaweera
> 
> I have tried to build version 0.96 of AXIS2C on our development mashine:
> AIX 5.3
> gcc -v
> Using built-in specs.
> Target: powerpc-ibm-aix5.3.0.0
> Configured with: ../gcc-4.1.1/configure --prefix=/usr/local/4.1.1 \
> --enable-languages=c,c++,objc Thread model: aix
> gcc version 4.1.1
> The configure has ok, but after make command I received:
> gmake  all-recursive
> gmake[1]: Entering directory `/axis2c-src-0.96'
> Making all in util
> gmake[2]: Entering directory `/axis2c-src-0.96/util'
> gmake  all-recursive
> gmake[3]: Entering directory `/axis2c-src-0.96/util'
> Making all in src
> gmake[4]: Entering directory `/axis2c-src-0.96/util/src'
> Making all in platforms/unix
> gmake[5]: Entering directory `/axis2c-src-0.96/util/src/platforms/unix'
> if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. \
> -I../../.. -I../../../include -I../../../include/platforms \
> -I../../../include/platforms/unix    -g -O2 -D_LARGEFILE64_SOURCE -ansi -Wall \
> -Wno-implicit-function-declaration   -MT uuid_gen_unix.lo -MD -MP -MF \
> ".deps/uuid_gen_unix.Tpo" -c -o uuid_gen_unix.lo uuid_gen_unix.c; \ then mv -f \
> ".deps/uuid_gen_unix.Tpo" ".deps/uuid_gen_unix.Plo"; else rm -f \
> ".deps/uuid_gen_unix.Tpo"; exit 1; fi mkdir .libs
> gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../include \
> -I../../../include/platforms -I../../../include/platforms/unix -g -O2 \
> -D_LARGEFILE64_SOURCE -ansi -Wall -Wno-implicit-function-declaration -MT \
> uuid_gen_unix.lo -MD -MP -MF .deps/uuid_gen_unix.Tpo -c uuid_gen_unix.c  -DPIC -o \
> .libs/uuid_gen_unix.o uuid_gen_unix.c:24:26: error: sys/sockio.h: No such file or \
> directory In file included from uuid_gen_unix.c:26:
> /usr/include/net/if_arp.h:68: error: expected specifier-qualifier-list before \
>                 'u_short'
> /usr/include/net/if_arp.h:99: error: expected specifier-qualifier-list before \
>                 'u_short'
> /usr/include/net/if_arp.h:103: error: expected specifier-qualifier-list before \
>                 'u_short'
> /usr/include/net/if_arp.h:107: error: expected specifier-qualifier-list before \
>                 'u_short'
> /usr/include/net/if_arp.h:153: error: expected specifier-qualifier-list before \
>                 'u_char'
> /usr/include/net/if_arp.h:170: error: field 'at_iaddr' has incomplete type
> /usr/include/net/if_arp.h:171: error: expected specifier-qualifier-list before \
>                 'u_char'
> /usr/include/net/if_arp.h:204: error: field 'arp_pa' has incomplete type
> /usr/include/net/if_arp.h:205: error: field 'arp_ha' has incomplete type
> /usr/include/net/if_arp.h:207: error: expected specifier-qualifier-list before \
>                 'u_short'
> /usr/include/net/if_arp.h:227: error: field 'ac_if' has incomplete type
> /usr/include/net/if_arp.h:228: error: expected specifier-qualifier-list before \
>                 'u_char'
> /usr/include/net/if_arp.h:324: error: expected specifier-qualifier-list before \
> 'u_char' In file included from uuid_gen_unix.c:32:
> /usr/include/net/if_dl.h:87: error: expected specifier-qualifier-list before \
> 'u_char' In file included from uuid_gen_unix.c:47:
> ../../../include/platforms/unix/axis2_uuid_gen_unix.h:56: error: field 'time_last' \
> has incomplete type In file included from \
> ../../../include/platforms/axis2_platform_auto_sense.h:50, from uuid_gen_unix.c:48:
> ../../../include/platforms/unix/axis2_unix.h:117:20: error: getopt.h: No such file \
> or directory In file included from \
> ../../../include/platforms/unix/axis2_unix.h:131, from \
> ../../../include/platforms/axis2_platform_auto_sense.h:50, from uuid_gen_unix.c:48:
> /usr/local/include/zlib.h:1183: error: expected '=', ',', ';', 'asm' or \
>                 '__attribute__' before 'gzseek'
> /usr/local/include/zlib.h:1208: error: expected '=', ',', ';', 'asm' or \
>                 '__attribute__' before 'gztell'
> /usr/local/include/zlib.h:1276: error: expected declaration specifiers or '...' \
>                 before 'off_t'
> /usr/local/include/zlib.h:1301: error: expected declaration specifiers or '...' \
> before 'off_t' In file included from /usr/include/sched.h:51,
> from /usr/include/pthread.h:64,
> from ../../../include/platforms/unix/axis2_unix.h:163,
> from ../../../include/platforms/axis2_platform_auto_sense.h:50,
> from uuid_gen_unix.c:48:
> /usr/include/sys/sched.h:77: error: expected ')' before 'struct'
> /usr/include/sys/sched.h:79: error: expected ')' before 'struct'
> /usr/include/sys/sched.h:80: error: expected ')' before 'const'
> /usr/include/sys/sched.h:81: error: expected ')' before 'int'
> In file included from ../../../include/platforms/unix/axis2_unix.h:163,
> from ../../../include/platforms/axis2_platform_auto_sense.h:50,
> from uuid_gen_unix.c:48:
> /usr/include/pthread.h:230: error: expected ')' before '*' token
> /usr/include/pthread.h:233: error: expected ')' before '*' token
> /usr/include/pthread.h:237: error: expected ')' before '*' token
> /usr/include/pthread.h:242: error: expected ';', ',' or ')' before '*' token
> /usr/include/pthread.h:248: error: expected ')' before '*' token
> /usr/include/pthread.h:252: error: expected ';', ',' or ')' before '*' token
> /usr/include/pthread.h:256: error: expected ')' before '*' token
> /usr/include/pthread.h:260: error: expected ';', ',' or ')' before '*' token
> /usr/include/pthread.h:264: error: expected ')' before '*' token
> /usr/include/pthread.h:268: error: expected ';', ',' or ')' before '*' token
> /usr/include/pthread.h:272: error: expected ')' before '*' token
> /usr/include/pthread.h:276: error: expected ';', ',' or ')' before '*' token
> /usr/include/pthread.h:280: error: expected ')' before '*' token
> /usr/include/pthread.h:284: error: expected ';', ',' or ')' before '*' token
> /usr/include/pthread.h:288: error: expected ')' before '*' token
> /usr/include/pthread.h:292: error: expected ';', ',' or ')' before '*' token
> /usr/include/pthread.h:297: error: expected ')' before '*' token
> /usr/include/pthread.h:301: error: expected ';', ',' or ')' before '*' token
> /usr/include/pthread.h:310: error: expected ')' before 'int'
> /usr/include/pthread.h:315: error: expected ')' before 'int'
> /usr/include/pthread.h:320: error: expected ')' before 'int'
> /usr/include/pthread.h:324: error: expected '=', ',', ';', 'asm' or '__attribute__' \
>                 before 'pthread_self'
> /usr/include/pthread.h:331: error: expected ')' before '*' token
> /usr/include/pthread.h:339: error: expected ')' before 'void'
> /usr/include/pthread.h:360: error: expected ')' before '*' token
> /usr/include/pthread.h:364: error: expected ';', ',' or ')' before '*' token
> /usr/include/pthread.h:372: error: expected ')' before 'int'
> /usr/include/pthread.h:392: error: expected ')' before '*' token
> /usr/include/pthread.h:395: error: expected ')' before '*' token
> /usr/include/pthread.h:398: error: expected ')' before '*' token
> /usr/include/pthread.h:402: error: expected ';', ',' or ')' before '*' token
> /usr/include/pthread.h:406: error: expected ')' before '*' token
> /usr/include/pthread.h:410: error: expected ';', ',' or ')' before '*' token
> /usr/include/pthread.h:414: error: expected ';', ',' or ')' before '*' token
> /usr/include/pthread.h:423: error: expected ')' before '*' token
> /usr/include/pthread.h:429: error: expected ';', ',' or ')' before '*' token
> /usr/include/pthread.h:433: error: expected ')' before '*' token
> /usr/include/pthread.h:443: error: expected ')' before '*' token
> /usr/include/pthread.h:451: error: expected ')' before '*' token
> /usr/include/pthread.h:454: error: expected ')' before '*' token
> /usr/include/pthread.h:464: error: expected ')' before '*' token
> /usr/include/pthread.h:467: error: expected ')' before '*' token
> /usr/include/pthread.h:470: error: expected ')' before '*' token
> /usr/include/pthread.h:476: error: expected ';', ',' or ')' before '*' token
> /usr/include/pthread.h:488: error: expected ')' before '*' token
> /usr/include/pthread.h:491: error: expected ')' before '*' token
> /usr/include/pthread.h:494: error: expected ';', ',' or ')' before '*' token
> /usr/include/pthread.h:503: error: expected ')' before '*' token
> /usr/include/pthread.h:526: error: expected ')' before '*' token
> /usr/include/pthread.h:531: error: expected ')' before '*' token
> /usr/include/pthread.h:534: error: expected ')' before '*' token
> /usr/include/pthread.h:538: error: expected ')' before '*' token
> /usr/include/pthread.h:543: error: expected ')' before '*' token
> /usr/include/pthread.h:546: error: expected ')' before '*' token
> /usr/include/pthread.h:553: error: expected ')' before '*' token
> /usr/include/pthread.h:563: error: expected ')' before 'const'
> /usr/include/pthread.h:586: error: expected ')' before '*' token
> uuid_gen_unix.c: In function 'axis2_uuid_gen_v1':
> uuid_gen_unix.c:59: error: storage size of 'time_now' isn't known
> uuid_gen_unix.c:60: error: storage size of 'tv' isn't known
> uuid_gen_unix.c:60: warning: unused variable 'tv'
> uuid_gen_unix.c:59: warning: unused variable 'time_now'
> uuid_gen_unix.c:237:29: warning: extra tokens at end of #ifdef directive
> uuid_gen_unix.c:307:11: warning: extra tokens at end of #else directive
> uuid_gen_unix.c: In function 'axis2_uuid_get_mac_addr':
> uuid_gen_unix.c:316: error: storage size of 'ifc' isn't known
> uuid_gen_unix.c:321: error: 'AF_INET' undeclared (first use in this function)
> uuid_gen_unix.c:321: error: (Each undeclared identifier is reported only once
> uuid_gen_unix.c:321: error: for each function it appears in.)
> uuid_gen_unix.c:321: error: 'SOCK_DGRAM' undeclared (first use in this function)
> uuid_gen_unix.c:331: error: invalid application of 'sizeof' to incomplete type \
> 'struct ifconf'  uuid_gen_unix.c:347: error: dereferencing pointer to incomplete \
> type uuid_gen_unix.c:347: error: 'AF_LINK' undeclared (first use in this function)
> uuid_gen_unix.c:349: error: dereferencing pointer to incomplete type
> uuid_gen_unix.c:352: error: 'struct sockaddr_dl' has no member named 'sdl_type'
> uuid_gen_unix.c:354: error: 'caddr_t' undeclared (first use in this function)
> uuid_gen_unix.c:354: error: 'struct sockaddr_dl' has no member named 'sdl_data'
> uuid_gen_unix.c:354: error: 'struct sockaddr_dl' has no member named 'sdl_nlen'
> uuid_gen_unix.c:357: error: dereferencing pointer to incomplete type
> uuid_gen_unix.c:357: error: dereferencing pointer to incomplete type
> uuid_gen_unix.c:357: error: dereferencing pointer to incomplete type
> uuid_gen_unix.c:357: error: dereferencing pointer to incomplete type
> uuid_gen_unix.c:357: error: dereferencing pointer to incomplete type
> uuid_gen_unix.c:316: warning: unused variable 'ifc'
> gmake[5]: *** [uuid_gen_unix.lo] Error 1
> gmake[5]: Leaving directory `/axis2c-src-0.96/util/src/platforms/unix'
> gmake[4]: *** [all-recursive] Error 1
> gmake[4]: Leaving directory `/axis2c-src-0.96/util/src'
> gmake[3]: *** [all-recursive] Error 1
> gmake[3]: Leaving directory `/axis2c-src-0.96/util'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory `/axis2c-src-0.96/util'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/axis2c-src-0.96'
> gmake: *** [all] Error 2

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic