7.1.3 compilation failure (libpq or aync?)

From: James Olsen <jamesml(at)planetolsen(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: 7.1.3 compilation failure (libpq or aync?)
Date: 2001-11-19 20:01:46
Message-ID: 7320399427.20011119140146@planetolsen.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hello everyone,

I'll lay it all out right from the beginning. I'm very green when it
comes to troubleshooting compilation/library problems. I know just
enough to be break things, and do it really well. =)

I'm trying to compile PostGreSQL 7.1.3 on my slackware (4.0?) box. I
currently have pg 7.0 installed and running. I can successfully
configure and re-compile 7.0, however I'm having trouble compiling
7.1.3 for the first time.

I did the 'configure', which seems to have run properly. I received no
obvious negative messages or errors. I then run a 'make' when runs for
awhile and ends with the following fatal error message:

make[3]: Entering directory `/ext2/src/postgresql-7.1.3/src/backend/commands'
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -I../../../src/include -c -o async.o async.c
In file included from /usr/include/linux/byteorder/little_endian.h:11,
from /usr/include/asm/byteorder.h:45,
from /usr/include/linux/in.h:177,
from /usr/include/netinet/in.h:79,
from async.c:79:
/usr/include/linux/byteorder/swab.h:100: warning: no previous prototype for `__fswab16'
/usr/include/linux/byteorder/swab.h:104: warning: no previous prototype for `__swab16p'
/usr/include/linux/byteorder/swab.h:108: warning: no previous prototype for `__swab16s'
/usr/include/linux/byteorder/swab.h:113: warning: no previous prototype for `__fswab32'
/usr/include/linux/byteorder/swab.h:117: warning: no previous prototype for `__swab32p'
/usr/include/linux/byteorder/swab.h:121: warning: no previous prototype for `__swab32s'
/usr/include/linux/byteorder/swab.h:127: warning: no previous prototype for `__fswab64'
/usr/include/linux/byteorder/swab.h:137: warning: no previous prototype for `__swab64p'
/usr/include/linux/byteorder/swab.h:141: warning: no previous prototype for `__swab64s'
In file included from ../../../src/include/libpq/libpq-be.h:21,
from ../../../src/include/libpq/libpq.h:21,
from async.c:87:
../../../src/include/libpq/pqcomm.h:33: redefinition of `struct sockaddr_un'
make[3]: *** [async.o] Error 1
make[3]: Leaving directory `/ext2/src/postgresql-7.1.3/src/backend/commands'
make[2]: *** [commands-recursive] Error 2
make[2]: Leaving directory `/ext2/src/postgresql-7.1.3/src/backend'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/ext2/src/postgresql-7.1.3/src'
make: *** [all] Error 2

I tried searching the archives for anyone else discussing async or
libpq problems, but didn't seem to locate any references.

Before I post all kinds of configure/make output and system
configuration (which would be pages and pages) I'm wondering if anyone
has any initial guesses to what the problem might be and how to
resolve it or if more information is required from me, what
would that be?

I appreciate everyone's time, effort, and patience.

Thank you...

--James

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Jason Earl 2001-11-19 20:17:24 Re: 2 newbie questions
Previous Message Helen M Hudson 2001-11-19 18:51:45 2 newbie questions