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

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

 



>You don't need it, PPL is optional so it's not a problem if you don't have it
>It will download and configure everything for you.

I will prefer to skip that library if it is optional.
 
>See http://gcc.gnu.org/wiki/FAQ#configure_suffix for the actual failure

I saw that but didn't find how to disable cuh libraries. is it --without-ppl ??

// Naderan *Mahmood;



----- Original Message ----
From: Jonathan Wakely <jwakely.gcc@xxxxxxxxx>
To: Mahmood Naderan <nt_mahmood@xxxxxxxxx>
Cc: gcc <gcc-help@xxxxxxxxxxx>
Sent: Thu, March 31, 2011 4:14:12 PM
Subject: Re: fatal error: ppl_c.h: No such file or directory

On 31 March 2011 12:39, Jonathan Wakely  wrote:
> 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.
>

You might find my config-gcc.mk makefile useful:

http://advogato.org/person/redi/diary/229.html

All you need to do is:

make -f config-gcc.mk GCC_VERSION=4.6.0

It will download and configure everything for you.

For additional configuration you can set CONFIGARGS e.g.

make -f config-gcc.mk GCC_VERSION=4.6.0
CONFIGARGS="--enable-__cxa_atexit --prefix=/opt/gcc-4.6.0"




[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