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

From: pgsql-bugs(at)postgresql(dot)org
To: pgsql-bugs(at)postgresql(dot)org
Subject: Compile fail on 7.1b6 on cygwin with --enable-cassert
Date: 2001-03-23 12:07:23
Message-ID: 200103231207.f2NC7Nc46384@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

stuart (shenshall(at)westcountrypublications(dot)co(dot)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.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

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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Henshall, Stuart - WCP 2001-03-23 12:36:38 7.1b6 Compile fail on cygwin with --enable-cassert
Previous Message Rainer Mager 2001-03-23 06:19:36 Problems with latest tests