FreeBSD 6.2 - g++-4.1.2 Compilation error

Hi,

I am getting the following linker error when I try to compile c++ code using g++-4.1.2.
The error is as follows:

Code:
could not read symbols: Memory exhausted
collect2: ld returned 1 exit status

Could anybody let me know what is the cause for this error? I am using FreeBSD 6.2 virtual image with 2gigs of Memory. I tried to change the sysctl variables(vm.kmem_size) too but that didn't work.

Thanks!
 
Do you have a swap slice set up? I did a little research and this may do to a swap partition not working or not big enough.
 
Back
Top