Sorry for all the work, thanks that you're interested in FreeBSD porting. The latest svn crashes, backtrace:
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 8096041c0 (LWP 100575/initial thread)] 0x0000000802ead71d in g_type_name () from /usr/local/lib/libgobject-2.0.so.0 (gdb) bt #0 0x0000000802ead71d in g_type_name () from /usr/local/lib/libgobject-2.0.so.0 #1 0x000000000042888a in make_batchbox () #2 0x00000000004211fa in gui_init () #3 0x000000000041731e in main () As for the sysconf(_SC_NPROCESSORS_ONLN), in rs-utils.c, could you define _XOPEN_SOURCE dependend on __GLIBC__? It hides _SC_NPROCESSORS_ONLN on (Free)BSD, and after searching the web it can have other effects on non-linux systems (as mentioned e.g. here http://gcc.gnu.org/ml/gcc-patches/2000-09/msg00671.html) so maybe put #if (defined __GLIBC__ || defined __GNU_LIBRARY__) #define _XOPEN_SOURCE #endif at the start of rs-utils.c. Does that sound reasonable? Cheers, Mathias _______________________________________________ Rawstudio-users mailing list [email protected] http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-users
