Content originally posted in LPCWare by Bela on Mon Jul 14 13:20:39 MST 2014
Ladies and Gentlemen,
I think my problem is very similar to that of HRE Haustechnik's.
My target is an LPC Expresso board with LPC1768 on it. It laid for a long time in the box, and now I have time to learn how to program it.
My PC has Ubuntu 10.04LTS on it, the 64bit version.
(please note: I also tried to install some 32 bit *buntu versions as well, but I couldn't use LPCXpresso on any of them. For the simplicity, I remain on this Ubuntu 10.04LTS, because I know this system the best. It doesn't mean, that I'm a Linux professional!)
Yes, I read the notes on how to run LPCXpresso on 64 bit systems. I tried to follow the guides, but I wasn't successful. The installation of the 32 bit libraries resulted the following message:
E: Package cannot be found: libusb-0.1-4:i38
The symptoms I experience are:
1. The icons on the IDE are somewhat truncated. Should it look like this?
[img]file:///home/bela/Asztal/K%C3%A9perny%C5%91k%C3%A9p-Develop%20-%20project01-src-project01.c%20-%20LPCXpresso%20.png[/img]
2. My first project is an empty one, automatically generated by LPCXpresso. It compiles without problem, but I couldn't connect to the LPCXpresso board.
Here's the error message I receive:
[img]file:///home/bela/Asztal/K%C3%A9perny%C5%91k%C3%A9p-LPCXpresso:%20Exception%20-1.png[/img]
Since I read through this topic, I insert here the following as well:
bela@bela-desktop:~$ strace /usr/local/lpcxpresso_7.2.0_153/lpcxpresso/bin/redlinkserv
execve("/usr/local/lpcxpresso_7.2.0_153/lpcxpresso/bin/redlinkserv", ["/usr/local/lpcxpresso_7.2.0_153/"...], [/* 38 vars */]) = 0
brk(0) = 0x9d8b000
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) = 0xb7752000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=95062, ...}) = 0
mmap2(NULL, 95062, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb773a000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/libdl.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\n\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=9736, ...}) = 0
mmap2(NULL, 12408, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7736000
mmap2(0xb7738000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7738000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/libpthread.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 J\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=117086, ...}) = 0
mmap2(NULL, 98792, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb771d000
mmap2(0xb7732000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14) = 0xb7732000
mmap2(0xb7734000, 4584, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7734000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0Pm\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1434180, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb771c000
mmap2(NULL, 1444264, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb75bb000
mprotect(0xb7715000, 4096, PROT_NONE) = 0
mmap2(0xb7716000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15a) = 0xb7716000
mmap2(0xb7719000, 10664, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7719000
close(3) = 0
writev(2, [{"/usr/local/lpcxpresso_7.2.0_153/"..., 58}, {": ", 2}, {"/lib/tls/i686/cmov/libc.so.6", 28}, {": ", 2}, {"version `GLIBC_2.15' not found ("..., 103}, {"\n", 1}], 6/usr/local/lpcxpresso_7.2.0_153/lpcxpresso/bin/redlinkserv: /lib/tls/i686/cmov/libc.so.6: version `GLIBC_2.15' not found (required by /usr/local/lpcxpresso_7.2.0_153/lpcxpresso/bin/redlinkserv)
) = 194
exit_group(1) = ?
Any kind of help is highly appreciated. Please note, I'm not a Linux guru, I just use the system.