(Outdated) Script for building AVR-GCC 4.5.1 on Linux

Go To Last Post
343 posts / 0 new

Pages

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Guyzz i have made an interrim version to fix the patch problem.
I apply 2 new patches to binutils , but i'm not 100% sure that they are production ready , and i cant seem to get hold of jörg.

But here it comes :-)

From the included Readme file

Quote:

Start by reading this thread http://www.avrfreaks.net/index.p...
Or at least the first post.

This build is an interim version , to fix some patch problems with binutils.

It is almost 100% like the gcc4.2.2-libc1.6.2 from the top of the sticky script on freaks.

It has 2 new patches applied to binutils 2.1.8

patch-bug5523 <--------- New
patch-data-origin <--------- New

patch-xmega <--------- New , but fails miserably , and isn't commited yet. So this patch is not applyed

And it automaticly builds avarice-2.8 and avrdude-5.5
avr-insight has its own buildscript (buildinsight.sh) , as it takes ages to build.

All files are installed into /usr/local/avr/ , and one can delete the source & build directorys afterwards to save 500MB+ diskspace

Please make sure to install the packets from pre-reqs.txt , before building the toolchain.

I have given the apt-get commands for Ubuntu in pre-reqs-txt.

Be sure to adapt them to any other linux distro.

/Bingo

Ohh ... extract the file with : tar xvzf

/Bingo

Attachment(s): 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello,

I tried to build avr-gcc on my Ubuntu 8.04 (x86_64) box. The
buildavr-no-insight.sh script works fine but the buildinsight.sh script stops with the following output:

/usr/local/avr/source/insight-6.7.1/itcl/itcl/generic \
         -I/usr/local/avr/source/insight-6.7.1/tcl/generic -I/usr/local/avr/source/insight-6.7.1/tk/generic     \
         ../../../source/insight-6.7.1/gdb/gdbtk/generic/gdbtk-register.c \
        -DGDBTK_LIBRARY=\"/usr/local/avr/share/insight1.0\"
cc1: warnings being treated as errors
../../../source/insight-6.7.1/gdb/gdbtk/generic/gdbtk-register.c: In function ‘get_register_name’:
../../../source/insight-6.7.1/gdb/gdbtk/generic/gdbtk-register.c:348: warning: cast from pointer to integer of different size
make[2]: *** [gdbtk-register.o] Error 1
make[2]: Leaving directory `/usr/local/avr/build/insight-6.7.1/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory `/usr/local/avr/build/insight-6.7.1'
make: *** [all] Error 2
(./buildinsight.sh) insight build failed (0)

Has anyone an idea why it fails?

Is it possible to only build gdb without insight?

I've retried it without success, attached the build log.

Regards, Gilles

Attachment(s): 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

roodemol wrote:
Hello,

I tried to build avr-gcc on my Ubuntu 8.04 (x86_64) box. The
buildavr-no-insight.sh script works fine but the buildinsight.sh script stops with the following output:

/usr/local/avr/source/insight-6.7.1/itcl/itcl/generic \
         -I/usr/local/avr/source/insight-6.7.1/tcl/generic -I/usr/local/avr/source/insight-6.7.1/tk/generic     \
         ../../../source/insight-6.7.1/gdb/gdbtk/generic/gdbtk-register.c \
        -DGDBTK_LIBRARY=\"/usr/local/avr/share/insight1.0\"
cc1: warnings being treated as errors
../../../source/insight-6.7.1/gdb/gdbtk/generic/gdbtk-register.c: In function ‘get_register_name’:
../../../source/insight-6.7.1/gdb/gdbtk/generic/gdbtk-register.c:348: warning: cast from pointer to integer of different size
make[2]: *** [gdbtk-register.o] Error 1
make[2]: Leaving directory `/usr/local/avr/build/insight-6.7.1/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory `/usr/local/avr/build/insight-6.7.1'
make: *** [all] Error 2
(./buildinsight.sh) insight build failed (0)

Has anyone an idea why it fails?

Is it possible to only build gdb without insight?

I've retried it without success, attached the build log.

Regards, Gilles

It seems that they have made the new insight 6.8 , more 64-bit friendly

Get it from here
ftp://sourceware.org/pub/insight...

And correct the version number in the top of the buildinsight.sh script

Then rerun ./buildinsight.sh

If it works for you i'll corerct the scriptfiles to use the new insight 6.8 , but i don't have a 64-bit to test on.

So please report error/success

/Bingo

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello,

good news, insight 6.8 build without any problem on my computer.

Thanks for the support.

Gilles

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The script in the first post is now working again , and we have got Xmega support in avr-gcc.
I also updated avr-insight to ver 6.8 , and am also building avarice and avrdude.

The following devices are supported :
A snip from the command : avr-gcc --target-help

Known MCU names:
  avr1 avr2 avr3 avr31 avr35 avr4 avr5 avr51 avr6 avrxmega1 avrxmega2
  avrxmega3 avrxmega4 avrxmega5 avrxmega6 avrxmega7 at90s1200 attiny10
  attiny11 attiny12 attiny15 attiny28 at90s2313 at90s2323 at90s2333
  at90s2343 attiny22 attiny26 at90s4433 at90s4414 at90s4434 at90s8515
  at90s8535 at90c8534 at86rf401 attiny13 attiny2313 attiny261 attiny461
  attiny861 attiny24 attiny44 attiny84 attiny25 attiny45 attiny85
  attiny43u attiny48 attiny88 atmega603 atmega103 at43usb320 at43usb355
  at76c711 at90usb82 at90usb162 attiny167 atmega48 atmega48p atmega8
  atmega83 atmega85 atmega88 atmega88p atmega8515 atmega8535 atmega8hva
  at90pwm1 at90pwm2 at90pwm2b at90pwm3 at90pwm3b atmega16 atmega161
  atmega162 atmega163 atmega164p atmega165 atmega165p atmega168 atmega168p
  atmega169 atmega169p atmega32 atmega323 atmega324p atmega325 atmega325p
  atmega328p atmega329 atmega329p atmega3250 atmega3250p atmega3290
  atmega3290p atmega32hvb atmega406 atmega64 atmega640 atmega644
  atmega644p atmega128 atmega1280 atmega1281 atmega1284p atmega645
  atmega649 atmega6450 atmega6490 atmega16hva at90can32 at90can64
  at90can128 at90pwm216 at90pwm316 atmega32c1 atmega32m1 atmega32u4
  at90usb646 at90usb647 at90usb1286 at90usb1287 at94k atmega2560
  atmega2561 atxmega64a1 atxmega128a1

Be sure to read the readme.txt , and the pre-reqs.txt

/Bingo

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The download seems to be broken. :cry: Only 9.9 kB :shock:

Quote:
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error exit delayed from previous errors

... the only thing you cannot unscramble is eggs...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

wBoellmann wrote:
The download seems to be broken. :cry: Only 9.9 kB :shock:
Quote:
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error exit delayed from previous errors

Well the file is just 9.9 KB , as it is just the scripts.

I can confirm that the archive seems broken.
I will upload a new version.

But i think the contents is ok.

Strange ....

I have tried to extract the "local" .tar.gz file on 3 different Linux machines (2 Ubuntu , and a Centos) and they are ok.

But if i download and extract the tar.gz file from avrfreaks it fails , the extraction (on all 3).

The strange part is that neither WinZip nor WinRar complains about extraction , of the above file.

I wonder if Avr Freaks have a problem with tar.gz files ???
Could anyone else test by uploading/attaching a tar.gz file ?

Quote:
I added the archive as a WinZip file , and it seems to download & extract fine. So if extraction fails , use the zip archive.

/Bingo

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thank U :D

... the only thing you cannot unscramble is eggs...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Here is a link to build a portable avr-libc , on a linux machine
http://www.avrfreaks.net/index.p...

And a thread where the avr-gcc build process might be better described for a linux newbie
http://www.avrfreaks.net/index.p...

/Bingo

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hmm I think I used the script before a year+ ago, but now it "evolved" into something else.

Is there still a script that does the build without any frills ? I don't want Tk, I don't want tex, I don't want a graphical debugger (!) heck I don't want a debugger even ! And I certainly don't want that before I have a binutils/gcc toolchain working.

Has anyone documented the build process for "manual" build from the generic source file + patches ?

Author of simavr - Follow me on twitter : @buserror

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

@buserror

You don't need TK , if you skip the "insight" part,it's a separate build script.
You need texinfo , unless you can convince binutils not to build docs.

Avrdude and AVArice , is being build unless you hack the script , as per request of Jörg.

/Bingo

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Updated the 4.2.2 zipfile to build under Ubuntu 8.10

/Bingo

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hi.. i am trying to configure gcc to /home/local/avr but getting configure error while binutils has been configured and installed. plz help

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hi.. i am trying to configure gcc to /home/local/avr but getting configure error while binutils has been configured and installed. plz help

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

/home/local/avr is a strange path but ....

If you are using the scripts from this post , edit the scripts , and change the "Prefix" variable. To the path you would like.

Remember to be root or make sure the prefix path is writeable by your user

/Bingo

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Bingo600 wrote:
Updated the 4.2.2 zipfile to build under Ubuntu 8.10

/Bingo

I am running Ubuntu 8.10 and have avr-gcc 4.3.0 from the Ubuntu repositories. Does this script force a downgrade to 4.2.2?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

barney_1 wrote:
Bingo600 wrote:
Updated the 4.2.2 zipfile to build under Ubuntu 8.10

/Bingo

I am running Ubuntu 8.10 and have avr-gcc 4.3.0 from the Ubuntu repositories. Does this script force a downgrade to 4.2.2?

Yes this will install avr-gcc 4.2.2.

Don't run 2 avr gcc's at the same time.

If you use the script , then uninstall the ones you got from ubuntu , before using the script.

/Bingo

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

If you need avr-gcc 4.3.2 for linux (Ubuntu) , have a look here

http://www.avrfreaks.net/index.p...

/Bingo

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have avr-gcc and avr-libc installed on my opensuse system. ive tested that im able to compile a very basic program (making a led light up when a button is pressed). is there any reason i should ditch my current setup and install things this way?
and btw, totally new to this =)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Do you know the phrase "if it ain't broke don't fix it?" :lol:

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

so what you are saying is that this script wont give me anything i havent got already?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

...but don not ask the forum why your compiler can't build code for your new AVR controller :idea:

... the only thing you cannot unscramble is eggs...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hr_Pengesekk wrote:
so what you are saying is that this script wont give me anything i havent got already?
IIRC the patches allow some syntax that the generic build does not.
My recollection is that it is syntax that I use.

International Theophysical Year seems to have been forgotten..
Anyone remember the song Jukebox Band?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Note to any other newbies like me out there... if it fails after running the getfiles and patches scripts asking for a lib from binutils be sure to read the pre-reqs file and install the necessary packages.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

