From: | "Gurjeet Singh" <singh(dot)gurjeet(at)gmail(dot)com> |
---|---|
To: | "PGSQL Hackers" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | error in compilation! |
Date: | 2006-05-27 17:57:11 |
Message-ID: | 65937bea0605271057n1549f34bs40a969e14d499688@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi All,
I am constantly getting this error:
make -C pl all
make[2]: Entering directory `/d/Dev/postgres/pgsql_tip/src/pl'
make[3]: Entering directory `/d/Dev/postgres/pgsql_tip/src/pl/plpgsql'
make -C src all
make[4]: Entering directory `/d/Dev/postgres/pgsql_tip/src/pl/plpgsql/src'
dlltool --export-all --output-def plpgsql.def pl_gram.o pl_handler.o
pl_comp.o pl_exec.o pl_funcs.o
dllwrap -o libplpgsql.dll --dllname libplpgsql.dll --def plpgsql.def
pl_gram.o pl_handler.o pl_comp.o pl_exec.o pl_funcs.o
-L../../../../src/backend -L../../../../src/port -lpostgres
Info: resolving _standard_conforming_strings by linking to
__imp__standard_conforming_strings (auto-import)
fu000001.o(.idata$3+0xc): undefined reference to `libpostgres_a_iname'
fu000002.o(.idata$3+0xc): undefined reference to `libpostgres_a_iname'
nmth000000.o(.idata$4+0x0): undefined reference to
`_nm__standard_conforming_strings'
collect2: ld returned 1 exit status
D:\msys\1.0\mingw\bin\dllwrap.exe: D:\msys\1.0\mingw\bin\gcc exited
with status 1
make[4]: *** [libplpgsql.a] Error 1
make[4]: Leaving directory `/d/Dev/postgres/pgsql_tip/src/pl/plpgsql/src'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/d/Dev/postgres/pgsql_tip/src/pl/plpgsql'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/d/Dev/postgres/pgsql_tip/src/pl'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/d/Dev/postgres/pgsql_tip/src'
make: *** [all] Error 2
I tried make clean, make distclean and even removing {scan.c,
gram.c and parse.h} by hand from src/backend/parse!!! But the error
keeps coming back.
Grep shows that it is even compiled into SUBSYS.o:
$ grep standard_conforming_strings *
grep: CVS: Invalid argument
Binary file SUBSYS.o matches
Binary file gram.o matches
scan.c:bool standard_conforming_strings = false;
scan.c: if (standard_conforming_strings)
scan.l:bool standard_conforming_strings = false;
scan.l: if (standard_conforming_strings)
All this started after when I did 'make unistall' and updated the
tree to HEAD. Any help will be appreciated.
Thanks,
Gurjeet.
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2006-05-27 18:33:16 | Re: error in compilation! |
Previous Message | Marko Kreen | 2006-05-27 17:23:35 | Re: Inefficient bytea escaping? |