On Mon, 19 Jan 2015 16:27:51 -0500 Steven Schveighoffer via Digitalmars-d-learn <digitalmars-d-learn@puremagic.com> wrote:
> On 1/19/15 4:16 PM, ketmar via Digitalmars-d-learn wrote: > > On Mon, 19 Jan 2015 21:00:55 +0000 > > tcak via Digitalmars-d-learn <digitalmars-d-learn@puremagic.com> wrote: > > > >> What is the reason of this error exactly? > > "core.sys.posix.poll.d" module is not compiled into druntime. as it is > > in "include" path, compiler sees it and you can use `pollfd` struct. > > but as it's not in link library, there is no `.init` section for it. > > I think this not the root cause. Of course poll.d should be in druntime, > if applicable. > > What I likely think is that he is compiling on a platform where poll.d > is not supported. > > Can you give more info on your build environment? i tried that on my 32-bit GNU/Linux box, and the result is the same. but `poll (2)` is certainly supported here. dmd git head, as usual. ;-)
signature.asc
Description: PGP signature