Re: 8.3.3 Complie issue

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: 8.3.3 Complie issue
Дата
Msg-id 20080715134446.GA7334@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: 8.3.3 Complie issue  ("Harvey, Allan AC" <HarveyA@OneSteel.com>)
Ответы Re: 8.3.3 Complie issue  ("Harvey, Allan AC" <HarveyA@OneSteel.com>)
Список pgsql-general
Harvey, Allan AC wrote:

> Fixed that, how about this
>
> echo '{ global:' >exports.list
> gawk '/^[^#]/ {printf "%s;\n",$1}' exports.txt >>exports.list
> echo ' local: *; };' >>exports.list
> gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -fno-strict-aliasing  -fpic -shared
-Wl,-soname,libpq.so.5-Wl,--version-script=exports.list  fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o
fe-lobj.ofe-protocol2.o fe-protocol3.o pqexpbuffer.o pqsignal.o fe-secure.o md5.o ip.o wchar.o encnames.o noblock.o
pgstrcasecmp.othread.o strlcpy.o  -L../../../src/port -lcrypt -Wl,-rpath,'/removeExt2/pgsql8.3/lib' -o libpq.so.5.1 
> /usr/i386-slackware-linux/bin/ld:exports.list:1: parse error in VERSION script
> collect2: ld returned 1 exit status

Old Slackware?  If you really want to compile there, I think it should
work by just removing the -Wl,--version-script param from the link line.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

В списке pgsql-general по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: FAQ correction for Windows 2000/XP
Следующее
От: "Pavel Stehule"
Дата:
Сообщение: Re: how to found a variable is in a aggregation or not?