Received: (qmail 12464 invoked by uid 2012); 26 Oct 1999 21:11:00 -0000 Message-Id: <19991026211100.12463.qmail@hyperreal.org> Date: 26 Oct 1999 21:11:00 -0000 From: Chezhian Renga Reply-To: chezhian@onebox.com To: apbugs@hyperreal.org Subject: Compilation problem X-Send-Pr-Version: 3.2 >Number: 5202 >Category: os-sunos >Synopsis: Compilation problem >Confidential: no >Severity: critical >Priority: medium >Responsible: apache >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Tue Oct 26 14:20:01 PDT 1999 >Last-Modified: Tue Oct 26 16:10:09 PDT 1999 >Originator: chezhian@onebox.com >Organization: >Release: 1.3.6 >Environment: SunOS renga 5.7 Generic sun4u sparc SUNW,Ultra-5_10 >Description: {chezhian@renga}[/u/chezhian/misc/httpd/apache_1.3.6]->make ===> src ===> src/os/unix gcc -c -I../../os/unix -I../../include -DSOLARIS2=270 `../../apaci` os.c In file included from ../../include/ap_config.h:119, from os.c:6: /tools/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2/include/sys/param.h:185: warning: `NBBY' redefined /usr/include/sys/select.h:56: warning: this is the location of the previous definition In file included from /tools/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2/include/time.h:90, from /usr/include/sys/time.h:405, from /usr/include/sys/select.h:17, from /tools/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2/include/sys/types.h:274, from ../../include/ap_config.h:84, from os.c:6: /usr/include/sys/siginfo.h:74: parse error before `pthread_attr_t' /usr/include/sys/siginfo.h:74: warning: no semicolon at end of struct or union /usr/include/sys/siginfo.h:76: parse error before `}' In file included from ../../include/ap_config.h:965, from os.c:6: /usr/include/sys/socket.h:47: parse error before `sa_family_t' /usr/include/sys/socket.h:47: warning: data definition has no type or storage class /usr/include/sys/socket.h:56: parse error before `socklen_t' /usr/include/sys/socket.h:56: warning: data definition has no type or storage class /usr/include/sys/socket.h:187: parse error before `sa_family_t' /usr/include/sys/socket.h:187: warning: no semicolon at end of struct or union /usr/include/sys/socket.h:189: parse error before `}' /usr/include/sys/socket.h:234: parse error before `socklen_t' /usr/include/sys/socket.h:234: warning: no semicolon at end of struct or union /usr/include/sys/socket.h:246: parse error before `}' /usr/include/sys/socket.h:312: parse error before `socklen_t' /usr/include/sys/socket.h:312: warning: no semicolon at end of struct or union /usr/include/sys/socket.h:315: parse error before `}' /usr/include/sys/socket.h:385: parse error before `socklen_t' /usr/include/sys/socket.h:386: parse error before `socklen_t' /usr/include/sys/socket.h:399: parse error before `socklen_t' /usr/include/sys/socket.h:400: parse error before `socklen_t' In file included from /usr/include/sys/stream.h:22, from /usr/include/netinet/in.h:38, from ../../include/ap_config.h:970, from os.c:6: /usr/include/sys/vnode.h:163: parse error before `u_offset_t' /usr/include/sys/vnode.h:163: warning: no semicolon at end of struct or union /usr/include/sys/vnode.h:171: parse error before `}' /usr/include/sys/vnode.h:171: warning: data definition has no type or storage class /usr/include/sys/vnode.h:198: parse error before `vattr32_t' /usr/include/sys/vnode.h:198: warning: data definition has no type or storage class /usr/include/sys/vnode.h:310: parse error before `intptr_t' /usr/include/sys/vnode.h:377: parse error before `u_offset_t' In file included from ../../include/ap_config.h:970, from os.c:6: /usr/include/netinet/in.h:50: parse error before `in_port_t' /usr/include/netinet/in.h:50: warning: data definition has no type or storage class /usr/include/netinet/in.h:55: parse error before `in_addr_t' /usr/include/netinet/in.h:55: warning: data definition has no type or storage class /usr/include/netinet/in.h:60: parse error before `ipaddr_t' /usr/include/netinet/in.h:60: warning: data definition has no type or storage class /usr/include/netinet/in.h:164: parse error before `uint8_t' /usr/include/netinet/in.h:164: warning: no semicolon at end of struct or union /usr/include/netinet/in.h:164: warning: no semicolon at end of struct or union /usr/include/netinet/in.h:164: warning: no semicolon at end of struct or union /usr/include/netinet/in.h:164: warning: data definition has no type or storage class /usr/include/netinet/in.h:165: parse error before `uint16_t' /usr/include/netinet/in.h:165: warning: no semicolon at end of struct or union /usr/include/netinet/in.h:165: warning: data definition has no type or storage class /usr/include/netinet/in.h:167: parse error before `S_addr' /usr/include/netinet/in.h:167: warning: data definition has no type or storage class /usr/include/netinet/in.h:171: warning: data definition has no type or storage class /usr/include/netinet/in.h:178: parse error before `}' /usr/include/netinet/in.h:235: parse error before `sa_family_t' /usr/include/netinet/in.h:235: warning: no semicolon at end of struct or union /usr/include/netinet/in.h:236: warning: data definition has no type or storage class /usr/include/netinet/in.h:243: parse error before `}' /usr/include/netinet/in.h:305: field `imr_multiaddr' has incomplete type /usr/include/netinet/in.h:306: field `imr_interface' has incomplete type /usr/include/netinet/in.h:316: field `in_prefix_addr' has incomplete type In file included from ../../include/ap_config.h:972, from os.c:6: >How-To-Repeat: - >Fix: - >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: marc State-Changed-When: Tue Oct 26 16:10:08 PDT 1999 State-Changed-Why: You need to use a compiler designed for your version of your OS. You are using a gcc for Solaris 2.4 on Solaris 2.7. Of course it doesn't work... >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]