On Fri, 06 Apr 2007 17:15:08 +0200, Stefan Puchmann  
<[EMAIL PROTECTED]> wrote:

> Hi @ all,
>
> i have tried to follow the how-to
> (http://www.tuxisalive.com/documentation/how-to/updating-the-firmware)
> to upgrade the firmware of my tux-droid.
>
> I have successfully installed dfu-programmer-0.4.0 but I'm getting an
> error when I'm executing the make command from tuxup:
>
> [EMAIL PROTECTED]:/home/redeagle/download/tuxup-0.1.1# make
> gcc -lusb -g -Wall -o tuxup main.c bootloader.c usb-connection.c
> main.c: In function ‘check_hex_file’:
> main.c:194: error: ‘version_t’ has no member named ‘cpu_nbr’
> main.c:195: error: ‘version_t’ has no member named ‘ver_major’
> main.c: In function ‘prog_flash’:
> main.c:220: error: ‘version_t’ has no member named ‘cpu_nbr’
> main.c:225: error: ‘version_t’ has no member named ‘cpu_nbr’
> main.c:230: error: ‘version_t’ has no member named ‘cpu_nbr’
> main.c:235: error: ‘version_t’ has no member named ‘cpu_nbr’
> main.c:245: error: ‘version_t’ has no member named ‘ver_major’
> make: *** [tuxup] Fehler 1
>
> Have I done anything wrong?
>
> Regards,
> Stefan

Got tuxup from svn?

SVN is broken when you fetch old revisions or tags. I changed both tuxup  
and the external commands.h at a certain time, but now when you update to  
an old revision or checkout a tag, you get the current externals and not  
the ones that were available at that time thus the problem you get. So you  
should better download the trunk which compiles just fine normally, or  
update the externals with the same revision number as tuxup (they're on  
the same repository luckily).

Anyone has a suggestion on how to handle this? Should I remove the  
externals when I do a tag and replace with the files directly so they  
won't get changed? Or any other suggestion? Working with the same set of  
files at different places and keeping them in sync manually was difficult  
to maintain, that's how I started with before adding externals.

david


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
tux-droid-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-user

Reply via email to