Thread: Link problems with HEAD

Link problems with HEAD

From
Thomas Hallgren
Date:
I made a "make distclean" and a "cvs update". Then I rebuilt and 
installed. When I try to link PL/Java I now get the following:

Info: resolving _stack_base_ptr by linking to __imp__stack_base_ptr 
(auto-import)
fu000001.o(.idata$3+0xc): undefined reference to `libpostgres_a_iname'
fu000002.o(.idata$3+0xc): undefined reference to `libpostgres_a_iname'
fu000003.o(.idata$3+0xc): undefined reference to `libpostgres_a_iname'
fu000004.o(.idata$3+0xc): undefined reference to `libpostgres_a_iname'
fu000005.o(.idata$3+0xc): undefined reference to `libpostgres_a_iname'
fu000006.o(.idata$3+0xc): more undefined references to 
`libpostgres_a_iname' follow
nmth000000.o(.idata$4+0x0): undefined reference to `_nm__stack_base_ptr'

stack_base_ptr is no longer static in postgres.c. Does it need to be 
exported somehow for me to reach it?

Regards,
Thomas Hallgren




Re: Link problems with HEAD

From
Thomas Hallgren
Date:
Gaah, DLLIMPORT of course. Sorry...

- thomas

Thomas Hallgren wrote:
> I made a "make distclean" and a "cvs update". Then I rebuilt and 
> installed. When I try to link PL/Java I now get the following:
> 
> Info: resolving _stack_base_ptr by linking to __imp__stack_base_ptr 
> (auto-import)
> fu000001.o(.idata$3+0xc): undefined reference to `libpostgres_a_iname'
> fu000002.o(.idata$3+0xc): undefined reference to `libpostgres_a_iname'
> fu000003.o(.idata$3+0xc): undefined reference to `libpostgres_a_iname'
> fu000004.o(.idata$3+0xc): undefined reference to `libpostgres_a_iname'
> fu000005.o(.idata$3+0xc): undefined reference to `libpostgres_a_iname'
> fu000006.o(.idata$3+0xc): more undefined references to 
> `libpostgres_a_iname' follow
> nmth000000.o(.idata$4+0x0): undefined reference to `_nm__stack_base_ptr'
> 
> stack_base_ptr is no longer static in postgres.c. Does it need to be 
> exported somehow for me to reach it?
> 
> Regards,
> Thomas Hallgren
> 
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster
>