7.1b6 Compile fail on cygwin with --enable-cassert - Mailing list pgsql-bugs

From Henshall, Stuart - WCP
Subject 7.1b6 Compile fail on cygwin with --enable-cassert
Date
Msg-id E2870D8CE1CCD311BAF50008C71EDE8E017CC012@MAIL_EXCHANGE
Whole thread Raw
List pgsql-bugs
severity: FYI
uname -srm
CYGWIN_98-4.10 1.1.7(0.31/3/2) i586
Spec:
win98SE, PIII 733MHz, 64MB
If configured with ./configure --enable-cassert
then there is an error while makeing:
$make
<snip>
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations  -I.
-I../../../../src/include -I/usr/local/include  -c -o pl_funcs.o pl_funcs.c
dlltool --export-all --output-def plpgsql.def pl_parse.o pl_handler.o
pl_comp.o pl_exec.o pl_funcs.o
dllwrap -o plpgsql.dll --dllname plpgsql.dll --def plpgsql.def pl_parse.o
pl_handler.o pl_comp.o pl_exec.o pl_funcs.o ../../../../src/utils/dllinit.o
-L../../../../src/backend -lpostgres -lcygipc -lcygwin -lcrypt -lkernel32
pl_exec.o(.text+0x709):pl_exec.c: undefined reference to `assert_enabled'
pl_exec.o(.text+0x730):pl_exec.c: undefined reference to `FailedAssertion'
collect2: ld returned 1 exit status
dllwrap: gcc exited with status 1
make[4]: *** [libplpgsql.a] Error 1
make[4]: Leaving directory `/usr/src/postgresql-7.1beta6/src/pl/plpgsql/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/postgresql-7.1beta6/src/pl/plpgsql'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/postgresql-7.1beta6/src/pl'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/postgresql-7.1beta6/src'
make: *** [all] Error 2

Full configure output:
 <<enbl_casrt_cnf.out>>
Full Make Output:
 <<enbl_casrt_mk.out>>
-Stuart

[Side FYI:
I had an error with the bug reporting tool:
1: Gave a to large code example (over 8140 - upgrade to 7.1)
2: Went Back and erased the bottom box + made couple of alteration to the
long version and re submitted.
It seem both sent an entry as anonymous (with one being empty)
]


Attachment

pgsql-bugs by date:

Previous
From: BLON Sébastien
Date:
Subject: bug with identd autentication
Next
From: phil@netroedge.com
Date:
Subject: Odd 'except' and 'default' interaction behavior