bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

guile-1.8.1 build fails at libguile/stime.c on Solaris2.6


From: anirkko
Subject: guile-1.8.1 build fails at libguile/stime.c on Solaris2.6
Date: Thu, 10 May 2007 15:19:49 +0200 (MET DST)

Hi
The guile-1.8.1 build also fails at libguile/stime.c on Solaris2.6
(see output below).

Workaround: in that file, for that platform, insert
    #define _REENTRANT  //(or #define __EXTENSIONS__)
    #include <time.h>"
_before_ any other #include statements.

Greetings
Arto


output of 'gmake':
---------------------------------------------------------------
...
gcc -DHAVE_CONFIG_H -I. -I/build/guile-1.8.1/libguile -I.. -I.. 
-I/build/guile-1.8.1 -O2 -funswitch-loops -fgcse-after-reload -mcpu=supersparc 
-mno-app-regs -Wall -Wmissing-prototypes -Werror -MT libguile_la-stime.lo -MD 
-MP -MF .deps/libguile_la-stime.Tpo -c /build/guile-1.8.1/libguile/stime.c -o 
libguile_la-stime.o
cc1: warnings being treated as errors
/build/guile-1.8.1/libguile/stime.c: In function 'scm_gmtime':
/build/guile-1.8.1/libguile/stime.c:463: warning: implicit declaration of 
function 'gmtime_r'
/build/guile-1.8.1/libguile/stime.c:463: warning: assignment makes pointer from 
integer without a cast
gmake[3]: *** [libguile_la-stime.lo] Error 1
gmake[3]: Leaving directory ...
...
...




reply via email to

[Prev in Thread] Current Thread [Next in Thread]