GNUstep-base version 1.14.0
Operation system: SuSe Linux 8.1 with Kernel 2.4.19
GCC 3.2, GNUstep compiled by myself

I developed a GNUstep application on my workstation (Gentoo Linux, bleeding
edge) and wanted to port it onto one of our servers. Building GNUstep worked
fine on that old box (running since 5 years) but running the application did
not.

When starting I got SIGABRT when using [NSThread detachWithSelector:]:
./obj/tool: Uncaught exception NSInternalInconsistencyException, reason: Unable 
to detach
thread (unknown error)
Aborted

The reason for this is that libpthread wasn't linked against when building the
tool. After adding -lpthread to ADDITIONAL_TOOL_LIBS, it worked fine.


_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to