I ran strace and it generated the following output. I am not sure exactly
what it all means. It seems to me that some files are missing. I am unclear
at this point in how to obtain the missing files? Are the missing files
generated by make file or do they come from somewhere else? At any rate it
would appear that the libEBBLibrary.so (highlighted in purple) is there and
is accessed, but there are others that are not showing up? Any ideas?? By
the way William thanks for the strace tip although I am unclear at this
point about how to interpet??
execve("./LCDApp", ["./LCDApp"], [/* 19 vars */]) = 0
brk(0) = 0x4bf000
uname({sys="Linux", node="beaglebone", ...}) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb6f95000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=26752, ...}) = 0
mmap2(NULL, 26752, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb6f8e000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/arm-linux-gnueabihf/tls/v7l/neon/vfp/libEBBLibrary.so",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
stat64("/lib/arm-linux-gnueabihf/tls/v7l/neon/vfp", 0xbea01370) = -1 ENOENT
(No such file or directory)
open("/lib/arm-linux-gnueabihf/tls/v7l/neon/libEBBLibrary.so",
O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/arm-linux-gnueabihf/libEBBLibrary.so", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0`m\0\0004\0\0\0"...,
512) = 512
lseek(3, 95252, SEEK_SET) = 95252
read(3,
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
1200) = 1200
lseek(3, 63425, SEEK_SET) = 63425
read(3, "A2\0\0\0aeabi\0\1(\0\0\0\0057-A\0\6\n\7A\10\1\t\2\n\4\22"..., 51)
= 51
fstat64(3, {st_mode=S_IFREG|0755, st_size=96452, ...}) = 0
mmap2(NULL, 128964, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb6f50000
mprotect(0xb6f5f000, 65536, PROT_NONE) = 0
mmap2(0xb6f6f000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf000) = 0xb6f6f000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/arm-linux-gnueabihf/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0 n\4\0004\0\0\0"...,
512) = 512
open("/lib/arm-linux-gnueabihf/libEBBLibrary.so", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0`m\0\0004\0\0\0"...,
512) = 512
lseek(3, 95252, SEEK_SET) = 95252
read(3,
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
1200) = 1200
lseek(3, 63425, SEEK_SET) = 63425
read(3, "A2\0\0\0aeabi\0\1(\0\0\0\0057-A\0\6\n\7A\10\1\t\2\n\4\22"..., 51)
= 51
fstat64(3, {st_mode=S_IFREG|0755, st_size=96452, ...}) = 0
mmap2(NULL, 128964, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb6f50000
mprotect(0xb6f5f000, 65536, PROT_NONE) = 0
mmap2(0xb6f6f000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf000) = 0xb6f6f000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/arm-linux-gnueabihf/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\1\1\1\3\0\0\0\0\0\0\0\0\3\0(\0\1\0\0\0 n\4\0004\0\0\0"...,
512) = 512
lseek(3, 100684, SEEK_SET) = 100684
read(3,
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...,
1520) = 1520
lseek(3, 65940, SEEK_SET) = 65940
read(3, "A4\0\0\0aeabi\0\1*\0\0\0\0057-A\0\6\n\7A\10\1\t\2\n\4\22"..., 53)
= 53
fstat64(3, {st_mode=S_IFREG|0755, st_size=102204, ...}) = 0
mmap2(NULL, 139836, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb6ceb000
mprotect(0xb6cfb000, 61440, PROT_NONE) = 0
mmap2(0xb6d0a000, 8192, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf000) = 0xb6d0a000
mmap2(0xb6d0c000, 4668, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb6d0c000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb6f8c000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb6f8b000
set_tls(0xb6f8b4c0, 0xb6f98050, 0xb6f8bbb8, 0xb6f8b4c0, 0xb6f98050) = 0
mprotect(0xb6df6000, 8192, PROT_READ) = 0
mprotect(0xb6d0a000, 4096, PROT_READ) = 0
mprotect(0xb6e97000, 4096, PROT_READ) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb6f8a000
mprotect(0xb6f44000, 16384, PROT_READ) = 0
mprotect(0xb6f97000, 4096, PROT_READ) = 0
munmap(0xb6f8e000, 26752) = 0
set_tid_address(0xb6f8b068) = 650
set_robust_list(0xb6f8b070, 12) = 0
rt_sigaction(SIGRTMIN, {0xb6cefd9d, [], SA_RESTORER|SA_SIGINFO,
0xb6d34ae1}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0xb6cefcbd, [], SA_RESTORER|SA_RESTART|SA_SIGINFO,
0xb6d34ae1}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
futex(0xb6f4ece8, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0xb6f4ecdc, FUTEX_WAKE_PRIVATE, 2147483647) = 0
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 0), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb6f94000
mprotect(0xb6df6000, 8192, PROT_READ) = 0
mprotect(0xb6d0a000, 4096, PROT_READ) = 0
mprotect(0xb6e97000, 4096, PROT_READ) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb6f8a000
mprotect(0xb6f44000, 16384, PROT_READ) = 0
mprotect(0xb6f97000, 4096, PROT_READ) = 0
munmap(0xb6f8e000, 26752) = 0
set_tid_address(0xb6f8b068) = 650
set_robust_list(0xb6f8b070, 12) = 0
rt_sigaction(SIGRTMIN, {0xb6cefd9d, [], SA_RESTORER|SA_SIGINFO,
0xb6d34ae1}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0xb6cefcbd, [], SA_RESTORER|SA_RESTART|SA_SIGINFO,
0xb6d34ae1}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
futex(0xb6f4ece8, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0xb6f4ecdc, FUTEX_WAKE_PRIVATE, 2147483647) = 0
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 0), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb6f94000
write(1, "Starting EBB LCD Character Displ"..., 43) = 43
brk(0) = 0x4bf000
brk(0x4e0000) = 0x4e0000
open("/dev/spidev2.0", O_RDWR) = -1 ENOENT (No such file or directory)
dup(2) = 3
fcntl64(3, F_GETFL) = 0x402 (flags O_RDWR|O_APPEND)
fstat64(3, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 0), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb6f93000
_llseek(3, 0, 0xbea01838, SEEK_CUR) = -1 ESPIPE (Illegal seek)
write(3, "SPI: Can't open device.: No such"..., 51) = 51
close(3) = 0
munmap(0xb6f93000, 4096) = 0
ioctl(-1, 0x40046b04, 0x4bf024) = -1 EBADF (Bad file descriptor)
dup(2) = 3
fcntl64(3, F_GETFL) = 0x402 (flags O_RDWR|O_APPEND)
fstat64(3, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 0), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb6f93000
_llseek(3, 0, 0xbea01968, SEEK_CUR) = -1 ESPIPE (Illegal seek)
write(3, "SPI: Can't set max speed HZ: Bad"..., 49) = 49
lose(3) = 0
munmap(0xb6f93000, 4096) = 0
ioctl(-1, 0x40206b00, 0xbea01a30) = -1 EBADF (Bad file descriptor)
dup(2) = 3
fcntl64(3, F_GETFL) = 0x402 (flags O_RDWR|O_APPEND)
fstat64(3, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 0), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb6f93000
_llseek(3, 0, 0xbea01910, SEEK_CUR) = -1 ESPIPE (Illegal seek)
write(3, "SPI: SPI_IOC_MESSAGE Failed: Bad"..., 49) = 49
close(3) = 0
munmap(0xb6f93000, 4096) = 0
nanosleep({0, 1520000}, NULL) = 0
ioctl(-1, 0x40206b00, 0xbea01a30) = -1 EBADF (Bad file descriptor)
dup(2) = 3
fcntl64(3, F_GETFL) = 0x402 (flags O_RDWR|O_APPEND)
fstat64(3, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 0), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0xb6f93000
_llseek(3, 0, 0xbea01910, SEEK_CUR) = -1 ESPIPE (Illegal seek)
write(3, "SPI: SPI_IOC_MESSAGE Failed: Bad"..., 49) = 49
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.