This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: newlib-2.5.0.20170228.tar.gz missing sys/config.h
- From: Jeff Johnston <jjohnstn at redhat dot com>
- To: Rian Quinn <rianquinn at gmail dot com>
- Cc: newlib at sourceware dot org
- Date: Thu, 9 Mar 2017 14:19:54 -0500 (EST)
- Subject: Re: newlib-2.5.0.20170228.tar.gz missing sys/config.h
- Authentication-results: sourceware.org; auth=none
- References: <8AF1F335-2AC8-4ADC-8C7A-F87D7101A542@gmail.com>
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