www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Tarka <to...@erl.noaa.gov>
Subject os-solaris/1336: Doesn't compile with USE_PTHREAD_SERIALIZED_ACCEPT defined in http_main.c
Date Thu, 30 Oct 1997 07:14:14 GMT

>Number:         1336
>Category:       os-solaris
>Synopsis:       Doesn't compile with USE_PTHREAD_SERIALIZED_ACCEPT defined in http_main.c
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Oct 29 23:20:01 PST 1997
>Last-Modified:
>Originator:     tommy@erl.noaa.gov
>Organization:
apache
>Release:        1.3b
>Environment:
SunOS 5.6 Generic sun4u sparc SUNW,Ultra-2
using gcc 2.7.2.3
>Description:
When I "make" apache 1.3b on Solaris 2.6, it dies on the PTHREAD foo in src/main/http_main.c
If I comment this out, it compiles and works fine.  
Below is the output from make:

make[1]: Entering directory `/usr/local/etc/httpd/src/main'
gcc -c  -I../os/unix -I../main    -DSOLARIS2=260   http_main.c
In file included from http_main.c:338:
/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:340: parse error before `*'
http_main.c:340: warning: data definition has no type or storage class
http_main.c: In function `accept_mutex_init':
http_main.c:351: `pthread_mutexattr_t' undeclared (first use this function)
http_main.c:351: (Each undeclared identifier is reported only once
http_main.c:351: for each function it appears in.)
http_main.c:351: parse error before `mattr'
http_main.c:359: `pthread_mutex_t' undeclared (first use this function)
http_main.c:359: parse error before `)'
http_main.c:366: `mattr' undeclared (first use this function)
make[1]: *** [http_main.o] Error 1
make[1]: Leaving directory `/usr/local/etc/httpd/src/main'
make: *** [subdirs] Error 1
>How-To-Repeat:

>Fix:
Comment out the "#elif defined (USE_PTHREAD_SERIALIZED_ACCEPT) ..." up to the
next #elif
>Audit-Trail:
>Unformatted:


Mime
View raw message