|
Thx Tom I edited the /usr/include/arpa/inet.h and added the following : #include <sys/byteorder.h> Looks correct as some of the errors seem to be gone, however where would I have to add/include the "h_errno" and the "warning: unreachable code at beginning of switch statement" worries me gmake command as follows: ksh# gmake gmake -C doc all gmake[1]: Entering directory `/tmp/mdc_postgres8.1.3/postgresql-8.1.3/doc' gmake[1]: Nothing to be done for `all'. gmake[1]: Leaving directory `/tmp/mdc_postgres8.1.3/postgresql-8.1.3/doc' gmake -C src all gmake[1]: Entering directory `/tmp/mdc_postgres8.1.3/postgresql-8.1.3/src' gmake -C port all gmake[2]: Entering directory `/tmp/mdc_postgres8.1.3/postgresql-8.1.3/src/port'gcc -b elf -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Winline -fno-strict-aliasing -I../../src/port -DFRONTEND-I../../src/include -c -o getaddrinfo.o getaddrinfo.c getaddrinfo.c: In function `pg_getaddrinfo': getaddrinfo.c:211: `h_errno' undeclared (first use in this function) getaddrinfo.c:211: (Each undeclared identifier is reported only once getaddrinfo.c:211: for each function it appears in.) getaddrinfo.c:215: warning: unreachable code at beginning of switch statement gmake[2]: *** [getaddrinfo.o] Error 1 gmake[2]: Leaving directory `/tmp/mdc_postgres8.1.3/postgresql-8.1.3/src/port' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/tmp/mdc_postgres8.1.3/postgresql-8.1.3/src' gmake: *** [all] Error 2 ksh# Regards Mark Tom Lane wrote: Mark Campbell <mark(dot)campbell(at)ucs-software(dot)co(dot)za> writes: |