I compiled the latest CVS for my WRT. To make use of the new suncalc features I added my Western longitude as a negative value to my config.xml as explained in suncalc.cpp.
When linknx starts it throws the following exception:
Could not convert "-1.67" to target type <ticpp.h@126>
initialisation failed: Interrupted system call
I compiled the latest CVS for my WRT. To make use of the new suncalc features I added my Western longitude as a negative value to my config.xml as explained in suncalc.cpp.
When linknx starts it throws the following exception:
Could not convert "-1.67" to target type <ticpp.h@126>
initialisation failed: Interrupted system call
config.xml entry: <location lon="-1.67" lat="MY.LAT"/>
What am I missing?
Regards,
Bernhard
Hi,
There is a bug in uclibc++ and the negative values stream parsing.
I submitted the following patch to uClibc++ author:
http://ouaye.net/linknx/other/uClibc++-istream-negative.patch
This patch is already included in the packages at:
http://www.ouaye.net/linknx/OpenWRT-...../uclibc++_0.2.2-1_mipsel.ipk
Regards,
Jean-François
Thanks Jean-François,
I recompiled uclibc++ with your patch and now it works like a dream.
Cheers,
Bernhard