omeriko9
|
2010-06-01
, 21:36
|
|
Posts: 385 |
Thanked: 344 times |
Joined on Jan 2010
@ Israel
|
#1
|
|
2010-06-01
, 21:43
|
Posts: 1,667 |
Thanked: 561 times |
Joined on Feb 2010
|
#2
|
|
2010-06-01
, 21:47
|
|
Posts: 385 |
Thanked: 344 times |
Joined on Jan 2010
@ Israel
|
#3
|
|
2010-06-01
, 22:03
|
|
Posts: 385 |
Thanked: 344 times |
Joined on Jan 2010
@ Israel
|
#5
|
CFLAGS += `pkg-config --cflags hildon-1 libosso`
LDFLAGS += `pkg-config --libs hildon-1 libosso`
CFLAGS += `pkg-config --cflags gtk+-2.0`
LDFLAGS += `pkg-config --libs gtk+-2.0`
The Following User Says Thank You to omeriko9 For This Useful Post: | ||
|
2010-06-01
, 22:25
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#6
|
The Following User Says Thank You to qwerty12 For This Useful Post: | ||
|
2010-06-01
, 22:28
|
|
Posts: 385 |
Thanked: 344 times |
Joined on Jan 2010
@ Israel
|
#7
|
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).
The Following User Says Thank You to omeriko9 For This Useful Post: | ||
|
2010-06-01
, 22:33
|
|
Posts: 2,473 |
Thanked: 12,265 times |
Joined on Oct 2009
@ Jerusalem, PS/IL
|
#8
|
The Following User Says Thank You to MohammadAG For This Useful Post: | ||
|
2010-06-01
, 22:34
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#9
|
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!
The Following User Says Thank You to qwerty12 For This Useful Post: | ||