dbTalk Databases Forums  

[BUGS] BUG #2068: Error compiled OS Solaris

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #2068: Error compiled OS Solaris in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Vladimir
 
Posts: n/a

Default [BUGS] BUG #2068: Error compiled OS Solaris - 11-23-2005 , 07:47 PM







The following bug has been logged online:

Bug reference: 2068
Logged by: Vladimir
Email address: alekseev (AT) oldham (DOT) 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

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.