7.1b6 Compile fail on cygwin with --enable-cassert

From: "Henshall, Stuart - WCP" <SHenshall(at)westcountrypublications(dot)co(dot)uk>
To: "'pgsql-bugs(at)postgresql(dot)org'" <pgsql-bugs(at)postgresql(dot)org>
Subject: 7.1b6 Compile fail on cygwin with --enable-cassert
Date: 2001-03-23 12:36:38
Message-ID: E2870D8CE1CCD311BAF50008C71EDE8E017CC012@MAIL_EXCHANGE
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
enbl_casrt_cnf.out application/octet-stream 7.0 KB
enbl_casrt_mk.out application/octet-stream 83.9 KB

Browse pgsql-bugs by date

  From Date Subject
Next Message Alexander Klimov 2001-03-23 15:59:50 Re: Tests randomly failed
Previous Message pgsql-bugs 2001-03-23 12:07:23 Compile fail on 7.1b6 on cygwin with --enable-cassert