dbTalk Databases Forums  

[BUGS] 7.4 build error in Solaris

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


Discuss [BUGS] 7.4 build error in Solaris in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Seum-Lim Gan
 
Posts: n/a

Default [BUGS] 7.4 build error in Solaris - 12-08-2003 , 10:56 AM






Hi everyone,

I encountered the following build error when building PostgreSQL 7.4
in Solaris 9 using SUN workshop. Any idea what to do here ?

Gan

"pl_funcs.c", line 403: warning: argument #1 is incompatible with prototype:
prototype: pointer to const unsigned char :
"../../../../src/include/mb/
pg_wchar.h", line 291
argument : pointer to char
UX tsort: INFORM: cycle in data
pl_comp.o
pl_gram.o
"plperl.c", line 317: undefined symbol: thr
"plperl.c", line 317: left operand of "->" must be pointer to struct/union
"plperl.c", line 323: left operand of "->" must be pointer to struct/union
"plperl.c", line 323: left operand of "->" must be pointer to struct/union
"plperl.c", line 323: left operand of "->" must be pointer to struct/union
"plperl.c", line 323: left operand of "->" must be pointer to struct/union
"plperl.c", line 437: undefined symbol: thr
"plperl.c", line 437: left operand of "->" must be pointer to struct/union
"plperl.c", line 443: left operand of "->" must be pointer to struct/union
"plperl.c", line 443: left operand of "->" must be pointer to struct/union
"plperl.c", line 443: left operand of "->" must be pointer to struct/union
"plperl.c", line 443: left operand of "->" must be pointer to struct/union
cc: acomp failed for plperl.c
make[3]: *** [plperl.o] Error 2
make[2]: *** [all] Error 2
make[1]: *** [all] Error 2



--
+--------------------------------------------------------+
Quote:
Seum-Lim GAN email : slgan (AT) lucent (DOT) com |
Lucent Technologies |
2000 N. Naperville Road, 6B-403F tel : (630)-713-6665 |
Naperville, IL 60566, USA. fax : (630)-713-7272 |
web : http://inuweb.ih.lucent.com/~slgan |
+--------------------------------------------------------+

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings


Reply With Quote
  #2  
Old   
Tom Lane
 
Posts: n/a

Default Re: [BUGS] 7.4 build error in Solaris - 12-08-2003 , 11:12 AM






Seum-Lim Gan <slgan (AT) lucent (DOT) com> writes:
Quote:
I encountered the following build error when building PostgreSQL 7.4
in Solaris 9 using SUN workshop. Any idea what to do here ?
Is CVS tip any better? I think this fix might be relevant:

2003-11-24 08:11 petere

* configure, configure.in, src/include/pg_config.h.in,
src/interfaces/ecpg/ecpglib/connect.c,
src/interfaces/ecpg/ecpglib/misc.c, src/port/thread.c,
src/tools/thread/thread_test.c (REL7_4_STABLE): Rename USE_THREADS
to ENABLE_THREAD_SAFETY to avoid name clash with Perl. Fixes
compliation failure with --enable-thread-safety --with-perl and
Perl 5.6.1.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org


Reply With Quote
  #3  
Old   
Seum-Lim Gan
 
Posts: n/a

Default Re: [BUGS] 7.4 build error in Solaris - 12-08-2003 , 11:25 AM



Hi Tom,

Yes this is helpful.

I will do the change and recompile and let you know the result.

Thanks.

Gan

At 12:09 pm -0500 2003/12/8, Tom Lane wrote:
Quote:
Seum-Lim Gan <slgan (AT) lucent (DOT) com> writes:
I encountered the following build error when building PostgreSQL 7.4
in Solaris 9 using SUN workshop. Any idea what to do here ?

Is CVS tip any better? I think this fix might be relevant:

2003-11-24 08:11 petere

* configure, configure.in, src/include/pg_config.h.in,
src/interfaces/ecpg/ecpglib/connect.c,
src/interfaces/ecpg/ecpglib/misc.c, src/port/thread.c,
src/tools/thread/thread_test.c (REL7_4_STABLE): Rename USE_THREADS
to ENABLE_THREAD_SAFETY to avoid name clash with Perl. Fixes
compliation failure with --enable-thread-safety --with-perl and
Perl 5.6.1.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

--
+--------------------------------------------------------+
Quote:
Seum-Lim GAN email : slgan (AT) lucent (DOT) com |
Lucent Technologies |
2000 N. Naperville Road, 6B-403F tel : (630)-713-6665 |
Naperville, IL 60566, USA. fax : (630)-713-7272 |
web : http://inuweb.ih.lucent.com/~slgan |
+--------------------------------------------------------+

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo (AT) postgresql (DOT) org)


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.