Home > Archive > PostgreSQL Bugs > November 2005 > BUG #2068: Error compiled OS Solaris









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author BUG #2068: Error compiled OS Solaris
Vladimir

2005-11-23, 8:24 pm


The following bug has been logged online:

Bug reference: 2068
Logged by: Vladimir
Email address: alekseev@oldham.ru
PostgreSQL version: 7.4.9 and 8.0.1
Operating system: SPARC Solaris 8
Description: Error compiled OS Solaris
Details:

I have OS Solaris
SunOS XXX 5.8 Generic_108528-19 sun4u sparc SUNW,UltraAX-i2
and Sun's compiler cc
cc: Sun WorkShop 6 update 2 C 5.3 Patch 111679-08 2002/05/09
I try compiled PostgreSQL ver. 7.4.9 or 8.0.1 with flags CFLAGS='-fast
-xarch=v8plus'.
This is my command line configure:
../configure --with-pam --disable-rpath --with-perl CC=cc CCC=CC
CFLAGS='-fast -xarch=v8plusa'./configure --with-pam --disable-rpath
--with-perl CC=cc CCC=CC CFLAGS='-fast -xarch=v8plus'

After ./configure, I run gmake.
I have error:

gmake[4]: Leaving directory
`/export/home/demo/postgresql-8.0.1/src/backend/catalog'
/usr/local/bin/gmake -C parser all
gmake[4]: Entering directory
`/export/home/demo/postgresql-8.0.1/src/backend/parser'
cc -Xa -fast -xarch=v8plus -I. -I../../../src/include -c -o analyze.o
analyze.c
cc -Xa -fast -xarch=v8plus -I. -I../../../src/include -c -o gram.o gram.c
"scan.l", line 614: warning: argument #1 is incompatible with prototype:
prototype: pointer to const unsigned char :
"../../../src/include/mb/pg_wchar.h", line 296
argument : pointer to char

and compiler stop.

Please help me.

---------------------------(end of broadcast)---------------------------
TIP 2: Don't 'kill -9' the postmaster

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com