View Single Post
omeriko9's Avatar
Posts: 385 | Thanked: 344 times | Joined on Jan 2010 @ Israel
#7
Originally Posted by qwerty12 View Post
OK, took a quick look.

In a Scratchbox with the PR 1.2 SDK installed (dunno what "lib_simple" is, nor how it works), " gcc `pkg-config --cflags hildon-control-panel hildon-1 libosso` -fPIC -c libcallnotify.c && gcc -module -avoid-version -shared -Wl,-soname,libcallnotify.so -o libcallnotify.so libcallnotify.o -lc " created a properly working library. Though, libtool would be a lot better than that.

However, it still crashed because fclose () was being called on a NULL pointer (the file didn't exist) so I moved that inside the if statement that checks for this. (As an aside, you'd probably find g_file_get_contents() easier).
Thank you!!

A few questions:
First, any chance you can send me the .so file so I can finally update CallNotify?
How did you manage to "catch" the fclose thingy?
What is libtool?

Thanks again!

BTW: did you manage to run this on an N900 or just in scratchbox? because it worked for me in scratchbox as well... but not on the device,

Last edited by omeriko9; 2010-06-01 at 22:30.
 

The Following User Says Thank You to omeriko9 For This Useful Post: