Re: Build error for moxiebox architecture
Torbjorn SVENSSON <[email protected]>
| Newsgroups | gmane.comp.lib.newlib |
|---|---|
| Message-ID | <[email protected]> |
Hello, On 2023-08-13 02:27, Chris Packham wrote: > Hi All, > > I'm getting the next crosstool-ng release together and one build > failure we're having is for the moxiebox architecture: > > moxie-unknown-moxiebox/lib/libc.a(libc_a-closer.o): in function `_close_r': > moxie-unknown-moxiebox/src/newlib/newlib/libc/reent/closer.c:47: > undefined reference to `_close' > > and similar for _lseek, _read, _write and _sbrk As you do not include the link line, I'm assuming that you are not using anything out of the ordinary. In this case, maybe you should give --specs=nosys.specs a go and see if it helps. Regardless if it helps or not, it will likely only provide you with stubs that you need to override in you application to get something working.