Re: win32 pg_autovacuum make error - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: win32 pg_autovacuum make error
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE475F0B@algol.sollentuna.se
Whole thread Raw
In response to win32 pg_autovacuum make error  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: win32 pg_autovacuum make error
List pgsql-hackers

>I have just started seeing the following on win32:
>
>make[1]: Entering directory
>`/home/pgrunner/pgbuildfarm/root/HEAD/pgsql.blurfl/contrib/pg_a
>utovacuum'
>gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
>-Wmissing-declarations pg_autovacuum.o
>-L../../src/interfaces/libpq -lpq
>-L../../src/port   -lpgport -lwsock32 -lm  -lws2_32 -o pg_autovacuum
>pg_autovacuum.o(.text+0xae9):pg_autovacuum.c: undefined reference to
>`DLNewElem'
>pg_autovacuum.o(.text+0xaf8):pg_autovacuum.c: undefined reference to
>`DLAddTail'
>pg_autovacuum.o(.text+0xc2d):pg_autovacuum.c: undefined reference to
>`DLRemove'
>pg_autovacuum.o(.text+0x101a):pg_autovacuum.c: undefined reference to
>`DLNewList'
>pg_autovacuum.o(.text+0x1036):pg_autovacuum.c: undefined reference to
>`DLNewElem'
>pg_autovacuum.o(.text+0x103f):pg_autovacuum.c: undefined reference to
>`DLAddHead'
>pg_autovacuum.o(.text+0x11a2):pg_autovacuum.c: undefined reference to
>`DLNewList'
>pg_autovacuum.o(.text+0x14d3):pg_autovacuum.c: undefined reference to
>`DLNewElem'
>pg_autovacuum.o(.text+0x14df):pg_autovacuum.c: undefined reference to
>`DLAddTail'
>pg_autovacuum.o(.text+0x16ad):pg_autovacuum.c: undefined reference to
>`DLRemove'
>pg_autovacuum.o(.text+0xc57):pg_autovacuum.c: undefined reference to
>`DLFreeElem'
>pg_autovacuum.o(.text+0xcbe):pg_autovacuum.c: undefined reference to
>`DLFreeList'
>pg_autovacuum.o(.text+0x16f5):pg_autovacuum.c: undefined reference to
>`DLFreeElem'
>pg_autovacuum.o(.text+0x17ae):pg_autovacuum.c: undefined reference to
>`DLFreeList'
>make[1]: *** [pg_autovacuum] Error 1
>make[1]: Leaving directory
>`/home/pgrunner/pgbuildfarm/root/HEAD/pgsql.blurfl/contrib/pg_a
>utovacuum'
>make: *** [all] Error 2
>
>Not sure what has changed  ....


I don't have a build env around ATM to test, but my guess would be the
new libpq linking. These functions are probably imported from libpq, and
therefor must be added to the .def file (or rather the .txt file that
generates the .def file that Tom just committed if you have the very
latest-and-greates cvs ver) for libpq.dll.

//Magnus


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: win32 pg_autovacuum make error
Next
From: Tom Lane
Date:
Subject: Re: win32 pg_autovacuum make error