[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
obsd build include trouble
From: |
Jason Stover |
Subject: |
obsd build include trouble |
Date: |
Sun, 5 Mar 2006 15:12:45 -0500 |
User-agent: |
Mutt/1.5.10i |
$ uname -ap
OpenBSD math.gcsu.edu 3.8 GENERIC#138 i386 Intel(R) Xeon(TM) CPU 2.80GHz
("GenuineIntel" 686-class)
The following trouble happens with OBSD's make, not GNU make. (It works fine
with GNU make on this machine.)
$ ./configure --without-gui
...
$ make
...
depbase=`echo src/ui/terminal/command-line.o | sed
's|[^/]*$|.deps/&|;s|\.o$||'`; if gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I./src
-I./lib -I./intl -I./gl -I./gl -I/home/jhs/include -Wall -W
-Wwrite-strings -Wstrict-prototypes -Wpointer-arith -Wno-sign-compare
-Wmissing-prototypes -Dunix -g -O2 -MT src/ui/terminal/command-line.o -MD -MP
-MF "$depbase.Tpo" -c -o src/ui/terminal/command-line.o
src/ui/terminal/command-line.c; then mv -f "$depbase.Tpo" "$depbase.Po"; else
rm -f "$depbase.Tpo"; exit 1; fi
src/ui/terminal/command-line.c:22:21: message.h: No such file or directory
src/ui/terminal/command-line.c:28:19: alloc.h: No such file or directory
src/ui/terminal/command-line.c:29:22: copyleft.h: No such file or directory
src/ui/terminal/command-line.c:30:21: message.h: No such file or directory
src/ui/terminal/command-line.c:31:25: line-buffer.h: No such file or directory
src/ui/terminal/command-line.c:33:22: settings.h: No such file or directory
src/ui/terminal/command-line.c:35:20: output.h: No such file or directory
src/ui/terminal/command-line.c:36:22: filename.h: No such file or directory
src/ui/terminal/command-line.c:38:21: version.h: No such file or directory
I have message.h in ./src/libpspp/message.h , but there is no -I for this
directory.
This kind of thing fixes the trouble:
-#include "message.h"
+#include <src/libpspp/message.h>
but I didn't think everyone else wanted these kinds of #include's, and
I don't know if anything should be changed just to make pspp build with
BSD make.
-Jason
- obsd build include trouble,
Jason Stover <=
Re: obsd build include trouble, Ben Pfaff, 2006/03/14