<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forums.obdev.at/app.php/feed/topic/2088" />

	<title>Objective Development Forums</title>
	
	<link href="https://forums.obdev.at/index.php" />
	<updated>2009-01-21T19:43:08+02:00</updated>

	<author><name><![CDATA[Objective Development Forums]]></name></author>
	<id>https://forums.obdev.at/app.php/feed/topic/2088</id>

		<entry>
		<author><name><![CDATA[christian]]></name></author>
		<updated>2009-01-21T19:43:08+02:00</updated>

		<published>2009-01-21T19:43:08+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=2088&amp;p=7610#p7610</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=2088&amp;p=7610#p7610"/>
		<title type="html"><![CDATA[problems occur when compile]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=2088&amp;p=7610#p7610"><![CDATA[
Make sure that C code in any of the headers (and includes of headers with C code) are in an #ifndef __ASSEMBLER__. The assembler module includes some of the header files, but the assembler can't understand C syntax, of course.<p>Statistics: Posted by <a href="https://forums.obdev.at/memberlist.php?mode=viewprofile&amp;u=8">christian</a> — Wed Jan 21, 2009 7:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2009-01-08T20:26:45+02:00</updated>

		<published>2009-01-08T20:26:45+02:00</published>
		<id>https://forums.obdev.at/viewtopic.php?t=2088&amp;p=7442#p7442</id>
		<link href="https://forums.obdev.at/viewtopic.php?t=2088&amp;p=7442#p7442"/>
		<title type="html"><![CDATA[problems occur when compile]]></title>

		
		<content type="html" xml:base="https://forums.obdev.at/viewtopic.php?t=2088&amp;p=7442#p7442"><![CDATA[
Hello,<br /><br />I had modify some codes in usbdrv.c, but when I compile the project, errors occur as follow:<br /><br />avr-gcc  -mmcu=atmega64 -mmcu=atmega64 -Wall -gdwarf-2   -DF_CPU=18432000UL -Os -fsigned-char -MD -MP -MT usbdrvasm.o -MF dep/usbdrvasm.o.d  -x assembler-with-cpp -Wa,-gdwarf2 -c  ../usbdrvasm.S<br />d:/program files/atmel/winavr/bin/../avr/include/stdint.h: Assembler messages:<br />d:/program files/atmel/winavr/bin/../avr/include/stdint.h:116: Error: unknown opcode `typedef'<br />d:/program files/atmel/winavr/bin/../avr/include/stdint.h:117: Error: unknown opcode `typedef'<br />...<br /><br />Problems may be origin from the *.S file. It seems that it has include header files such as &lt;avr/io.h&gt;,, however  the compiler fails to recognize the C key word.<br /><br />My C code in usbdrv.c is OK, for it can be successfully compiled independently. And all the assembly files have not been modified. It's strange. Could you be possible to figure out where the fault might be? I am anxiously waiting for help.<br /><br />Thank you.<p>Statistics: Posted by Guest — Thu Jan 08, 2009 8:26 pm</p><hr />
]]></content>
	</entry>
	</feed>
