gcc in ubuntu natty beta 2 (Colin Law)

Alain Muls alain.muls at telenet.be
Wed Apr 20 13:35:35 UTC 2011


On 19 April 2011 20:49,  <ubuntu-users-request at lists.ubuntu.com> wrote:
> On 19 April 2011 13:51, Alain Muls <alain.muls at telenet.be> wrote:
>> On 18 April 2011 22:41, ?<ubuntu-users-request at lists.ubuntu.com> wrote:
>>>>Hi All
>>>>
>>>>I am having trouble with the compiler in Ubuntu Natty beta 2.
>>>>I have two programs I am working on, compilation is fine under Ubuntu
>>>>10.10, but in 11.04 beta I get
>>>>- compilation stops because the compiler runs out of virtual memory
>>>>for program 1
>>>>- program 2 uses uint8_t but in Natty I get that this type does not exist.
>>>>
>>>>Any suggestions are welcome
>>>>
>>>>bye/Alain
>>>
>>>
>>> For the second case, you could try #including stdint.h
>>>
>>
>> Hi
>>
>> I included stdint.h but it does not find uint8_t, uint16_t is also
>> used and he has no complaints about that type.
>
> Are you sure it compiled correctly previously?
> You could try a global search in the headers for uint8_t
>
> Colin
>

Hi

I resolved the second problem, I made a mistake by using a C++
convention for initialising the variable in what is a pure C program.

I still have problems with the "virtual memory" though in Natty Beta,
it does compile in Meerkat.

bye/Alain




More information about the ubuntu-users mailing list