469,167 Members | 1,271 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,167 developers. It's quick & easy.

Build Problem in 7.3.5 version

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/*ht...oo.yahoo.co.uk

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Nov 12 '05 #1
0 2045

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

9 posts views Thread by Abe Frohnman | last post: by
5 posts views Thread by Aaron | last post: by
2 posts views Thread by Mark | last post: by
5 posts views Thread by cameron | last post: by
2 posts views Thread by Roger Helliwell | last post: by
5 posts views Thread by eranshuman | last post: by
8 posts views Thread by Alexander Llew Wykel | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.