You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Chris <cn...@eos.hitc.com> on 1997/12/04 19:53:55 UTC

os-solaris/1514: http_main.c:348: parse error before `*'

>Number:         1514
>Category:       os-solaris
>Synopsis:       http_main.c:348: parse error before `*'
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Dec  4 11:00:01 PST 1997
>Last-Modified:
>Originator:     cnespor@eos.hitc.com
>Organization:
apache
>Release:        1.3b3
>Environment:
SunOS www 5.6 Generic sun4m sparc SUNW,SPARCstation-20

GNU Make version 3.74
gcc version 2.7.2.3


PATH:
PATH=/bin:/usr/bin:/usr/etc:/usr/etc/yp:/usr/local/bin:/usr/bsd:
/usr/sbin:/usr/bin/X11:/usr/openwin/bin:/usr/openwin/demo:
/usr/openwin/bin/xview:/opt/SUNWmotif/bin:/opt/SUNWmotif/demo:
/opt/SoftWindows/bin:/usr/ccs/bin:/usr/ucb:/etc

showrev -p
Patch: 105216-01 Obsoletes:  Requires:  Incompatibles:  Packages: SUNWcsu
Patch: 105393-01 Obsoletes:  Requires:  Incompatibles:  Packages: SUNWcsu
Patch: 105397-02 Obsoletes:  Requires:  Incompatibles:  Packages: SUNWcsu
Patch: 105405-01 Obsoletes:  Requires:  Incompatibles:  Packages: SUNWcsu, SUNWarc
Patch: 105516-01 Obsoletes:  Requires:  Incompatibles:  Packages: SUNWcsu
Patch: 105518-01 Obsoletes:  Requires:  Incompatibles:  Packages: SUNWcsu
Patch: 105214-01 Obsoletes:  Requires:  Incompatibles:  Packages: SUNWcsr
Patch: 105379-01 Obsoletes:  Requires:  Incompatibles:  Packages: SUNWcsr
Patch: 105528-01 Obsoletes:  Requires:  Incompatibles:  Packages: SUNWcsr
Patch: 105529-01 Obsoletes:  Requires:  Incompatibles:  Packages: SUNWcsr
Patch: 105416-01 Obsoletes:  Requires:  Incompatibles:  Packages: SUNWaccu
Patch: 105472-01 Obsoletes:  Requires:  Incompatibles:  Packages: SUNWatfsu
Patch: 105492-01 Obsoletes:  Requires:  Incompatibles:  Packages: SUNWcg6
Patch: 105375-03 Obsoletes:  Requires:  Incompatibles:  Packages: SUNWluxal, SUNWluxop
Patch: 105357-01 Obsoletes:  Requires:  Incompatibles:  Packages: SUNWses
Patch: 105223-01 Obsoletes:  Requires:  Incompatibles:  Packages: SUNWssadv, SUNWssaop
Patch: 105356-01 Obsoletes:  Requires:  Incompatibles:  Packages: SUNWssadv
Patch: 105407-01 Obsoletes:  Requires:  Incompatibles:  Packages: SUNWvolu

>Description:
gmake
for i in os/unix main ap modules; do \
        ( cd $i; gmake CC='gcc' AUX_CFLAGS=' -DSOLARIS2=260 ' RANLIB='ranlib') || exit 1; \
