From: | Djamel Kheldoun <kheldoun(at)corinna(dot)informatik(dot)uni-dortmund(dot)de> |
---|---|
To: | pgsql-admin(at)postgresql(dot)org |
Subject: | arning by compile postgres6.3.2 source |
Date: | 1998-08-18 10:27:35 |
Message-ID: | 35D95717.54F3@corinna.informatik.uni-dortmund.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Hi,
Postgres6.3.2 was successfully installed and I can start psql-monitor.
plattform is: SunOS 5.5.1 Generic_103640-12 sun4u sparc SUNW,Ultra-1
but there are warning by compile postgres6.3.2 source like :
postmaster.c:307: warning: implicit declaration of function
`gethostname'
postmaster.c:1287: warning: implicit declaration of function `srandom'
postmaster.c:1291: warning: implicit declaration of function `random'
fe-connect.c:561: warning: passing arg 4 of `setsockopt' from
incompatible pointer type
ecpglib.c:673: warning: int format, pid_t arg (arg 3)
I have link-Problem in C-Program.
% gcc -o testlibpq testlibpq.o -L/home/stud-1/kheldoun/pgsql/lib -lpq
I get the following message:
Undefined first referenced
symbol in file
socket
/home/stud-1/kheldoun/pgsql/lib/libpq.a(fe-connect.o)
getprotobyname
/home/stud-1/kheldoun/pgsql/lib/libpq.a(fe-connect.o)
gethostbyname
/home/stud-1/kheldoun/pgsql/lib/libpq.a(fe-connect.o)
setsockopt
/home/stud-1/kheldoun/pgsql/lib/libpq.a(fe-connect.o)
getsockname
/home/stud-1/kheldoun/pgsql/lib/libpq.a(fe-connect.o)
connect
/home/stud-1/kheldoun/pgsql/lib/libpq.a(fe-connect.o)
ld: fatal: Symbol referencing errors. No output written to testlibpq
*** Error code 1
make: Fatal error: Command failed for target `testlibpq'
......
can you help please ?
Thanks
From | Date | Subject | |
---|---|---|---|
Next Message | Kees Leune | 1998-08-18 11:40:18 | |
Previous Message | Terence Dixon | 1998-08-17 16:33:21 | Re: user is not in "pg_shadow" |