Hi Jean-François,
I'm trying to make a .deb file on my ARM device:
# dpkg-buildpackage -rfakeroot ... ObjectTest.cpp:2773:Assertion Test name: ObjectTest::testString14Object expected exception not thrown - Expected: ticpp::Exception Failures !!! Run: 130 Failure total: 1 Failures: 1 Errors: 0 FAIL: testmain ================================= 1 of 1 test failed Please report to linknx@ouaye.net ================================= make[3]: *** [check-TESTS] Error 1 make[3]: Leaving directory `/root/packaging/linknx/linknx-0.0.1.28/test' make[2]: *** [check-am] Error 2 make[2]: Leaving directory `/root/packaging/linknx/linknx-0.0.1.28/test' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/root/packaging/linknx/linknx-0.0.1.28' dh_auto_test: make -j1 check returned exit code 2 make: *** [build] Error 29 dpkg-buildpackage: error: debian/rules build gave error exit status 2
What can I do?
Thanks.
Kind Regards, Ben
Hi,
This problem can be solved by replacing the following line in file src/objectcontroller.cpp: if (*it < 0) by if (*it < 0 || *it > 127)
The error was due to the fact that "char" type is signed on PC but is unsigned on ARM.
Bugfix is commited in CVS.
Jean-François
Thank you very much Jean-François!
Best Regards, Ben
Log in to post a comment.
Hi Jean-François,
I'm trying to make a .deb file on my ARM device:
What can I do?
Thanks.
Kind Regards,
Ben
Hi,
This problem can be solved by replacing the following line in file src/objectcontroller.cpp:
if (*it < 0)
by
if (*it < 0 || *it > 127)
The error was due to the fact that "char" type is signed on PC but is unsigned on ARM.
Bugfix is commited in CVS.
Jean-François
Thank you very much Jean-François!
Best Regards,
Ben