This is the mail archive of the libc-help@sourceware.org mailing list for the glibc 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]

How to fix conftest.c problems ?


I am building GLIBC 2.14 on a Ubuntu Hardy Heron  system.

When I run the following command-:

../configure --prefix=/usr/local/glibc2.14

The configuration completes but I keep getting weird errors in my
config.log namely for a file called conftest.c

A quick google search revealed that conftest.c is actually a temporary
file generated by the autoconf script for testing purposes.

Now my question is how do I first dump conftest.c into an actual file
that I can see, secondly how do I fix the error that it is
encountering.

A sample of those errors is-:

configure:3118: gcc -E  conftest.c
conftest.c:9:28: error: ac_nonexistent.h: No such file or directory
configure:3118: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU C Library"
| #define PACKAGE_TARNAME "c-library"
| #define PACKAGE_VERSION "(see version.h)"
| #define PACKAGE_STRING "GNU C Library (see version.h)"
| #define PACKAGE_BUGREPORT "glibc"
| #define PACKAGE_URL "http://www.gnu.org/software/c-library/";
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>
configure:3143: result: gcc -E
configure:3163: gcc -E  conftest.c
configure:3163: $? = 0
configure:3177: gcc -E  conftest.c
conftest.c:9:28: error: ac_nonexistent.h: No such file or directory




I want to fix these errors. How would I go about doing that ?

I have attached the config.log for reference.

Regards,
Sreyan Chakravarty

Attachment: config.log
Description: Binary data


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