httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Josh Wyatt <Josh.Wy...@hcssystems.com>
Subject 1.3.26 compile fails, solaris 2.6
Date Thu, 20 Jun 2002 19:31:12 GMT
[CC'ing Jeff Trawick, since he has experience with threads on solaris
(see changelog for 1.3.24) ]

Hi all,
Running Solaris 2.6 here, trying to compile 1.3.26 using gcc 2.7.2.3.

My configuration:
./configure --prefix=/opt/local

Configuration succeeds.

make fails with:
gcc -c  -I../os/unix -I../include   -DSOLARIS2=260 -DUSE_EXPAT
-I../lib/expat-lite -DNO_DL_NEEDED `../apaci` http_main.c
In file included from http_main.c:617:
/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:619: parse error before `*'
http_main.c:619: warning: data definition has no type or storage class
http_main.c: In function `accept_mutex_init_pthread':
http_main.c:648: `pthread_mutexattr_t' undeclared (first use this
function)
http_main.c:648: (Each undeclared identifier is reported only once
http_main.c:648: for each function it appears in.)
http_main.c:648: parse error before `mattr'
http_main.c:656: `pthread_mutex_t' undeclared (first use this function)
http_main.c:656: parse error before `)'
http_main.c:663: `mattr' undeclared (first use this function)

Looks suspiciously like PR1336:
http://bugs.apache.org/index.cgi/full/1336

Not sure when this broke; it did, however, work with apache_1.3.12.

Anyone got it compiled on Solaris 2.6?

Thanks,
Josh

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message