[Top][All Lists]

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

[Chicken-janitors] #1432: Build error on Cygwin after randomness merge

From: Chicken Trac
Subject: [Chicken-janitors] #1432: Build error on Cygwin after randomness merge
Date: Mon, 25 Dec 2017 23:24:24 -0000

#1432: Build error on Cygwin after randomness merge
 Reporter:  evhan                        |                 Owner:
     Type:  defect                       |                Status:  new
 Priority:  major                        |             Milestone:  5.0
Component:  compiler                     |               Version:  5.0
 Keywords:  randomness, cygwin, windows  |  Estimated difficulty:
 Some include headers are missing on Cygwin, causing this error during the
 build process:

 gcc -fno-strict-aliasing -fwrapv -DHAVE_CHICKEN_CONFIG_H
 -DC_ENABLE_PTABLES -c -Os -fomit-frame-pointer  -DC_BUILDING_LIBCHICKEN
 runtime.c -o runtime-static.o -I. -I./
 runtime.c: In function random_urandom:
 runtime.c:12553:10: warning: implicit declaration of function open
      fd = open("/dev/urandom", O_RDONLY);
 runtime.c:12553:31: error: O_RDONLY undeclared (first use in this
      fd = open("/dev/urandom", O_RDONLY);
 runtime.c:12553:31: note: each undeclared identifier is reported only once
 for each function it appears in
 make[1]: *** [rules.make:125: runtime-static.o] Error 1
 make[1]: Leaving directory '/home/evhan/chicken-5-cygwin-x86'
 make: *** [rules.make:986: boot-chicken] Error 2

 Output of {{{uname -a}}} (same happens on x86):

 CYGWIN_NT-6.1-WOW windows 2.6.1(0.305/5/3) 2016-12-16 11:50 i686 Cygwin

Ticket URL: <>
CHICKEN Scheme <>
CHICKEN Scheme is a compiler for the Scheme programming language.

reply via email to

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