Gentoo Archives: gentoo-user

From: Richard Fish <bigfish@××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: How serious is revdep-rebuild failure
Date: Sat, 26 Nov 2005 06:41:56
Message-Id: 7573e9640511252237o4ff8b548rb614648dc180a103@mail.gmail.com
In Reply to: [gentoo-user] Re: How serious is revdep-rebuild failure by Harry Putnam
1 On 11/25/05, Harry Putnam <reader@×××××××.com> wrote:
2 > Richard Fish <bigfish@××××××××××.org> writes:
3 >
4 > > #line 1880 "configure"
5 > > #include "confdefs.h"
6 > >
7 > > main(){return(0);}
8 > >
9 > > It then compiles this program. If the program compiles, configure
10 > > decides that gcc works. If the program doesn't run, it decides that
11 > > you are cross compiling. So, let's try this manually.
12 > >
13 > > Save the above lines to a file, call it conftest.c. The build it with
14 > >
15 > > gcc -O2 -march=pentium4 -fomit-frame-pointer -L/usr/X11R6/lib -ltiff
16 > > -L/usr/lib -o conftest conftest.c
17 >
18 > gcc -O2 -march=pentium4 -fomit-frame-pointer -L/usr/X11R6/lib \
19 > -ltiff -L/usr/lib -o conftest conftest.c
20 > configure:1880:22: confdefs.h: No such file or directory
21 >
22 > Just complains about not finding confdefs.h.
23
24 Sorry, my fault. Confdefs.h is generated by the configure script, and
25 doesn't matter for this case. Just remove the include from the file.
26
27 -Richard
28
29 --
30 gentoo-user@g.o mailing list