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

this problem was solved by changing the kernel type from 2.4 to 2.6

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.