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.o fe-protocol2.o fe-protocol3.o pqexpbuffer.o pqsignal.o 
> fe-secure.o md5.o ip.o wchar.o encnames.o noblock.o pgstrcasecmp.o thread.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

-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to