Looks like INCFILES is not getting set for some reason and therefore
only contributing a space to CXXFLAGS; so your include options are not
making it to the compiler.
Is INCFILES= ... really one physical line in your Makefile? Or is it
broken over two lines as it appears in this message, at least to me?
If it is not one continuous line, you need to use a \ at the end of the
first line in order to continue it on to a second. There should be no
white space after the \
For example
INCFILES= -I$(JAVAINSDIR)/include -I$(JAVAINSDIR)/include/genunix \
-I$(DBBUILDDIR) -I$(DBINSDIR)/include
Jim
Mark Foster's bits of Wed, 13 Oct 1999 translated to:
>
> After modifying the lines in Makefile.unix per htservlet/README:
> JAVAINSDIR= /usr/local/jdk-1.1.7
> LINKFLAGS= -shared -o libdb_java.so
> INCFILES= -I$(JAVAINSDIR)/include -I$(JAVAINSDIR)/include/genunix
> -I$(DBBUILDDIR) -I$(DBINSDIR)/include
> CXXFLAGS= -c $(INCFILES) -fpic -D_REENTRANT
> LIBS= libdbsleepy.so
>
>
>
> /usr/local/src/htdig-3.1.3/db/libdb_java>make -f Makefile.unix
> gcc -c -fpic -D_REENTRANT java_util.cpp
> java_util.cpp:7: config.h: No such file or directory
> In file included from java_util.cpp:13:
> java_util.h:14: jni.h: No such file or directory
> make: *** [java_util.o] Error 1
>
> I hope someone can help me. I see that
> /usr/local/jdk-1.1.7/include/jni.h
> is in fact there, so I'm pretty sure something is just not right with
> the makefile.
> Thanks.
> ========================================================+
> Mark Foster [EMAIL PROTECTED] ph4256880567x109 fx4256880590
> Altrec is now ONLINE! http://www.altrec.com/
>
>
> ------------------------------------
> To unsubscribe from the htdig3-dev mailing list, send a message to
> [EMAIL PROTECTED] containing the single word "unsubscribe" in
> the SUBJECT of the message.
>
>
>
------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the SUBJECT of the message.