[bug-notifications] [guile_dev 0005069]: Compilation issue with guile and solaris studio

Mantis Bug Tracker noreply at opencsw.org
Sun Apr 21 15:12:42 CEST 2013


A NOTE has been added to this issue. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=5069 
====================================================================== 
Reported By:                yann
Assigned To:                
====================================================================== 
Project:                    guile_dev
Issue ID:                   5069
Category:                   
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-04-21 15:07 CEST
Last Modified:              2013-04-21 15:12 CEST
====================================================================== 
Summary:                    Compilation issue with guile and solaris studio
Description: 
Hi,

I am currently running into a compilation issue when trying to re-package
mailutils with guile support.

I've got the following error message at the configure step:

"/opt/csw/include/guile/2.0/libguile/gc.h", line 279: warning: implicit
function declaration: scm_remember_upto_here_1
"/opt/csw/include/guile/2.0/libguile/gc.h", line 320: identifier
redeclared: scm_remember_upto_here_1
         current : function(pointer to struct scm_unused_struct {char
scm_unused_field}) returning void
         previous: function() returning int :
"/opt/csw/include/guile/2.0/libguile/gc.h", line 279

This prevents me from enabling guile support.


Having a look at the source, it seems that when GNU GCC is not used,
scm_remember_upto_here_1 is used before being defined hence the error.

Can you have a look at this issue ?

Thanks in advance,

Yann







====================================================================== 

---------------------------------------------------------------------- 
 (0010351) yann (developer) - 2013-04-21 15:12
 https://www.opencsw.org/mantis/view.php?id=5069#c10351 
---------------------------------------------------------------------- 
I attached the program used by configure to test for guile:
https://www.opencsw.org/mantis/file_download.php?file_id=61&type=bug

The command line used to compile it is:
/opt/SUNWspro/bin/cc -o conftest -xO3 -m32 -xarch=pentium_pro
-xchip=pentium_pro -xc99=all -I/opt/csw/include/guile/2.0
-I/opt/csw/include   -I../lib -I../../lib -D_XPG6 -features=extensions
-D__FUNCTION__=__func__ -I/opt/csw/include -m32 -xarch=pentium_pro
-xchip=pentium_pro -D_XPG6 -L/opt/csw/lib conftest.c -lsocket -lnsl -lcrypt
-lresolv  -lpthread -L/opt/csw/lib -lguile-2.0 -lgc



More information about the bug-notifications mailing list