done
gmake[1]: Entering directory `/admin/apache/apache_1.3b3/src/os/unix'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/admin/apache/apache_1.3b3/src/os/unix'
gmake[1]: Entering directory `/admin/apache/apache_1.3b3/src/main'
gcc -c  -I../os/unix -I../main    -DSOLARIS2=260   http_main.c
In file included from http_main.c:346:
/usr/include/pthread.h:109: parse error before `*'
/usr/include/pthread.h:110: parse error before `*'
/usr/include/pthread.h:111: parse error before `*'
/usr/include/pthread.h:113: parse error before `*'
/usr/include/pthread.h:115: parse error before `*'
/usr/include/pthread.h:117: parse error before `*'
/usr/include/pthread.h:119: parse error before `*'
/usr/include/pthread.h:121: parse error before `*'
/usr/include/pthread.h:123: parse error before `*'
/usr/include/pthread.h:125: parse error before `*'
/usr/include/pthread.h:127: parse error before `*'
/usr/include/pthread.h:129: parse error before `*'
/usr/include/pthread.h:131: parse error before `*'
/usr/include/pthread.h:133: parse error before `*'
/usr/include/pthread.h:135: parse error before `*'
/usr/include/pthread.h:137: parse error before `*'
/usr/include/pthread.h:139: parse error before `*'
/usr/include/pthread.h:140: `pthread_create' declared as function returning a function
/usr/include/pthread.h:141: parse error before `void'
/usr/include/pthread.h:142: parse error before `*'
/usr/include/pthread.h:143: parse error before `)'
/usr/include/pthread.h:144: parse error before `thread'
/usr/include/pthread.h:145: parse error before `thread'
/usr/include/pthread.h:147: parse error before `thread'
/usr/include/pthread.h:148: parse error before `thread'
/usr/include/pthread.h:149: parse error before `thread'
/usr/include/pthread.h:151: parse error before `thread'
/usr/include/pthread.h:156: parse error before `t1'
/usr/include/pthread.h:159: parse error before `*'
/usr/include/pthread.h:159: parse error before `)'
/usr/include/pthread.h:160: parse error before `key'
/usr/include/pthread.h:161: parse error before `key'
/usr/include/pthread.h:162: parse error before `key'
/usr/include/pthread.h:163: parse error before `pthread_self'
/usr/include/pthread.h:163: warning: data definition has no type or storage class
/usr/include/pthread.h:177: parse error before `*'
/usr/include/pthread.h:178: parse error before `*'
/usr/include/pthread.h:179: parse error before `*'
/usr/include/pthread.h:181: parse error before `*'
/usr/include/pthread.h:183: parse error before `*'
/usr/include/pthread.h:185: parse error before `*'
/usr/include/pthread.h:187: parse error before `*'
/usr/include/pthread.h:189: parse error before `*'
/usr/include/pthread.h:191: parse error before `*'
/usr/include/pthread.h:193: parse error before `*'
/usr/include/pthread.h:194: parse error before `*'
/usr/include/pthread.h:195: parse error before `*'
/usr/include/pthread.h:196: parse error before `*'
/usr/include/pthread.h:197: parse error before `*'
/usr/include/pthread.h:199: parse error before `*'
/usr/include/pthread.h:201: parse error before `*'
/usr/include/pthread.h:202: parse error before `*'
/usr/include/pthread.h:203: parse error before `*'
/usr/include/pthread.h:205: parse error before `*'
/usr/include/pthread.h:207: parse error before `*'
/usr/include/pthread.h:209: parse error before `*'
/usr/include/pthread.h:210: parse error before `*'
/usr/include/pthread.h:211: parse error before `*'
/usr/include/pthread.h:212: parse error before `*'
/usr/include/pthread.h:214: parse error before `*'
http_main.c:348: parse error before `*'
http_main.c:348: warning: data definition has no type or storage class
http_main.c: In function `accept_mutex_init':
http_main.c:377: `pthread_mutexattr_t' undeclared (first use this function)
http_main.c:377: (Each undeclared identifier is reported only once
http_main.c:377: for each function it appears in.)
http_main.c:377: parse error before `mattr'
http_main.c:385: `pthread_mutex_t' undeclared (first use this function)
http_main.c:385: parse error before `)'
http_main.c:392: `mattr' undeclared (first use this function)
gmake[1]: *** [http_main.o] Error 1
gmake[1]: Leaving directory `/admin/apache/apache_1.3b3/src/main'
gmake: *** [subdirs] Error 1
>How-To-Repeat:
I'll give you access if you need it.
>Fix:
N
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]