Re: fatal error: ppl_c.h: No such file or directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 31 March 2011 11:13, Mahmood Naderan wrote:
> Hi,
> making the gcc 4.6.0 give me this error:
>
> checking whether ln -s works... yes
> checking for i686-pc-linux-gnu-gcc... /opt/gcc-4.6-build/./gcc/xgcc
> -B/opt/gcc-4.6-build/./gcc/ -B/usr//i686-pc-linux-gnu/bin/
> -B/usr//i686-pc-linux-gnu/lib/ -isystem /usr//i686-pc-linux-gnu/include -isystem
> /usr//i686-pc-linux-gnu/sys-include

Note what it was checking for when it failed:

> checking for suffix of object files... configure: error: in
> `/opt/gcc-4.6-build/i686-pc-linux-gnu/libgcc':
> configure: error: cannot compute suffix of object files: cannot compile
> See `config.log' for more details.
> make[2]: *** [configure-stage1-target-libgcc] Error 1
> make[2]: Leaving directory `/opt/gcc-4.6-build'
> make[1]: *** [stage1-bubble] Error 2
> make[1]: Leaving directory `/opt/gcc-4.6-build'
> make: *** [all] Error 2
>
> Looking at config.log, it has this message:
>
> | #define LT_OBJDIR ".libs/"
> | /* end confdefs.h.  */
> |
> | /* Override any GCC internal prototype to avoid an error.
> |    Use char because int might match the return type of a GCC
> |    builtin and then its argument prototype would still apply.  */
> | #ifdef __cplusplus
> | extern "C"
> | #endif
> | char PWL_handle_timeout ();
> | int
> | main ()
> | {
> | return PWL_handle_timeout ();
> |   ;
> |   return 0;
> | }
> configure:5764: result: no

Now look what it's checking for here:

> configure:5778: checking for version 0.11 (revision 0 or later) of PPL

i.e. that's not the error that cause configure to fail.


> configure:5795: gcc -c -g -O2    conftest.c >&5
> conftest.c:10: fatal error: ppl_c.h: No such file or directory
> compilation terminated.
> configure:5795: $? = 1
>
> Where can I find ppc_c.h? thanks

You don't need it, PPL is optional so it's not a problem if you don't have it.

See http://gcc.gnu.org/wiki/FAQ#configure_suffix for the actual failure.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux