avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] Problem with WinAVR


From: Jimmy Shen
Subject: [avr-gcc-list] Problem with WinAVR
Date: Thu, 15 Apr 2004 17:06:32 -0700

Hi,

I am getting an error whenever I run 'Make' on WinAvr. The error listed is this:

-----------------------------------------------------------------------------------

C:\gyrobot\GCC>SET PATH=C:\WINAVR\UTILS\BIN;C:\WINAVR\BIN;c:\winavr\lib\gcc-lib\avr\3.3.1;C:\WinAVR\bin;C:\WinAVR\utils\bin;C:\WINNT\system32;C:\WINNT\system32\wbem;c:\progra~1\egcs\bin;c:\progra~1\pscad308\bin\ffilter;c:\isptools\ispcomp\bin;c:\jdk1.2.2;C:\WINNT;c:\matlabr12\bin\win32;C:\SYNAPT~1;C:\SYNAPT~1/bin

C:\gyrobot\GCC>set AVRX=c:\avrx-dev

C:\gyrobot\GCC>set AVR=c:\winavr

C:\gyrobot\GCC>make
avr-gcc -c gyroBot.c -I. -Ic:\avrx-dev/avrx -Ic:\winavr/avr/include -Os -Wall -g -mmcu=at90s8535 -o GyroBot.o
gyroBot.c:33: warning: return type of `main' is not `int'
as: unrecognized option `-cu=at90s8535'
make: *** [GyroBot.o] Error 1

Process Exit Code: 2
-----------------------------------------------------------------------------------------------------------------------------

For some reason it is truncating the 'mm' and I'm not sure why. This is running under Windows 2000 Build: 2195

I've tried the installation and 'Make' on three separate computers and am getting this error. The files, however, do compile successfully under Windows 95 and Window XP. I'v also gotten to work n Windows 2000 (perhaps different build). So I am a little baffled as to why I am getting these errors on the Win 2000 school computers (perhaps older build?). The makefile was not changed in any way from 95/XP to the 2000 machines at school.

Does anyone have any suggestions on what I can do to solve this problem? Any help would be appreciated.

Thanks,

Jimmy

_________________________________________________________________
Check out MSN PC Safety & Security to help ensure your PC is protected and safe. http://specials.msn.com/msn/security.asp



reply via email to

[Prev in Thread] Current Thread [Next in Thread]