From: | Saravanan A <sara_kovai(at)yahoo(dot)co(dot)uk> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Build Problem in 7.3.5 version |
Date: | 2003-12-12 04:53:42 |
Message-ID: | 20031212045342.20826.qmail@web25205.mail.ukl.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hello All,
I am having the following problem in PostgreSQL build
process. If anyone came across this, pls give me a
solution to solve this.
I followed the steps below given at the build time.
1) postgresql-7.3.5 source files are downloaded from
postgresql.org
2) Issued the commands from that location.
./configure --prefix=/home/sara/test -
Result is Passed
gmake
- Result is failed.
gmake error :
/usr/ccs/bin/ld +h libecpg.sl.3 -b +b
/home/saa/opensrc/ixpress/lib execute.o typename.o
descriptor.o data.o error.o prepare.o memory.o
connect.o misc.o -L../../../../src/interfaces/libpq
-lpq -o libecpg.sl.3
ld: Invalid non-PIC relocation for symbol "sqlca" in
file "error.o" (section index 1, offset 0x392).
ld: Invalid non-PIC relocation for symbol "sqlca" in
file "error.o" (section index 1, offset 0x3c2).
Then tried to solve this by compiling error.c without
-o2 option.
gcc -Wall -Wmissing-prototypes
-Wmissing-declarations\
-fPIC -I../../../../src/interfaces/ecpg/include\>
-fPIC -I../../../../src/interfaces/ecpg/include\
>
-I../../../../src/interfaces/libpq\-I../../../../src/interfaces/libpq\
> -I../../../../src/include
-I/usr/include\-I../../../../src/include
-I/usr/include\
> -c -o error.o error.c-c -o error.o error.c
Error :
ld: Unsatisfied symbol "ECPGlog" in file
/var/tmp//ccTF3q7b.o
ld: Unsatisfied symbol "sqlca" in file
/var/tmp//ccTF3q7b.o
ld: Unsatisfied symbol "main" in file <no file>
ld: Unsatisfied symbol "ECPGfree_auto_mem" in file
/var/tmp//ccTF3q7b.o
Then tried to find out the symbol "ECPGlog" in
/usr/lib and also in all libraries. But cann't find
this symbol.
It will be great when i get the solution for this.
Regards,
-Saravanan
________________________________________________________________________
BT Yahoo! Broadband - Save £80 when you order online today. Hurry! Offer ends 21st December 2003. The way the internet was meant to be. http://uk.rd.yahoo.com/evt=21064/*http://btyahoo.yahoo.co.uk
From | Date | Subject | |
---|---|---|---|
Next Message | H A Prahalad | 2003-12-12 05:21:27 | Re: cancel query |
Previous Message | Joel Rodrigues | 2003-12-12 04:32:37 | Re: make error Mac OS X (ar: illegal option -- s) |