Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group