[En-Nut-Discussion] Installation problem with ethernut-5.0.2 on Debian

Edward Bartnik ebart at poczta.onet.pl
Thu Mar 15 19:55:52 CET 2012


I've tried to make full installation of ethernut-5.0.2 on Debian 6.0.4. 
Version of gcc and g++ is 4.4.5.
make for Nut/OS issued the folloing error

Making install in nut/tools/nutdisc
make[1]: Enter to directory 
`/home/eb/ethernut/ethernut-5.0.2/nut/tools/nutdisc'
Making install in src
make[2]: Enter to directory 
`/home/eb/ethernut/ethernut-5.0.2/nut/tools/nutdisc/src'
CXX nutdisc-udpthread.o
udpthread.cpp: In member function ‘virtual void* CUdpThread::Entry()’:
udpthread.cpp:155: error: cast from ‘DISCOVERY_TELE*’ to ‘int’ loses 
precision
make[2]: *** [nutdisc-udpthread.o] Error 1
make[2]: Leaving directory 
`/home/eb/ethernut/ethernut-5.0.2/nut/tools/nutdisc/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory 
`/home/eb/ethernut/ethernut-5.0.2/nut/tools/nutdisc'
make: *** [install-recursive] Error 1

Line 155 of udpthread.cpp is

event.SetInt((int)dist);

dist is of type DISCOVERY_TELE*
After that I've done make install.
In /usr/local/bin there is no nutdisc. crurom, nutconfigure, qnutconf 
and nutconf are there.
I'll be very graceful for any advice how to resolve that problem.

Regards,
Edward Bartnik



More information about the En-Nut-Discussion mailing list