Dunno; I haven't tried that environment. Possibly you're missing a prerequisite package. I generally run the following command on new ubuntu builds, though it's certainly got things you won't need:
apt-get install -y \ emacs build-essential checkinstall \ git git-core texinfo \ file patch perl python autoconf automake autotools-dev \ dh-make debhelper devscripts fakeroot gnupg xutils-dev \ lintian pbuilder patchutils \ ncurses-dev libz-dev tk8.4-dev It's probably safe to build from the git repository (as long as you pick the right branch: next and master should be ok), but it might be better to use the source tar file for 20110213, which has been validated. Peter On Mon, Feb 28, 2011 at 2:56 AM, Aslak Johansen <[email protected]> wrote: > Hello, > > I'm trying to get a mspgcc4 toolchain for the msp430f5437 for use on a > x86_64 running ubuntu 10.10. I am aware of the > https://launchpad.net/~msp430-development-daily apt-repository, but it > does > not include a msp430-libc package. > > I have thus resorted to building from git, but the procedure fails. The > output (see below) refers to some bfd_* names which seems to be out of > reach > of gcc. > > Can anyone offer some insight as to what goes wrong? > > Best Regards, > Aslak > > git clone git://mspgcc4.git.sourceforge.net/gitroot/mspgcc4/mspgcc4 > <...> > aslak@infaustus:/tmp/mspgcc4$ ./buildgcc.pl > <...> > libtool: compile: gcc -DHAVE_CONFIG_H -I. > -I/tmp/mspgcc4/build/binutils-2.21-build/../binutils-2.21/bfd -I. > -I/tmp/mspgcc4/build/binutils-2.21-build/../binutils-2.21/bfd > -I/tmp/mspgcc4/build/binutils-2.21-build/../binutils-2.21/bfd/../include > -DHAVE_bfd_elf32_msp430_vec -DHAVE_bfd_elf32_little_generic_vec > -DHAVE_bfd_elf32_big_generic_vec -DBINDIR=\"/opt/msp430-gcc-4.4.5/bin\" -W > -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -g -O2 -MT > archures.lo -MD -MP -MF .deps/archures.Tpo -c > -DDEFAULT_VECTOR=bfd_elf32_msp430_vec > > "-DSELECT_VECS=&bfd_elf32_msp430_vec,&bfd_elf32_little_generic_vec,&bfd_elf32_big_generic_vec" > "-DSELECT_ARCHITECTURES=&bfd_msp430_arch" > /tmp/mspgcc4/build/binutils-2.21-build/../binutils-2.21/bfd/archures.c -o > archures.o > sh: bfd_msp430_arch: not found > sh: bfd_elf32_big_generic_vec: not found > sh: bfd_elf32_little_generic_vec,: not found > sh: bfd_elf32_msp430_vec,: not found > gcc: no input files > mv -f .deps/archures.Tpo .deps/archures.Plo > mv: cannot stat `.deps/archures.Tpo': No such file or directory > make[4]: *** [archures.lo] Error 1 > make[4]: *** Waiting for unfinished jobs.... > mv -f .deps/archive.Tpo .deps/archive.Plo > make[4]: Leaving directory `/tmp/mspgcc4/build/binutils-2.21-build/bfd' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory `/tmp/mspgcc4/build/binutils-2.21-build/bfd' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/tmp/mspgcc4/build/binutils-2.21-build/bfd' > make[1]: *** [all-bfd] Error 2 > make[1]: Leaving directory `/tmp/mspgcc4/build/binutils-2.21-build' > make: *** [all] Error 2 > sh do-binutils.sh "/opt/msp430-gcc-4.4.5" "2.21" "http://ftp.uni-kl.de" > "build" exited with status code 2. > Failed to execute sh do-binutils.sh "/opt/msp430-gcc-4.4.5" "2.21" " > http://ftp.uni-kl.de" "build" at ./buildgcc.pl line 248. > aslak@infaustus:/tmp/mspgcc4$ > > aslak@infaustus:/tmp/mspgcc4$ ./do-libc.sh /opt/msp430-gcc-latest > <...> > install -c -m644 msp1/libm.a /opt/msp430-gcc-latest/msp430/lib/ > cp: cannot create regular file `/opt/msp430-gcc-latest/lib/libstdc++.a': No > such file or directory > aslak@infaustus:~/vcs/svn/mspgcc4$ > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT > data > generated by your applications, servers and devices whether physical, > virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Mspgcc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mspgcc-users > >
------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________ Mspgcc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mspgcc-users
