You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Howarth, Richard" <rh...@sgb.co.uk> on 2002/09/12 13:26:37 UTC

[users@httpd] Error compiling Apache 2.0.40 on DG/UX R4.20 MU07

Config reports system type: i586-dg-dguxR4.20MU07
gcc version: 2.7.2

After configuring with no additional directives I'm getting this error
during
compilation:
----------------------------------------------------------------------------
----
/bin/ksh /path/source/httpd-2.0.40/srclib/apr/libtool --silent
--mode=compile gcc
 -g -O2   -DHAVE_CONFIG_H -DDGUX   -I../../include -I../../include/arch/unix
-I.
./../include/arch/unix  -c dir.c && touch dir.lo
In file included from dir.c:57:
../../include/apr_portable.h:173: parse error before `pthread_mutex_t'
../../include/apr_portable.h:173: warning: no semicolon at end of struct or
unio
n
../../include/apr_portable.h:183: parse error before `apr_os_thread_t'
../../include/apr_portable.h:183: warning: data definition has no type or
storag
e class
../../include/apr_portable.h:184: parse error before `apr_os_threadkey_t'
../../include/apr_portable.h:184: warning: data definition has no type or
storag
e class
../../include/apr_portable.h:307: parse error before `*'
../../include/apr_portable.h:315: parse error before `*'
../../include/apr_portable.h:325: parse error before `apr_os_thread_t'
../../include/apr_portable.h:335: parse error before `apr_os_threadkey_t'
../../include/apr_portable.h:340: parse error before `apr_os_thread_current'
../../include/apr_portable.h:340: warning: data definition has no type or
storag
e class
../../include/apr_portable.h:347: parse error before `tid1'
make[4]: *** [dir.lo] Error 1
----------------------------------------------------------------------------
----

I created a small program which defines the structure where the first parse
error is located, and this compiles fine.

I'd be grateful for an indication of where to start looking, or clues how to
break
it down into a manageable scope.

Richard Howarth


IMPORTANT INFORMATION & CONFIDENTIALITY NOTICE 

The information in this Email is confidential and may be legally privileged.
It is intended solely for the 
named recipient.  Access to this e-mail by anyone else is unauthorised.  If
you are not the intended recipient 
or the employee or agent responsible for delivering the message to the
recipient named, please note that any 
use, disclosure, copying, distribution of this Email or any action taken or
omitted to be taken in reliance 
on it is prohibited.  If you are not the intended recipient, please inform
us by returning a copy of the 
Email with the subject line marked "wrong address" and then deleting the
Email, and any attachments and any 
copies of it. 

Any questions should be directed to mailto:administrator@harsco.com

Harsco uses regularly updated anti-virus software in an attempt to reduce
the possibility of infection.
However we do not guarantee that any attachments to this email are virus
free.



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org