Forum

hiawatha: can't resolve symbol 'strcasestr'

klausi
7 March 2007, 19:52
Hello!

I have cross-compiled hiawatha with the OpenWRT toolchain for my Linksys WRT54GL-Router running DD-WRT v23SP3.
After configuring everything properly I always get the error message
"hiawatha: can't resolve symbol 'strcasestr'"
when I try to connect. The browser shows a white screen while it unsuccessfully tries to load.
Another interesting fact is that hiawatha starts a second process with the same UID after trying to connect the first time.

Could it possibly be a library problem? If so it shouldn't be too difficult to solve if I only knew which library is concerned.
Anyway, maybe you can help me...


Thank you
klausi
Hugo Leisink
7 March 2007, 23:11
This sounds like a cool experiment. I don't know OpenWRT. Can you send me the output of the './configure' and the 'make' commands? Also send me the content of 'config.h' after running ./configure. The strcasestr function should be in 'string.h'. On older compilers, it's possible that it's in 'strings.h'. Anyway, this strcasestr function can be a problem, so I've written my own which is placed in alternative.c which comes with Hiawatha. So, the only thing we have to find out is: does your compiler know strcasestr and if so, in which library it is. Can you 'grep' for it in /usr/include? (grep -r strcasestr /usr/include)
This topic has been closed.