Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.

#1 Nov. 15, 2005 05:02:06

sadhees k.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Error while compiliing


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.orghttp://mail.gnome.org/mailman/listinfo/gtk-list

Offline

#2 Nov. 15, 2005 09:43:18

sadhees k.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Error while compiliing


My system configuration is 256 MB RAM, 700MB Sawp sapce and Pentium 4 processor Thank you On 11/15/05,Hans Oesterholt<> 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-l***@*nome.org>http://mail.gnome.org/mailman/listinfo/gtk-list>>--_____________Regards,K.Sadheeskumar._______________________________________________
gtk-list mailing list
gtk-list@gnome.orghttp://mail.gnome.org/mailman/listinfo/gtk-list

Offline

#3 Nov. 15, 2005 11:17:48

Hans O.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Error while compiliing


Hmm. gcc version =?

sadhees kumar schreef:My system configuration is 256 MB RAM, 700MB Sawp sapce and Pentium 4processorThank youOn 11/15/05, *Hans Oesterholt* <<>> 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-l***@*nome.org <mailto:gtk-l***@*nome.org>
>http://mail.gnome.org/mailman/listinfo/gtk-list<http://mail.gnome.org/mailman/listinfo/gtk-list>
>
>




--
_____________
Regards,K.Sadheeskumar._______________________________________________
gtk-list mailing list
gtk-list@gnome.orghttp://mail.gnome.org/mailman/listinfo/gtk-list

Offline

#4 Nov. 17, 2005 06:20:57

Hans O.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

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.2Thank youRegards,K.SadheeskumarOn 11/15/05, *Hans Oesterholt* <<>> 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* <
<>
> <>>> 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-l***@*nome.org <mailto:gtk-l***@*nome.org>
<mailto:gtk-l***@*nome.org<mailto:gtk-l***@*nome.org>>
> >http://mail.gnome.org/mailman/listinfo/gtk-list> <http://mail.gnome.org/mailman/listinfo/gtk-list>
> >
> >
>
>
>
>
> --
> _____________
> Regards,
>
> K.Sadheeskumar.





--
_____________
Regards,K.Sadheeskumar._______________________________________________
gtk-list mailing list
gtk-list@gnome.orghttp://mail.gnome.org/mailman/listinfo/gtk-list

Offline

Board footer

Moderator control

Enjoy the 18th of November
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support