CVS head broken on win32?

Started by Thomas Hallgrenabout 21 years ago3 messageshackers
Jump to latest
#1Thomas Hallgren
thhal@mailblocks.com

I'm trying to compile CVS HEAD on Win32.

./configure --enable-integer-datetimes
make
...
It ends with:

postmaster/SUBSYS.o(.text+0x9d7):fork_process.c: undefined reference to
`fork'

gcc --version and uname -a
gcc.exe (GCC) 3.4.1 (mingw special)
MINGW32_NT-5.1 THHALHOME3 1.0.11(0.46/3/2) 2004-03-30 07:29 i686 unknown

Regards,
Thomas Hallgren

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Thomas Hallgren (#1)
Re: CVS head broken on win32?

Thomas Hallgren <thhal@mailblocks.com> writes:

I'm trying to compile CVS HEAD on Win32.
postmaster/SUBSYS.o(.text+0x9d7):fork_process.c: undefined reference to
`fork'

Um. Shouldn't that whole file be #ifndef EXEC_BACKEND?

regards, tom lane

#3Neil Conway
neilc@samurai.com
In reply to: Tom Lane (#2)
Re: CVS head broken on win32?

Tom Lane wrote:

Um. Shouldn't that whole file be #ifndef EXEC_BACKEND?

Woops, sorry about that.

We can't make the file #ifndef EXEC_BACKEND since fork_process() is used
by the Unix implementation of internal_forkexec(), but #ifndef WIN32
should work. I've applied the attached patch to HEAD.

-Neil

Attachments:

win32_forkprocess.patchtext/x-patch; name=win32_forkprocess.patchDownload+2-0