Ubuntu gcc header files missing

Brie Gordon brie.gordon at gmail.com
Thu Jul 31 17:51:23 UTC 2008


On Thu, Jul 31, 2008 at 1:40 PM, whoosh <whoosh777 at blueyonder.co.uk> wrote:
> On 31-Jul-08 17:57:01 Shrikar archak wrote:
>>U need to install libstdc6 to get the header files they are not installed by
>>default. U can use synaptic to get it installed
>
> what shell command will install it?
>
>>Rgds,
>>Shrikar
>
>>On Thu, Jul 31, 2008 at 10:15 PM, whoosh <whoosh777 at blueyonder.co.uk> wrote:
>
>>>
>>>
>>> I at last installed Ubuntu Desktop 8.04.1
>>>
>>> one useful thing is it has generated a full bootloader for ALL
>>>
>>> my bootable partitions.
>>>
>>>
>>>
>>>
>>> HOWEVER, trying gcc with eg:
>>>
>>>
>>> test.c which is just:
>>>
>>>
>>> #include <stdio.h>
>>>
>>>
>>> gcc cannot find <stdio.h>
>>>
>>> ALL C compilers should find <stdio.h>
>>>
>>> that header goes all the way back to the invention of C.
>>>
>>> this is x86_64-linux-gnu gcc 4.2.3
>>>
>>>
>>> gcc -v -c test.c -o test.o
>>>
>>> shows the search path, the only search directories which exist are:
>>>
>>> /usr/local/include
>>>
>>> /usr/lib/gcc/x86_64-linux-gnu/4.2.3/include
>>>
>>> /usr/include
>>>
>>> NONE of which are any use.
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>> ubuntu-users mailing list
>>> ubuntu-users at lists.ubuntu.com
>>> Modify settings or unsubscribe at:
>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>>>
>
>
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>


I usually:
sudo apt-get build-essential

-- 
Regards,

Brie A. Gordon
A Linux Chica

http://granite.sru.edu/~bag6849/index.html




More information about the ubuntu-users mailing list