8ad7 FreeBSD 6.2 - g++-4.1.2 Compilation error - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Development > FreeBSD Development

FreeBSD Development Kernel development, writing drivers, coding, and questions regarding FreeBSD internals.

Reply
 
Thread Tools Display Modes
  #1  
Old December 14th, 2010, 00:50
spartan_2020 spartan_2020 is offline
Junior Member
 
Join Date: Dec 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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!

Last edited by DutchDaemon; December 14th, 2010 at 02:09. Reason: proper formatting: http://forums.freebsd.org/showthread.php?t=8816
Reply With Quote
  #2  
Old December 28th, 2010, 21:29
sizemj sizemj is offline
Junior Member
 
Join Date: Oct 2009
Location: Louisville, KY USA
Posts: 8
Thanks: 2
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
KDevelop Compilation Error overmind Userland Programming & Scripting 1 October 16th, 2010 15:08
[Solved] 'clean' 8.1 kernel compilation error Ajax Installing & Upgrading 4 October 4th, 2010 09:30
Gen-GS compilation error? Purple_Q Porting New Software 5 December 4th, 2009 19:58
[Solved] libutf-8 compilation error Voltar Installation and Maintenance of FreeBSD Ports or Packages 7 November 29th, 2009 07:59
[Solved] [Info] error in gettext compilation quux_corge Installation and Maintenance of FreeBSD Ports or Packages 9 November 8th, 2009 22:37


All times are GMT +1. The time now is 06:23.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0