This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: newlib-2.5.0.20170228.tar.gz missing sys/config.h


huh. it was definitely missing on the version I had. This is what I configured with 

--target=x86_64-vmm-elf CC_FOR_TARGET=x86_64-vmm-clang CXX_FOR_TARGET=x86_64-vmm-clang++ CFLAGS_FOR_TARGET=\"$CFLAGS -DMALLOC_PROVIDED\" CXXFLAGS_FOR_TARGET=\"$CXXFLAGS\" --prefix=$PWD/sysroot_vmm/ --disable-libgloss --disable-multilib --enable-newlib-multithread --enable-newlib-iconv --disable-newlib-supplied-syscalls

it gets through configuring fine, but dies on the first file it tries to compile with the file missing. 

- Rian

> On Mar 9, 2017, at 12:19 PM, Jeff Johnston <jjohnstn@redhat.com> wrote:
> 
> I just untarred the tar file from the ftp site:
> 
> [jjohnstn@localhost sys]$ pwd
> /home/jjohnstn/tmp/newlib-2.5.0.20170228/newlib/libc/include/sys
> [jjohnstn@localhost sys]$ ls
> cdefs.h           features.h       queue.h     _stdint.h    timespec.h
> config.h          file.h           reent.h     stdio.h      _timeval.h
> custom_file.h     iconvnls.h       resource.h  string.h     tree.h
> _default_fcntl.h  _intsup.h        sched.h     syslimits.h  _types.h
> dirent.h          _locale.h        select.h    timeb.h      types.h
> dir.h             lock.h           signal.h    time.h       unistd.h
> errno.h           param.h          _sigset.h   times.h      utime.h
> fcntl.h           _pthreadtypes.h  stat.h      _timespec.h  wait.h
> 
> The source file is still there.  How did you configure and build and what was the
> compile command that caused the error?  Perhaps there is a configuration error
> introduced.
> 
> -- Jeff J.
> 
> ----- Original Message -----
>> sys/config.h is completely missing, so attempting to compile it results total
>> chaos. This was not an issue with the previous version.
>> 
>> /home/user/new_hypervisor/source_newlib/newlib/libc/include/_ansi.h:16:10:
>> fatal error: 'sys/config.h' file not found
>> #include <sys/config.h>
>> 
>> - Rian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]