I've searched several faqs and news groups, tried using different
./configure options.  Tried tweaking src/Makefile.shlib as discribed in
several usenet posts that I've found on dejanews.com.  I've tried
following the instructions in the SCO specific faq and I can't get past
the following error message: 

"fd.c", line 286: error: undefined symbol: NOFILE

I'm wondering if there are any fixes\patches\hacks that work reliably,
since I can't seem to find anything that works, or interpret and
implement what I've read into something that works.  If any one was any
"definitive" instructions, or perhaps can give a more complete
description of what the problem is and what needs to be done to solve
it, perhaps a "to-do list".  Although I haven't looked at the code yet I
did see a couple of people mention that they tweaked fd.c, however I
couldn't find any listings of what the tweaked.

Any help is greatly appreciated, I don't know if anyone has volunteered
their SCO OpenServer 5.0.6 as a guinea pig, but I'm open to that as an
option.

Thank you in advance,
	Levi Senft

Fri, 23 Nov 2001 07:27:56 GMT
Levi Senft <levisenft@home.com>
PostGreSQL 7.1.3 & SCO OpenServer 5.0.6 problems
At 07.27 23/11/01 +0000, Levi Senft wrote:

>I've searched several faqs and news groups, tried using different
>./configure options.  Tried tweaking src/Makefile.shlib as discribed in
>several usenet posts that I've found on dejanews.com.  I've tried
>following the instructions in the SCO specific faq and I can't get past
>the following error message:
>
>"fd.c", line 286: error: undefined symbol: NOFILE
>
>I'm wondering if there are any fixes\patches\hacks that work reliably,
>since I can't seem to find anything that works, or interpret and
>implement what I've read into something that works.  If any one was any
>"definitive" instructions, or perhaps can give a more complete
>description of what the problem is and what needs to be done to solve
>it, perhaps a "to-do list".  Although I haven't looked at the code yet I
>did see a couple of people mention that they tweaked fd.c, however I
>couldn't find any listings of what the tweaked.
>
>Any help is greatly appreciated, I don't know if anyone has volunteered
>their SCO OpenServer 5.0.6 as a guinea pig, but I'm open to that as an
>option.

I've modified the include/port/sco.h with

#ifndef NOFILE
#define NOFILE                  NOFILES_MIN
#endif


Roberto Fichera.


Fri, 23 Nov 2001 14:46:29 +0100
Roberto Fichera <kernel@tekno-soft.it>
Re: [HACKERS] PostGreSQL 7.1.3 & SCO OpenServer 5.0.6 problems
Levi Senft <levisenft@home.com> writes:
> "fd.c", line 286: error: undefined symbol: NOFILE

Throw in a default definition, eg

#ifndef NOFILE
#define NOFILE 50
#endif

This is fixed in current sources, btw, so you might just want to install
7.2 beta...

			regards, tom lane

Fri, 23 Nov 2001 11:37:18 -0500
Tom Lane <tgl@sss.pgh.pa.us>
Re: PostGreSQL 7.1.3 & SCO OpenServer 5.0.6 problems 