troubleshooting Question

gphoto2 cross compile for arm

Avatar of FarcoTech
FarcoTech asked on
ProgrammingCLinux OS Dev
26 Comments3 Solutions2168 ViewsLast Modified:
Hi,
I have cross-compiled libgphoto2 and gphoto2 to run on an arm processor. When I run:
$ strace gphoto2 -about
I get the following with a segmentation fault. Can anyone see a solution to this?
Thanks
open("/mnt/flash/lib/libgphoto2/2.4.10.1", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFDIR|0750, st_size=2048, ...}) = 0
fcntl64(3, F_GETFD)                     = 0x1 (flags FD_CLOEXEC)
getdents(3, /* 4 entries */, 4096)      = 72
getdents(3, /* 0 entries */, 4096)      = 0
close(3)                                = 0
access("/lib/dlopen.a", R_OK)           = 0
gettimeofday({1284090621, 931380}, NULL) = 0
open("/mnt/flash/lib/libgphoto2/2.4.10.1/ptp2.la", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0640, st_size=901, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40020000
read(3, "# ptp2.la - a libtool library fi"..., 4096) = 901
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x40020000, 4096)                = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Segmentation fault

Open in new window

ASKER CERTIFIED SOLUTION
FarcoTech

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 3 Answers and 26 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 3 Answers and 26 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros