Re: 7.1 RC1 RPM

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: 7.1 RC1 RPM
Date: 2001-03-27 18:55:16
Message-ID: 14705.985719316@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Lamar Owen <lamar(dot)owen(at)wgcr(dot)org> writes:
> BIG NOTE: These are built on Red Hat _7.0_ NOT 6.2 as previous ones
> have been. The ODBC client build on 6.2 has been broken -- it built at
> beta4, but now gives this error set at beta6/RC1:

> ar crs libpsqlodbc.a info.o bind.o columninfo.o connection.o convert.o
> drvconn.o environ.o execute.o lobj.o misc.o options.o pgtypes.o
> psqlodbc.o qresult.o results.o socket.o parse.o statement.o gpps.o
> tuple.o tuplelist.o dlg_specific.o
> ranlib libpsqlodbc.a
> gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -O2 -m486
> -fno-strength-reduce -fpic -shared -Wl,-soname,libpsqlodbc.so.0
> -Wl,-Bsymbolic info.o bind.o columninfo.o connection.o convert.o
> drvconn.o environ.o execute.o lobj.o misc.o options.o pgtypes.o
> psqlodbc.o qresult.o results.o socket.o parse.o statement.o gpps.o
> tuple.o tuplelist.o dlg_specific.o -lm -Wl,-rpath,/usr/lib -o
> libpsqlodbc.so.0.26
> connection.o: In function `CC_connect':
> connection.o(.text+0x914): undefined reference to
> `check_client_encoding'
> connection.o(.text+0x91a): undefined reference to
> `check_client_encoding'

It would appear you have a conflict about whether MULTIBYTE is defined
or not --- the code thinks so, but the makefile does not, since
multibyte.o is not seen in the link command.

The identical technique is used in libpq's makefile, so I'm not sure
why you do not see a link failure in libpq as well.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-03-27 18:57:08 Re: RC1 core dumps in initdb on Solaris 2.6
Previous Message Arrigo Triulzi 2001-03-27 18:44:33 A few notes on timezones