Compiling for different systems

Reply

Join Date: Feb 2008
Posts: 98
Reputation: Nemoticchigga is an unknown quantity at this point 
Solved Threads: 2
Nemoticchigga Nemoticchigga is offline Offline
Junior Poster in Training

Compiling for different systems

 
0
  #1
Aug 11th, 2008
I am current working on developing software in SUSE 10.2. The program works correctly, and then i statically compile it and run in DamnSmallLinux, and as soon as the program runs i get the 'set_thread_are failed when setting up thread-local storage area' error.

I also tried to put the files on DamnSmallLinux and compile it from there rather than compile it statically on SUSE 10.2, but in this case when i try to just run the executable (./a.out) it will run and then immediately return a segmentation fault when a function is called(class->function()). If I run it in VALGRIND though on DamnSmallLinux the fault doesnt happen.

Any ideas on either problem?

Thanks in advance
Reply With Quote Quick reply to this message  
Join Date: Aug 2008
Posts: 10
Reputation: sparty is an unknown quantity at this point 
Solved Threads: 0
sparty sparty is offline Offline
Newbie Poster

Re: Compiling for different systems

 
0
  #2
Aug 13th, 2008
this problem was solved by changing the kernel type from 2.4 to 2.6
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the IT Professionals' Lounge Forum
Thread Tools Search this Thread



Tag cloud for IT Professionals' Lounge
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC