View previous topic :: View next topic |
Author |
Message |
vert Apprentice
Joined: 07 May 2002 Posts: 214 Location: Delft, The Netherlands
|
Posted: Wed Jul 10, 2002 12:36 am Post subject: Errors compiling all kinds of stuff |
|
|
I just installed Gentoo on a little server, and thought it could nicely do an emerge -u world tonight
only it failed with the first package: shadow
fist it was an error with " as "
I then tried to compile gcc, more errors
then shadow again, and this time an error with: [copydir.lo] Error 1
followed by a !!! Function src_compile, Line 33, Exitcode 2
GCC now gives (from 2.9.5-r5 to 2.9.5-r7) :
Internal compiler error: program as got fatal signal 11
and again a !!! Function src_compile
Ah! Now I also get a "virtual memory exhausted" ...
now what is that supposed to mean
if that's the problem, how can I solve this (apart from a reboot)? |
|
Back to top |
|
|
AutoBot l33t
Joined: 22 Apr 2002 Posts: 968 Location: Usually Out
|
Posted: Wed Jul 10, 2002 12:40 am Post subject: Re: Errors compiling all kinds of stuff |
|
|
Well if your running a server you really shouldn't emerge --update world as you can and will break things, but try to emerge one package and post the "full" error you recieve. _________________ This message self destructed a long time ago. |
|
Back to top |
|
|
trythil Tux's lil' helper
Joined: 06 Jun 2002 Posts: 123 Location: RHIT, Terre Haute, IN, USA
|
Posted: Wed Jul 10, 2002 1:54 am Post subject: |
|
|
Quote: |
GCC now gives (from 2.9.5-r5 to 2.9.5-r7) :
Internal compiler error: program as got fatal signal 11
and again a !!! Function src_compile
Ah! Now I also get a "virtual memory exhausted" ...
now what is that supposed to mean
if that's the problem, how can I solve this (apart from a reboot)?
|
"Internal compiler error" can mean almost anything, although it's usually hardware-related. The error "virtual memory exhausted" means that you've run out of memory, physical (RAM sticks) and virtual (swap space). I'll bet anything that the two are related.
Use the "free" command, and post the output here. It'll let us know how much memory your system has access to.
Example:
Code: |
trythil@lothlann trythil $ free
total used free shared buffers cached
Mem: 384812 373080 11732 0 20 197980
-/+ buffers/cache: 175080 209732
Swap: 216836 5996 210840
|
For that matter, is your swap partition even activated? |
|
Back to top |
|
|
vert Apprentice
Joined: 07 May 2002 Posts: 214 Location: Delft, The Netherlands
|
Posted: Wed Jul 10, 2002 8:10 am Post subject: |
|
|
ok, well, it was swap related ofcourse
guess i was too tired last night
anyways, free said my swap use was zero
so I did a mkswap again and now it works
thnx for the tips |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|