hi,
I’ve built a OS image containing photon
when i want to excute a photon application in my target
i get this message:
dlopen(“PtHook.so”,0)
load object:attempt load of PtHook.so
load_elf32: loaded lib at addr…
dlsym(…)=…
Ap: Unable to open ressource file
(/tmp/myapplication_g)
what’s the problem
inamils wrote:
hi,
I’ve built a OS image containing photon
when i want to excute a photon application in my target
i get this message:
dlopen(“PtHook.so”,0)
load object:attempt load of PtHook.so
load_elf32: loaded lib at addr…
dlsym(…)=…
Ap: Unable to open ressource file
(/tmp/myapplication_g)
what’s the problem
Make sure that you include your photon app into your image with the
[+raw] attribute. By default mkifs will strip binaries when it creates
the image…this will also strip the resources out of include photon
apps. Using the [+raw] attribute will tell mkifs not to strip that binary.
example:
[data=c]
ls
pidin
[+raw] myapplication_g
Regards,
Joe
thanx a lot Joe.
Now my application works fine