Build Problem in 7.3.5 version - Mailing list pgsql-general

From Saravanan A
Subject Build Problem in 7.3.5 version
Date
Msg-id 20031212045342.20826.qmail@web25205.mail.ukl.yahoo.com
Whole thread Raw
List 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
wasmeant to be. http://uk.rd.yahoo.com/evt=21064/*http://btyahoo.yahoo.co.uk 

pgsql-general by date:

Previous
From: Joel Rodrigues
Date:
Subject: Re: make error Mac OS X (ar: illegal option -- s)
Next
From: H A Prahalad
Date:
Subject: Re: cancel query