Perhaps you're trying to build the current msp430-libc with mspgcc-3.2.3?  I
don't think that will work.

Use "yum remove" to remove all the mspgcc packages you installed with yum,
then start a fresh build of mspgcc4 from the tar bundle on the mspgcc4
site.  It will download and build the correct corresponding msp430-libc
along with binutils, gcc, and other tools you select.

Peter

On Tue, Mar 8, 2011 at 11:58 AM, Abhay sing <abay....@gmail.com> wrote:

> compiling any of the mspgcc-libc[20110213 ,20110130] results in an error
>
> [CODE]
> shell$ make all
>  msp430-gcc -c -mmcu=msp2 -I./../include/ti -I./../include -I.
> ./libm/ef_acos.c -o Build/msp2/ef_acos.o
> In file included from libm/fdlibm.h:16,
>                 from libm/ef_acos.c:16:
> ../include/math.h:73:1: directives may not be used inside a macro argument
> ../include/math.h:72:26: unterminated argument list invoking macro
> "_PARAMS"
> In file included from libm/fdlibm.h:16,
>                 from libm/ef_acos.c:16:
> ../include/math.h:73: syntax error before "_PARAMS"
> ../include/math.h:78: syntax error before ')' token
> ../include/math.h:163:1: directives may not be used inside a macro argument
> ../include/math.h:162:26: unterminated argument list invoking macro
> "_PARAMS"
> ../include/math.h:163: syntax error before "_PARAMS"
> ../include/math.h:168: syntax error before ')' token
> make[1]: *** [Build/msp2/ef_acos.o] Error 1
> make[1]: Leaving directory
> `/home/abhay/tech/tmp/msp430/msp430-libc-ti_20110213/src'
> make: *** [build-multilib] Error 2
> [/CODE]
>
> and after that, when i try to install i get the following error
> [CODE]
> shell$ make install
> make[1]: *** [Build/msp1/ef_acos.o] Error 1
> make[1]: Leaving directory
> `/home/abhay/tech/tmp/msp430/msp430-libc-ti_20110213/src'
> make[1]: Entering directory
> `/home/abhay/tech/tmp/msp430/msp430-libc-ti_20110213/src'
> install -c -m644 Build/msp2/libc.a /usr/local/msp430/msp430/lib/msp2/
> msp430-gcc -c  -I./../include/ti -I./../include -I. ./libm/ef_acos.c -o
> Build/msp2/ef_acos.o
> In file included from libm/fdlibm.h:16,
>                 from libm/ef_acos.c:16:
> ../include/math.h:73:1: directives may not be used inside a macro argument
> ../include/math.h:72:26: unterminated argument list invoking macro
> "_PARAMS"
> In file included from libm/fdlibm.h:16,
>                 from libm/ef_acos.c:16:
> ../include/math.h:73: syntax error before "_PARAMS"
> ../include/math.h:78: syntax error before ')' token
> ../include/math.h:163:1: directives may not be used inside a macro argument
> ../include/math.h:162:26: unterminated argument list invoking macro
> "_PARAMS"
> ../include/math.h:163: syntax error before "_PARAMS"
> ../include/math.h:168: syntax error before ')' token
> make[1]: *** [Build/msp2/ef_acos.o] Error 1
> make[1]: Leaving directory
> `/home/abhay/tech/tmp/msp430/msp430-libc-ti_20110213/src'
> make: *** [install-multilib] Error 2
> [/CODE]
>
>
>
> i am working on fedora-14 x64 bit system, i have successfully installed the
> mspgcc through yum but the current mspgcc-libc[mspgcc-3.2.3] does not
> support msp430f551x series,and i need it for my college project. thats why
> i
> need to install mspgcc4 in order to compile my code for msp430f5510.
>
> COULD some one please help me in compiling mspgcc-libc.  I would be very
> gratefull.
>
> Thanx
>
>
> ------------------------------------------------------------------------------
> What You Don't Know About Data Connectivity CAN Hurt You
> This paper provides an overview of data connectivity, details
> its effect on application quality, and explores various alternative
> solutions. http://p.sf.net/sfu/progress-d2d
> _______________________________________________
> Mspgcc-users mailing list
> Mspgcc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>
>
------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to