We have to make some more changes in configure.ac after lrint() is used in
ow_1821.c. This function is located in libm.so, and this is the first
dependency to this library.
I think it's a waste of memory to add a new dynamic library if we only use
one single function in it from owlib..
I just tried to compile the changes I made for openwrt with uClibc, and I
noticed that lrint doesn't exist in libm.so. The patch I made works and
revert the behavior to the old rounding code..
When configure is run, it can't find lrint() and HAVE_LRINT is undefined.
checking for vsnprintf...
I only used that for a quick fix to a problem connected with the 1821
returning negative temperatures and causing a crash. I agree that it's not
worth creating a dependency for so I would be happy to code it into the 1821
support if you give me a few days to code and test.
On Sat, May 10, 2008
Sorry for causing problems with lrint. It seemed sensible to use an existing
rounding/conversion routine rather than rolling our own. I didn't realize
we'd need to bring in a whole new library with it.
Paul
On Sat, May 10, 2008 at 7:16 PM, Doug Collinge [EMAIL PROTECTED]
wrote:
I only used
Hello!
Paul, Christian, first hello. And to mention, Christian, that was an
outstanding act of deductive reasoning regarding that library issue
for uClibc.
According to the group on the CoreBoot list that problem, in this case
one of toolchains and that whole library are a complex pain in the