I'm trying to compile PostgreSQL 7.1.3 under HP-UX 11.22, I get some
errors during the build.
Is there something I need to modify to correct this or a compile time
option I need to change? Any help/advice is appreciated.
# ./configure --host=ia64-hp-hpux
loading cache ./config.cache
checking host system type... ia64-hp-hpux
checking which template to use... hpux
checking whether to build with locale support... no
checking whether to build with recode support... no
checking whether to build with multibyte character support... no
checking whether to build with Unicode conversion support... no
checking for default port number... 5432
checking for default soft limit on number of connections... 32
checking for gcc... gcc
............
.......
.....
updating cache ./config.cache
creating ./config.status
creating GNUmakefile
creating src/GNUmakefile
creating src/Makefile.global
creating src/backend/port/Makefile
creating src/include/config.h
linking ./src/backend/port/dynloader/hpux.c to
src/backend/port/dynloader.c
linking ./src/backend/port/dynloader/hpux.h to src/include/dynloader.h
linking ./src/include/port/hpux.h to src/include/os.h
linking ./src/makefiles/Makefile.hpux to src/Makefile.port
linking ./src/backend/port/tas/hpux.s to src/backend/port/tas.s
PostrgreSQL error message:
#gmake
gmake -C doc all
gmake[1]: Entering directory `/opensource/mam/postgresql-7.1.3/doc'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/opensource/mam/postgresql-7.1.3/doc'
gmake -C src all
gmake[1]: Entering directory `/opensource/mam/postgresql-7.1.3/src'
gmake -C backend all
gmake[2]: Entering directory
`/opensource/mam/postgresql-7.1.3/src/backend'
prereqdir=`cd parser/ >/dev/null && pwd` && \
cd ../../src/include/parser/ && rm -f parse.h && \
ln -s $prereqdir/parse.h .
gmake -C utils fmgroids.h
gmake[3]: Entering directory
`/opensource/mam/postgresql-7.1.3/src/backend/utils'
CPP='gcc -E' AWK='awk' /bin/sh Gen_fmgrtab.sh
../../../src/include/catalog/pg_proc.h
gmake[3]: Leaving directory
`/opensource/mam/postgresql-7.1.3/src/backend/utils'
cd ../../src/include/utils/ && rm -f fmgroids.h && \
ln -s ../../../src/backend/utils/fmgroids.h .
gmake -C access all
gmake[3]: Entering directory
`/opensource/mam/postgresql-7.1.3/src/backend/access'
gmake -C common SUBSYS.o
gmake[4]: Entering directory
`/opensource/mam/postgresql-7.1.3/src/backend/access/common'
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations
-I../../../../src/include -c -o heaptu
ple.o heaptuple.c
.............
........
....
gmake[3]: Entering directory
`/opensource/mam/postgresql-7.1.3/src/backend/port'
gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -c tas.s
tas.s: Assembler messages:
tas.s:2: Error: Unsupported variable size or fill value
tas.s:2: Error: Rest of line ignored. First ignored character is `='.
tas.s:3: Error: Unknown pseudo-op: `.subspa'
tas.s:4: Error: Unknown opcode `tas'
tas.s:6: Error: Unknown pseudo-op: `.callinfo'
tas.s:8: Error: Unknown opcode `ldo 15(%r26),%r31'
tas.s:8: Error: Unknown opcode `offset 0x0'
tas.s:9: Error: Unknown opcode `depi 0,31,4,%r31'
tas.s:9: Error: Unknown opcode `offset 0x4'
tas.s:10: Error: Unknown opcode `ldcwx 0(0,%r31),%r23'
tas.s:10: Error: Unknown opcode `offset 0x8'
tas.s:11: Error: Unknown opcode `comiclr,= 0,%r23,%r0'
tas.s:11: Error: Unknown opcode `offset 0xc'
tas.s:12: Error: Illegal operand separator `,'
tas.s:12: Error: Unknown opcode `offset 0x10'
tas.s:13: Error: Unknown opcode `$00000001'
tas.s:14: Error: Unknown opcode `ldi 1,%r28'
tas.s:14: Error: Unknown opcode `offset 0x14'
tas.s:15: Error: Unknown opcode `$l0'
tas.s:16: Error: Unknown pseudo-op: `.exit'
tas.s:17: Error: Unknown opcode `bv,N %r0(%r2)'
tas.s:17: Error: Unknown opcode `offset 0x18'
tas.s:18: Error: Unknown pseudo-op: `.procend'
tas.s:22: Error: Unknown pseudo-op: `.subspa'
tas.s:23: Error: Unsupported variable size or fill value
tas.s:23: Error: Rest of line ignored. First ignored character is `='.
tas.s:24: Error: Unknown pseudo-op: `.subspa'
tas.s:26: Error: Unknown pseudo-op: `.subspa'
tas.s:27: Error: Unknown pseudo-op: `.export'
gmake[3]: *** [tas.o] Error 1
gmake[3]: Leaving directory
`/opensource/mam/postgresql-7.1.3/src/backend/port'
gmake[2]: *** [port-recursive] Error 2
gmake[2]: Leaving directory
`/opensource/mam/postgresql-7.1.3/src/backend'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/opensource/mam/postgresql-7.1.3/src'
gmake: *** [all] Error 2
#
So please, if somebody can help me to do it well, I will really thank
you.
urs
mathan