* guile-1.8.1 build fails at libguile/stime.c on Solaris2.6
@ 2007-05-10 13:19 anirkko
2007-08-16 23:29 ` Kevin Ryde
0 siblings, 1 reply; 3+ messages in thread
From: anirkko @ 2007-05-10 13:19 UTC (permalink / raw)
To: bug-guile
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 ...
...
...
_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: guile-1.8.1 build fails at libguile/stime.c on Solaris2.6
2007-05-10 13:19 guile-1.8.1 build fails at libguile/stime.c on Solaris2.6 anirkko
@ 2007-08-16 23:29 ` Kevin Ryde
2007-08-23 21:08 ` Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: Kevin Ryde @ 2007-08-16 23:29 UTC (permalink / raw)
To: bug-guile
[belated followup]
anirkko@insel.ch writes:
>
> Workaround: in that file, for that platform, insert
> #define _REENTRANT //(or #define __EXTENSIONS__)
Thanks, I added that in the cvs.
_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: guile-1.8.1 build fails at libguile/stime.c on Solaris2.6
2007-08-16 23:29 ` Kevin Ryde
@ 2007-08-23 21:08 ` Ludovic Courtès
0 siblings, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2007-08-23 21:08 UTC (permalink / raw)
To: bug-guile
Hi,
Kevin Ryde <user42@zip.com.au> writes:
> [belated followup]
>
> anirkko@insel.ch writes:
>>
>> Workaround: in that file, for that platform, insert
>> #define _REENTRANT //(or #define __EXTENSIONS__)
>
> Thanks, I added that in the cvs.
This broke on my GNU/Linux box, so I enclosed it in
`#ifndef _REENTRANT'.
Thanks,
Ludovic.
_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-guile
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-08-23 21:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-10 13:19 guile-1.8.1 build fails at libguile/stime.c on Solaris2.6 anirkko
2007-08-16 23:29 ` Kevin Ryde
2007-08-23 21:08 ` Ludovic Courtès
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).