RE: current CVS: undefined reference to `PGLZ_RAW_SIZE'

From: "Hiroshi Inoue" <Inoue(at)tpf(dot)co(dot)jp>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Thomas Lockhart" <lockhart(at)alumni(dot)caltech(dot)edu>
Cc: Pavel Jan ml(dot) <Pavel(dot)Janik(at)linux(dot)cz>, <pgsql-hackers(at)postgresql(dot)org>
Subject: RE: current CVS: undefined reference to `PGLZ_RAW_SIZE'
Date: 2000-07-05 07:11:07
Message-ID: 000401bfe650$30bb0bc0$2801007e@tpf.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> -----Original Message-----
> From: pgsql-hackers-owner(at)hub(dot)org [mailto:pgsql-hackers-owner(at)hub(dot)org]On
> Behalf Of Tom Lane
>
> Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu> writes:
> >> utils/SUBSYS.o: In function `lztextlen':
> >> utils/SUBSYS.o(.text+0x11c68): undefined reference to `PGLZ_RAW_SIZE'
>
> > Did you do this from a completely fresh tree? If not, did you do a "make
> > clean" first? I built this morning without trouble...
>
> No, he's right: the lztext stuff has an undefined reference that's
> buried inside #ifdef MULTIBYTE. Not sure if the answer is to add
> the missing #include to lztext.c, or if the code is wrong. Jan?
>

Adding a header file pg_lzcompress.h isn't sufficient.
Type lztext was changed to mean 'varattrib' not 'PGLZ_Header'.
In addtion lztext.c was pretty changed yesterday and other
PGLZ_RAW_SIZE() calls were removed completely.
I don't know how to fix it for now and the future changes.

Regards.

Hiroshi Inoue
Inoue(at)tpf(dot)co(dot)jp

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Chris Bitmead 2000-07-05 07:20:47 Proposed new libpq API
Previous Message Tom Lane 2000-07-05 06:42:41 Re: Per-database/schema settings