> "AG_SCM_STR02SCM()" is a Guile-version dependent macro: > > $ fgrep GUILE_VERSION ../config.h > #define GUILE_VERSION 200005 > > an edited extract from my version dependent wrapper header: >
> #elif GUILE_VERSION < 200000 > # define AG_SCM_STR02SCM(_s) scm_from_locale_string(_s) > > #elif GUILE_VERSION < 201000 > # define AG_SCM_STR02SCM(_s) scm_from_utf8_string(_s) > > [...] >> figure out what caused the SIGSEGV. I don't even know what function you > > scm_from_locale_string(). I had a stack trace that disappeared > from the email. (Typo of some sort. Sorry.) Actually, it was scm_from_utf8_string, since GUILE_VERSION was 200005 -- C Function: SCM scm_from_latin1_string (const char *str) -- C Function: SCM scm_from_utf8_string (const char *str) -- C Function: SCM scm_from_utf32_string (const scm_t_wchar *str) Return a scheme string from the null-terminated C string STR, which is ISO-8859-1-, UTF-8-, or UTF-32-encoded. These functions should be used to convert hard-coded C string constants into Scheme strings.