Search

Resume and bio of the author Couple of articles related to my hobby - robotics
My impressions about immigration to Australia. In Russian only. Recipes for everyday problems solving
Linux-related posts Windows-related posts
Software-related posts A lot of info about hardware
Different tools you might find useful Posts about various web technologies
Everything that doesn't fit the rest of the menu RSS feed for this blog

Tag Cloud

Archives

Links

Andrey Mikhalchuk’s Blog

Technoblog about life

Jun 3, 2009 Solving libopenocd.so: undefined reference to `FT_GetLatencyTimer’ problem during openocd compilation

If you dare to build OpenOCD from svn trunk and lucky to have a USB JTAG adapter there is a good chance you will see something like

/bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -g -O2 -I/root/Distr/ftd2/libftd2xx0.4.16 -Wall -Wstrict-prototypes -Wformat-security -Wextra -Wno-unused-parameter -Wbad-function-cast -Wcast-align -Wredundant-decls -Werror -o openocd main.o libopenocd.la -ldl /root/Distr/ftd2/libftd2xx0.4.16/static_lib/libftd2xx.a.0.4.16 -lpthread
libtool: link: gcc -std=gnu99 -g -O2 -I/root/Distr/ftd2/libftd2xx0.4.16 -Wall -Wstrict-prototypes -Wformat-security -Wextra -Wno-unused-parameter -Wbad-function-cast -Wcast-align -Wredundant-decls -Werror -o .libs/openocd main.o /root/Distr/ftd2/libftd2xx0.4.16/static_lib/libftd2xx.a.0.4.16 ./.libs/libopenocd.so -ldl -lpthread
./.libs/libopenocd.so: undefined reference to `FT_GetLatencyTimer'
./.libs/libopenocd.so: undefined reference to `FT_Close'
./.libs/libopenocd.so: undefined reference to `FT_SetBitMode'
./.libs/libopenocd.so: undefined reference to `FT_GetDeviceInfo'
./.libs/libopenocd.so: undefined reference to `FT_OpenEx'
./.libs/libopenocd.so: undefined reference to `FT_Read'
./.libs/libopenocd.so: undefined reference to `FT_SetTimeouts'
./.libs/libopenocd.so: undefined reference to `FT_SetVIDPID'
./.libs/libopenocd.so: undefined reference to `FT_Write'
./.libs/libopenocd.so: undefined reference to `FT_SetLatencyTimer'
./.libs/libopenocd.so: undefined reference to `FT_ListDevices'
./.libs/libopenocd.so: undefined reference to `FT_Purge'

Here is how to fix that:

May 25, 2009 How to autologin root

This is a famous/popular question in many Linux forums. The typical answer to the question is “Login (especially autologin) into a system as root is bad”. That’s right, but WTH! The person is asking how to do that, not if it is good or bad! If you don’t know the answer, don’t answer the question you’re not asked about!!
Anyway, if you need to autologin as root for some reason here is the recipe for Open SuSE 11.1 KDE 4.2.2 that could work for other Linux/KDE combinations:

May 25, 2009 How to resize knote

In some versions of KDE (like 4.2.2) there is a bug in knote that prevents users from resizing the note. The bug is fixed in 4.2.3, but if you are still using 4.2.2 you still can resize it.

May 6, 2009 “Build dependency: Please do not compile as root.” in kamikaze 8.09

Good news is OpenWRT 8.09 got recently released. Bad news is that you can’t compile it as root. Yes, compiling as root is bad, but in some situations you absolutely need to do that and you’re just unable to do that. In previous versions it was possible to “export FORCE=1″ and compile everything under root account. In this version there is a bug. And here is the bugfix:

Oct 23, 2008 How to add serial interface to WRT54GL router

If you decided to mod your wrt54gl router and turn it into one of the most capable routers for soho network, probably the first mod you should start with is adding serial interface to it. Why? Because when you do the other mods (like adding SD reader, turning into robot, adding leds etc) you definitely send the router into the brick state. And the best way to unbrick it is to look at the router’s console output. The entire operation is very easy and should not take longer then 1 hour. Here is how to do this:

Site Map (c) Andrey Mikhalchuk, 2005-2008