problem with postgres compile: undefined F_FULLFSYNC constant
problem with postgres compile: undefined F_FULLFSYNC constant
- Subject: problem with postgres compile: undefined F_FULLFSYNC constant
- From: Neil Brandt <email@hidden>
- Date: Tue, 17 Jan 2006 14:24:32 -0500 (EST)
I'm trying to compile postgres on OS X 10.2.8. Unfortunately I'm not much of a compile-your-own
guy, and I've hit a compile error that's beyond my improvisation abilities, and gets no google
hits either.
Hopefully this is the appropriate list, since I'm guessing it's a problem with the xcode package
I'm compiling against. If there's a better (mac) list you know of, let me know. I'm also going
to post in a postgres list, but this seems like a mac expert thing.
I installed the December 2002 xcode package, which seemed to be the last one that was for OS X
10.2.
Initially I only installed the parts called BSDSDK and Developer Tools Software.
The postgres configure utility ran through fine.
I ran make.
Several minutes into it, I got a missing header file for osx installed version constants.
So I then installed the xcode part called Mac OS X SDK.
I ran make again.
Now, further in, I get the following output and error (note the "make -C file SUBSYS.o" is output,
not my initial command which was just "make" in the directory at the top of the postgres source).
make -C file SUBSYS.o
gcc -no-cpp-precomp -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -fno-strict-aliasing
-I../../../../src/include -I/sw/include -c -o fd.o fd.c
fd.c: In function `pg_fsync_writethrough':
fd.c:271: `F_FULLFSYNC' undeclared (first use in this function)
fd.c:271: (Each undeclared identifier is reported only once
fd.c:271: for each function it appears in.)
make[4]: *** [fd.o] Error 1
make[3]: *** [file-recursive] Error 2
make[2]: *** [storage-recursive] Error 2
make[1]: *** [all] Error 2
make: *** [all] Error 2
Searching, I couldn't find anything useful on the F_FULLFSYNC constant, and no reports on a
similar failure.
Any ideas? (Help!)
Thanks,
Neil
__________________________________________________________
Find your next car at http://autos.yahoo.ca
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden