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

From pgsql-bugs@postgresql.org
Subject Compile fail on 7.1b6 on cygwin with --enable-cassert
Date
Msg-id 200103231207.f2NC7Nc46384@hub.org
Whole thread Raw
Responses Re: Compile fail on 7.1b6 on cygwin with --enable-cassert  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
stuart (shenshall@westcountrypublications.co.uk) reports a bug with a severity of 4
The lower the number the more severe it is.

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

Long Description
Postgresql-7.1beta6
uname -srm
CYGWIN_98-4.10 1.1.7(0.31/3/2) i586
spec:
win98SE, PIII 733MHz, 64MB
Having configured with ./configure --enable-cassert
when I make I get an error:
$make
<snip>
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations  -I. -I../../../../src/include -I/usr/local/include  -c -o
pl_funcs.opl_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

I have also included the full configure and make output (in the example code bit) - no I havn't this form only accepts
8140bytes(time for 7.1 I think :) 
If any one wants the full configure and make output I can send them on.

Sample Code



No file was uploaded with this report

pgsql-bugs by date:

Previous
From: "Rainer Mager"
Date:
Subject: Problems with latest tests
Next
From: Tom Lane
Date:
Subject: Re: Compile fail on 7.1b6 on cygwin with --enable-cassert