PowerSwitch not compile in AVR Studio

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
selevo
Posts: 2
Joined: Sat Jul 30, 2011 4:56 pm

PowerSwitch not compile in AVR Studio

Post by selevo » Sat Jul 30, 2011 5:17 pm

PowerSwitch.2008-02-28
AVR studio 4.18

.......................................
Build started 30.7.2011 at 19:13:34
avr-gcc -mmcu=at90s2313 main.o -L"C:\main\usbdrv" -lC:\main\usbdrv\usbdrv -o main.elf
e:/winavr-20100110/bin/../lib/gcc/avr/4.3.3/../../../../avr/bin/ld.exe: cannot find -lC:mainusbdrvusbdrv
make: *** [main.elf] Error 1
Build failed with 1 errors and 0 warnings...

selevo
Posts: 2
Joined: Sat Jul 30, 2011 4:56 pm

Re: PowerSwitch not compile in AVR Studio

Post by selevo » Sat Jul 30, 2011 6:44 pm

now i delete string...
http://izhbazar.ru/download/file.php?id ... e=view.jpg

and now next errors;

rm -rf main.o main.elf dep/*
Build succeeded with 0 Warnings...
avr-gcc -I"C:\main\." -I"C:\main\usbdrv" -mmcu=at90s2313 -Wall -gdwarf-2 -std=gnu99 -DF_CPU=12000000UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -MD -MP -MT main.o -MF dep/main.o.d -c ../main.c
avr-gcc -mmcu=at90s2313 main.o -L"C:\main\usbdrv" -o main.elf
main.o: In function `main':
C:\main\default/../main.c:155: undefined reference to `usbInit'
C:\main\default/../main.c:159: undefined reference to `usbPoll'
main.o: In function `usbFunctionSetup':
C:\main\default/../main.c:90: undefined reference to `usbMsgPtr'
C:\main\default/../main.c:90: undefined reference to `usbMsgPtr'
make: *** [main.elf] Error 1
Build failed with 4 errors and 0 warnings...

And i viewing procmon ....
http://izhbazar.ru/download/file.php?id ... e=view.jpg

Post Reply