On 11/25/05, Harry Putnam <[EMAIL PROTECTED]> wrote:
> Richard Fish <[EMAIL PROTECTED]> writes:
>
> > #line 1880 "configure"
> > #include "confdefs.h"
> >
> > main(){return(0);}
> >
> > It then compiles this program. If the program compiles, configure
> > decides that gcc works. If the program doesn't run, it decides that
> > you are cross compiling. So, let's try this manually.
> >
> > Save the above lines to a file, call it conftest.c. The build it with
> >
> > gcc -O2 -march=pentium4 -fomit-frame-pointer -L/usr/X11R6/lib -ltiff
> > -L/usr/lib -o conftest conftest.c
>
> gcc -O2 -march=pentium4 -fomit-frame-pointer -L/usr/X11R6/lib \
> -ltiff -L/usr/lib -o conftest conftest.c
> configure:1880:22: confdefs.h: No such file or directory
>
> Just complains about not finding confdefs.h.
Sorry, my fault. Confdefs.h is generated by the configure script, and
doesn't matter for this case. Just remove the include from the file.
-Richard
--
[email protected] mailing list