On Tue, Aug 10, 2010 at 10:19 PM, Alexander Burger <a...@software-lab.de> wr= ote: > Hi Edwin, > >> no problems with the link flags as far as i can tell. it compiles cleanl= y. > > OK > > >> diverging a bit. what's picolisp's protocol of loading shared libs? > > A simple dlopen() followed by dlsym(). This happens e.g. in "src/main.c" > in the sharedLib() function.
got it. thank you. i was sprinkling some printf()s in the sharedLib() function. again, happens after browser is stopped. i also looked at tab.c. saw the functions being registered there. > Hmm, probably upon the first access to a function in the shared object > file. I'm not sure at the moment exactly _when_ the first of those > functions is called. > > You could try manually som functions from "lib/ht", e.g.: > > =A0 $ ./dbg > =A0 : (ht:Prin "a<b&c>d") > =A0 a<b&c>d-> "a<b&c>d" > > =A0 : (ht:Fmt 'abc "def" 123 (4 5 6)) > =A0 -> "$abc&def&+123&_+4_+5_+6" > > If this works, we are done :) didn't. dbg spewed out similar errors. digging deeper... > > Cheers, > - Alex > -- > UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=3dunsubscribe > -- UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe