Re: [tuxdroid-user] Problem during installing TuxUp-1.1.0
Status: Beta
Brought to you by:
ks156
From: David B. <da...@ja...> - 2007-04-06 16:13:11
|
On Fri, 06 Apr 2007 17:15:08 +0200, Stefan Puchmann <ste...@fh...> 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: > > root@redeagle-laptop:/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 |