On Fri, 2003-04-11 at 09:57, bkline@rksystems.com wrote:
> gcc ... -o postgres
> commands/SUBSYS.o(.text+0x41ce): In function `DoCopy':
> : undefined reference to `errno'
> commands/SUBSYS.o(.text+0x41d4): In function `DoCopy':
> : undefined reference to `errno'
> commands/SUBSYS.o(.text+0x42db): In function `DoCopy':
> : undefined reference to `errno'
> commands/SUBSYS.o(.text+0x42e1): In function `DoCopy':
> : undefined reference to `errno'
> collect2: ld returned 1 exit status
Applying this patch should allow PostgreSQL 7.2.x to compile under RH9:
http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/backend/commands/copy.c.diff?only_with_tag=REL7_2_STABLE&r2=1.145.2.2&r1=1.145.2.1&f=c
Cheers,
Neil