For building AVR-GCC 4.3.3 have a look here (or directly at the FemtoOS site http://www.femtoos.org/ )

http://www.avrfreaks.net/index.p...

/Bingo

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

avr-gcc-4.2.2 toolchain - Minor update

Quote:
Still using binutils-2.1.8 ,avr-gcc-4.2.2

But the script is updated to build : avr-libc-1.6.6 , avarice-2.10 and avrdude-5.6.

avr-insight is still ver 6.8 witch builds ok on 64-bit machines , and it has its own buildscript (buildinsight.sh) , as it takes ages to build.

Use: tar xvzf to extract it

Just ansver yes if any of the scripts says that /usr/local/avr exists.

But always delete /usr/local/avr before you are making a new version build.

/Bingo

Attachment(s): 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I am having a failure building from Debian Lenny (amd64).
The script fails while building avr-dude, the error has to do with yyin and yylex not defined.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks So much!
I need to compile for the atmega32u4

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

kscharf wrote:
I am having a failure building from Debian Lenny (amd64).
The script fails while building avr-dude, the error has to do with yyin and yylex not defined.

You are quite right , you prob need flex & bison.

Have a look in the Readme :wink:
Doesn't it say you need to install the deb packages mentioned in the prereq.txt file. :D

/Bingo

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Yes, I've installed flex and bison along with all the other prereq packages. I still get the error.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

kscharf wrote:
Yes, I've installed flex and bison along with all the other prereq packages. I still get the error.

That is strange ....

Could you post the full err mesgs ?

Or maybe this hint will work.
http://www.avrfreaks.net/index.p...

/Bingo

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Brad S.

Another avrfreak have made a script that builds avr-gcc 4.3.2 , w. WIN-Avr patches i think
It is untested by me , but the topic is here
http://www.avrfreaks.net/index.p...

/Bingo

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

If the last update to the patch is from 2008 then perhaps you should unstick this link until someone takes over current concurrency in the linux domain.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Just updated the "old" 4.2.2 script to build 4.2.4 w. full xmega support (per 20-jul-2006)
Well Jörg did all the patches i just adapted the script.

This will prob. be the last 4.2.x version , but 4.2.x sometimes creates more compact code than 4.3.x.

Known MCU names:
  avr1 avr2 avr25 avr3 avr31 avr35 avr4 avr5 avr51 avr6 avrxmega1
  avrxmega2 avrxmega3 avrxmega4 avrxmega5 avrxmega6 avrxmega7 at90s1200
  attiny11 attiny12 attiny15 attiny28 at90s2313 at90s2323 at90s2333
  at90s2343 attiny22 attiny26 at90s4414 at90s4433 at90s4434 at90s8515
  at90c8534 at90s8535 attiny13 attiny13a attiny2313 attiny24 attiny44
  attiny84 attiny25 attiny45 attiny85 attiny261 attiny461 attiny861
  attiny43u attiny48 attiny88 at86rf401 at43usb355 at76c711 atmega103
  at43usb320 attiny167 at90usb82 at90usb162 atmega8 atmega48 atmega48p
  atmega88 atmega88p atmega8515 atmega8535 atmega8hva at90pwm1 at90pwm2
  at90pwm2b at90pwm3 at90pwm3b atmega16 atmega161 atmega162 atmega163
  atmega164p atmega165 atmega165p atmega168 atmega168p atmega169
  atmega169p atmega32 atmega323 atmega324p atmega325 atmega325p atmega3250
  atmega3250p atmega328p atmega329 atmega329p atmega3290 atmega3290p
  atmega406 atmega64 atmega640 atmega644 atmega644p atmega645 atmega649
  atmega6450 atmega6490 atmega16hva at90can32 at90can64 at90pwm216
  at90pwm316 atmega16u4 atmega32c1 atmega32m1 atmega32u4 atmega32u6
  at90usb646 at90usb647 at94k atmega128 atmega1280 atmega1281 atmega1284p
  atmega128rfa1 at90can128 at90usb1286 at90usb1287 atmega2560 atmega2561
  atxmega64a3 atxmega64a1 atxmega128a3 atxmega256a3 atxmega256a3b
  atxmega128a1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I would like to thank everyone who has contributed to this effort. The results are wonderful. I had spent 3 days by hand attempting to do what your scripts did in several hours. It looks like everything has compiled and installed properly. I am able to compile and burn images to a 3290p device without issue.

The last remaining piece I have is an issue with avr-insight. It seems to have an issue with tk.tcl not being installed properly. I checked the directories it was searching and found the files there, but no such luck. Anyone else have an issue with tk.tcl?

Thanks,
John.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

The last remaining piece I have is an issue with avr-insight. It seems to have an issue with tk.tcl not being installed properly. I checked the directories it was searching and found the files there, but no such luck. Anyone else have an issue with tk.tcl?

I had exactly the same problem. As ddd rather than insight is my poison of choice anyway I just did an apt-get on that and used it as the front end to avr-gdb

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

@johnny_sako & Clawson

I have just been building the toolchain (4.3.3) on my WIND , and don't get this error.

I started by building avr-insight , and then the gcc-tooolchain.

The only thing i get an error with is: when i try to start avr-insight , being su'ed to root or another user.

avr:~$ avr-insight
Tk_Init failed: no display name and no $DISPLAY environment variable

avr:~$ export DISPLAY=localhost:0.0

avr:~$ avr-insight
Tk_Init failed: this isn't a Tk applicationcouldn't connect to display "localhost:0.0"

But if i start it as my "login" user it starts up wo. any errors .... But i dont specify anything on the cmd line besides avr-insight.

/Bingo

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Ah, that may explain it. I hate all this protection nonsense in Linux (now creeping into Windows too) so just as I always run as Administrator in Windows I always run as root in Linux. Having said that I actually installed and built the toolchain as root so I should be the "login user" for it anyway.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

@Cliff

By loginuser i mean the user logging in on/via the graphical login page (if ubuntu)
I think he is the one owning the "DISPLAY"

This is an X (graphics) problem (who owns the display i guess ??) not the toolchain or root issue.

/Bingo

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

@14-Jul-2009

Updated script to build avr-libc-1.6.7 and avrdude-5.8 , no change to avr-gcc.

/Bingo

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Updated the buildscripts to fix an avr architecture 25 relocation error
http://www.avrfreaks.net/index.p...

/Bingo

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Bingo, perhaps you should note that to download (and even see!) the scripts, you have to be registered and logged in. I always come to get the scripts when I am logged out and look aimlessly for the scripts for about a minute before realising I have to log in!

Math is cool.
jevinskie.com

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,
Thanks for this useful thread.
I got an error when compiling with ./buildavr-no-insight.sh on my system: the error is due to my version of gcc installed on my PC, version 4.4.1. I got an error with "const char *" instead of "char *" which stopped the compilation.

To solve it, I added a 'sed' instruction to /buildavr-no-insight.sh before the avarice compilation:

   sed -i '98s/jtagDeviceName/(char *)jtagDeviceName/g' ../../source/${avaricebase}/src/jtag2usb.cc
   echo "($0) configuring avarice source"

Olivier

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello again,
Is there any chance that the Xmega 192A3 is also a recognized device by avr-gcc ?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Once you have built your avr-gcc use "avr-gcc --target-help" to get a list of the supported devices.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Here is the list, there is no atxmega192A3:

Known MCU names:
  avr1 avr2 avr25 avr3 avr31 avr35 avr4 avr5 avr51 avr6 avrxmega1
  avrxmega2 avrxmega3 avrxmega4 avrxmega5 avrxmega6 avrxmega7 at90s1200
  attiny11 attiny12 attiny15 attiny28 at90s2313 at90s2323 at90s2333
  at90s2343 attiny22 attiny26 at90s4414 at90s4433 at90s4434 at90s8515
  at90c8534 at90s8535 attiny13 attiny13a attiny2313 attiny24 attiny44
  attiny84 attiny25 attiny45 attiny85 attiny261 attiny461 attiny861
  attiny43u attiny48 attiny88 at86rf401 at43usb355 at76c711 atmega103
  at43usb320 attiny167 at90usb82 at90usb162 atmega8 atmega48 atmega48p
  atmega88 atmega88p atmega8515 atmega8535 atmega8hva at90pwm1 at90pwm2
  at90pwm2b at90pwm3 at90pwm3b atmega16 atmega161 atmega162 atmega163
  atmega164p atmega165 atmega165p atmega168 atmega168p atmega169
  atmega169p atmega32 atmega323 atmega324p atmega325 atmega325p atmega3250
  atmega3250p atmega328p atmega329 atmega329p atmega3290 atmega3290p
  atmega406 atmega64 atmega640 atmega644 atmega644p atmega645 atmega649
  atmega6450 atmega6490 atmega16hva at90can32 at90can64 at90pwm216
  at90pwm316 atmega16u4 atmega32c1 atmega32m1 atmega32u4 atmega32u6
  at90usb646 at90usb647 at94k atmega128 atmega1280 atmega1281 atmega1284p
  atmega128rfa1 at90can128 at90usb1286 at90usb1287 atmega2560 atmega2561
  atxmega16a4 atxmega16d4 atxmega32d4 atxmega32a4 atxmega64a3 atxmega64a1
  atxmega128a3 atxmega256a3 atxmega256a3b atxmega128a1

Should I use this one ?

avrxmega6 - XMEGA, > 128K, <= 256K FLASH, <= 64K RAM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I'd just use atxmega256a3 (almost identical but for the code flash size) and just watch for the code size bursting 192K

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello everybody,
I just wanted to say a big Thank you to Bingo600 for his script, it worked flawless... :D

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Updated the

Quote:
This package contains the buildscripts and the patchfiles , for binutils-2.1.7 (w. the avr-size patch), avr-gcc-4.1.2 and avr-libc-1.46. Skip the get-patches.sh step , as the patches are included.

to include a makeinfo patch.

It now compiles correctly on my Ubuntu 8.04

/Bingo

Attachment(s): 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

obor00 wrote:
Hi,
Thanks for this useful thread.
I got an error when compiling with ./buildavr-no-insight.sh on my system: the error is due to my version of gcc installed on my PC, version 4.4.1. I got an error with "const char *" instead of "char *" which stopped the compilation.

To solve it, I added a 'sed' instruction to /buildavr-no-insight.sh before the avarice compilation:

   sed -i '98s/jtagDeviceName/(char *)jtagDeviceName/g' ../../source/${avaricebase}/src/jtag2usb.cc
   echo "($0) configuring avarice source"

Olivier

In response to this , and this thread http://www.avrfreaks.net/index.p...

I have made a new buildscript , witch incorporates a patch from Jörg.

Edit: 20-nov-2009 , removed the attached file
See the first post in this thread , for the newest version

Last Edited: Fri. Nov 20, 2009 - 04:32 PM

Pages