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
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion
On 15.03.2012 19:55, Edward Bartnik wrote:
> udpthread.cpp: In member function ‘virtual void* CUdpThread::Entry()’:
> udpthread.cpp:155: error: cast from ‘DISCOVERY_TELE*’ to ‘int’ loses
> precision
nutdisc is not really required. Unfortunately there is no alternative
like with nutconf (wxWidget) and qnutconf (Qt), because I didn't manage
to set up automake for qnutdisc.
You may try to replace
event.SetInt((int)dist);
with
event.SetInt((int)(intptr_t)dist);
which is ugly but may work.
Regards,
Harald
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion
> nutdisc is not really required. Unfortunately there is no alternative
> like with nutconf (wxWidget) and qnutconf (Qt), because I didn't manage
> to set up automake for qnutdisc.
Shall I create a automake setup like for the other tools?
I could do so tomorrow. Please give me a short note whenever you need
support with automake.
Bye,
Ole
--
Thermotemp GmbH, Embedded-IT
Embedded Hard-/ Software and Open Source Development,
Integration and Consulting
Geschäftsstelle Siegen - Steinstraße 67 - D-57072 Siegen -
tel +49 (0)271 5513597, +49 (0)271-73681 - fax +49 (0)271 736 97
Hauptsitz - Hademarscher Weg 7 - 13503 Berlin
Tel +49 (0)30 4315205 - Fax +49 (0)30 43665002
Geschäftsführer: Jörg Friedrichs, Ole Reinhardt
Handelsregister Berlin Charlottenburg HRB 45978 UstID DE 156329280
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion
On 18.03.2012 21:01, Ole Reinhardt wrote:
>> nutdisc is not really required. Unfortunately there is no alternative
>> like with nutconf (wxWidget) and qnutconf (Qt), because I didn't manage
>> to set up automake for qnutdisc.
>
> Shall I create a automake setup like for the other tools?
> I could do so tomorrow. Please give me a short note whenever you need
> support with automake.
Yes, would be great if you could take over the qnutdisc configuration
for automake.
Thanks,
Harald
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion
> Yes, would be great if you could take over the qnutdisc configuration
> for automake.
80% are just done :) Just need the time to do a last test. Perhaps I'll
find the time tonight.
> > Shall I create a automake setup like for the other tools?
> > I could do so tomorrow. Please give me a short note whenever you need
> > support with automake.
>
> Yes, would be great if you could take over the qnutdisc configuration
> for automake.
I just checked in the automake support for qnutdisc to trunk.