Re: [GENERAL] Need help to compile pgsql
On Fri, 2 Apr 1999, Jun Zhang wrote: > I got postgresql-6.4.2, tried to compile under AT&T System 3000 (ncr). > I think it is very reasonable to group my platform to svr4, which is the > template I used. Configure is fine. > > Gnu make 3.77 was used. the "make all" did fine untile it entered the > backend/storage subdirectory, when I got many lines like > > make[3]: Entering directory > `/user6/home/humphrey/postgresql-6.4.2/src/backend/s > torage/lmgr' > make[3]: *** No rule to make target `buffer/SUBSYS.o'. Stop. > make[3]: Leaving directory > `/user6/home/humphrey/postgresql-6.4.2/src/backend/st > orage/lmgr' > > The compilation seems finally aborted at some Error 2s. Check previous to this for any warnings or errors ... what versions of flex/bison are you using? You need the newest of both to be able to compile pre-v6.5 releases...for v6.5, we've fixed that... Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy Systems Administrator @ hub.org primary: [EMAIL PROTECTED] secondary: scrappy@{freebsd|postgresql}.org
[GENERAL] Need help to compile pgsql
I got postgresql-6.4.2, tried to compile under AT&T System 3000 (ncr). I think it is very reasonable to group my platform to svr4, which is the template I used. Configure is fine. Gnu make 3.77 was used. the "make all" did fine untile it entered the backend/storage subdirectory, when I got many lines like make[3]: Entering directory `/user6/home/humphrey/postgresql-6.4.2/src/backend/s torage/lmgr' make[3]: *** No rule to make target `buffer/SUBSYS.o'. Stop. make[3]: Leaving directory `/user6/home/humphrey/postgresql-6.4.2/src/backend/st orage/lmgr' The compilation seems finally aborted at some Error 2s. Jun
Re: [GENERAL] libpq linking problem
Hi! On Fri, 2 Apr 1999, Bob VonMoss wrote: > I'm starting to use libpq.a in a test C/C++ program, but am getting the > following the linker errors: > > bash$ gmake > gcc -o test test.o libpq.a > Undefined first referenced > symbol in file > socket libpq.a(fe-connect.o) > recvlibpq.a(fe-misc.o) > getprotobyname libpq.a(fe-connect.o) > gethostbyname libpq.a(fe-connect.o) > sendlibpq.a(fe-connect.o) > setsockopt libpq.a(fe-connect.o) > getsockname libpq.a(fe-connect.o) > connect libpq.a(fe-connect.o) > ld: fatal: Symbol referencing errors. No output written to test > gmake: *** [test] Error 1 > bash$ > > What library am I missing? > It looks like a system library with the tcpip functions. > I ran 'configure' and recompiled libpq.a You haven't mention your OS, is it Solaris? -lsocket -lnsl (these are socket and name services) > -- > Bob VonMoss > mailto:[EMAIL PROTECTED] > from Chicago, IL Oleg. Oleg Broytmann National Research Surgery Centre http://sun.med.ru/~phd/ Programmers don't die, they just GOSUB without RETURN.
[GENERAL] libpq linking problem
I'm starting to use libpq.a in a test C/C++ program, but am getting the following the linker errors: bash$ gmake gcc -o test test.o libpq.a Undefined first referenced symbol in file socket libpq.a(fe-connect.o) recvlibpq.a(fe-misc.o) getprotobyname libpq.a(fe-connect.o) gethostbyname libpq.a(fe-connect.o) sendlibpq.a(fe-connect.o) setsockopt libpq.a(fe-connect.o) getsockname libpq.a(fe-connect.o) connect libpq.a(fe-connect.o) ld: fatal: Symbol referencing errors. No output written to test gmake: *** [test] Error 1 bash$ What library am I missing? It looks like a system library with the tcpip functions. I ran 'configure' and recompiled libpq.a -- Bob VonMoss mailto:[EMAIL PROTECTED] from Chicago, IL