httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@covalent.net
Subject Re: architecture-specific directories
Date Thu, 09 Nov 2000 17:07:57 GMT

There are a couple of ways to fix this.  It all depends on how we want to
do it.  Will Rowe is thinking of always doing a directory walk, so that if
we don't find the included file, we just look in Unix.  The other option
is to do the directory walk only if we need to.  Here are two general
ideas for how to fix it.  Choose the one that makes the most sense to
you.  :-)

In misc/unix/Makefile.in

Change:

INCLUDES=-I$(INCDIR) -I$(INCDIR)/arch/@OSDIR@

to:

INCLUDES=-I$(INCDIR) -I$(INCDIR)/arch/@OSDIR@ -I $(INCDIR)/arch/unix


OR

In misc/unix/Makefile.in

Change:

INCLUDES=-I$(INCDIR) -I$(INCDIR)/arch/@OSDIR@

to:

INCLUDES=-I$(INCDIR) -I$(INCDIR)/arch/@OSDIR@ -I $(INCDIR)/arch

and in misc/unix/start.c change

#include "misc.h"
#include "locks.h"

to

#include "unix/misc.h"
#include "unix/locks.h"

Either should work, but neither has been tested.

Ryan




On Thu, 9 Nov 2000, Jeff Trawick wrote:

> WARNING CBC3296 ./start.c:55    #include file "misc.h" not found.
> WARNING CBC3296 ./start.c:56    #include file "locks.h" not found.
> ERROR CBC3045 ./start.c:85    Undeclared identifier datastruct.
> ERROR CBC3045 ./start.c:85    Undeclared identifier dptr.
> ERROR CBC3277 ./start.c:85    Syntax error: possible missing ';' or
> ','?
> ERROR CBC3045 ./start.c:85    Undeclared identifier dptr2.
> ERROR CBC3045 ./start.c:115   Undeclared identifier datastruct.
> ERROR CBC3045 ./start.c:115   Undeclared identifier dptr.
> ERROR CBC3277 ./start.c:115   Syntax error: possible missing ';' or
> ','?
> CBC1793(I) Compilation failed for file ./start.c.  Object file not created.
> 
> -- 
> Jeff Trawick | trawick@ibm.net | PGP public key at web site:
>      http://www.geocities.com/SiliconValley/Park/9289/
>           Born in Roswell... married an alien...
> 
> 


_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------


Mime
View raw message