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 |