Re: Error while compiliing



Well,

It looks like a compiler problem. It is definitly allocating
way to much memory for the compilation of a small
program.

Try updating to a more recent gcc version.

********************************************
> (define a 2045712000)
> (unit-convert (exact->inexact a) 'b '(kb mb gb tb))
gb
1.9052177667617798
> (unit-convert (exact->inexact a) 'b '(kb mb gb tb))
gb
1.9052177667617798
> (define b (+ a 42434560))
> b
2088146560
> (unit-convert (exact->inexact b) 'b '(kb mb gb tb))
gb
1.9447380304336548
> (unit-convert (exact->inexact b) 'b '(kb mb gb tb) 1000)
mb
1991.4117431640625

********************************************
Best regards,

Hans Oesterholt-Dijkema


sadhees kumar schreef:

GCC version is 3.2.2
Thank you Regards, K.Sadheeskumar

On 11/15/05, *Hans Oesterholt* <hdnews gawab com <mailto:hdnews gawab com>> wrote:

    Hmm. gcc version =?

    sadhees kumar schreef:

    > My system configuration is 256 MB RAM, 700MB Sawp sapce and
    Pentium 4
    > processor
    >
    > Thank you
    >
    >
    > On 11/15/05, *Hans Oesterholt* <hdnews gawab com
    <mailto:hdnews gawab com>
    > <mailto:hdnews gawab com <mailto:hdnews gawab com>>> wrote:
    >
    >     How much memory does your machine have?
    >     Did you configure any virtual memory (i.e. swap space)?
    >
    >     sadhees kumar schreef:
    >
    >     > Dear Friends,
    >     > I am developing GTK application using Glade in Red Hat
    Linux 9 (
    >     GTK+
    >     > 2.2.4, GLADE 1.1.3) .
    >     >
    >     > every thing is fine when we develop a small application.
    if we
    >     go for
    >     > bigger application,
    >     >
    >     > I am getting the following error while compiling,
    >     >
    >     > "cc1: cannot allocate 2045712000bytes after allocating
    42434560
    >     bytes"
    >     >
    >     >
    >     > Can any one help me?
    >     >
    >     > Thanks in advance....
    >     >
    >     >
    >     > _____________
    >     > Regards,
    >     >
    >     > K.Sadheeskumar.
    >     >
> >------------------------------------------------------------------------
    >     >
    >     >_______________________________________________
    >     >gtk-list mailing list
    >     >gtk-list gnome org <mailto:gtk-list gnome org>
    <mailto:gtk-list gnome org <mailto:gtk-list gnome org>>
    >     > http://mail.gnome.org/mailman/listinfo/gtk-list
    >     <http://mail.gnome.org/mailman/listinfo/gtk-list>
    >     >
    >     >
    >
    >
    >
    >
    > --
    > _____________
    > Regards,
    >
    > K.Sadheeskumar.





--
_____________
Regards,

K.Sadheeskumar.





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