BUG #2068: Error compiled OS Solaris - Mailing list pgsql-bugs

From Vladimir
Subject BUG #2068: Error compiled OS Solaris
Date
Msg-id 20051123042925.A7649F0B3C@svr2.postgresql.org
Whole thread Raw
List pgsql-bugs
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.

pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: strange disappearence of postgres file
Next
From: "Wim Audenaert"
Date:
Subject: Re: BUG #2065: Problem with language conversion in pg_dump