On 1/10/07, <b class="gmail_sendername">IOhannes m zmoelnig</b> &lt;<a href="mailto:zmoelnig@iem.at">zmoelnig@iem.at</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hi.<br><br>first off: please _always_ reply to the pd-list and not just me; the<br>list is not just a way to get into contact with others, but also a way<br>to learn things &quot;passively&quot; (e.g. by lurking on the list or by reading
<br>the archives)...</blockquote><div><br># Sorry, I used to use my bands google groups mail-list and there when I click reply the mail is sent to the list, not the individual I&#39;m replying. I did&#39;nt realized that I was not sending to the list. Next time I&#39;ll pay attention to whom I sent and select reply-all.
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">ok, unfortunately your make excerpt didn&#39;t tell me enough, since you<br>should have done a &quot;make clean&quot; before. (only the linking stage is
<br>executed since the compilation of additive~.o is already up-to-date).</blockquote><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">miller&#39;s pd is compiled with M$VC-6 (i think), you have to tell gcc that
<br> you are linking against such library.<br><br>try to use the &quot;-mms-bitfields&quot; cflag to gcc when _compiling_ your external.<br>and tell us what happens.</blockquote><div><br># I select clean in the project menu. This time there is a new line in the make excerpt.
<br><br>Compiler: Default compiler<br>Building Makefile: &quot;C:\Dev-Cpp\Projects\pdexternal\Makefile.win&quot;<br>Executing&nbsp; make...<br><span style="background-color: rgb(255, 255, 51);">mingw32-make -f &quot;C:\Dev-Cpp\Projects\pdexternal\Makefile.win&quot; all
</span><br style="background-color: rgb(255, 255, 51);"><span style="background-color: rgb(255, 255, 51);">gcc.exe -c additive~.c -o additive~.o -I&quot;C:/music/pd.miller.40-2/src&quot;&nbsp; -mms-bitfields&nbsp; </span><br><br>dllwrap.exe
 --output-def libadditive.def --implib libadditive.a additive~.o&nbsp; -L&quot;C:/music/pd.miller.40-2/lib&quot; c:/music/pd.miller.40-2/bin/pd.lib&nbsp;&nbsp; -o additive.dll<br><br>dllwrap.exe: no export definition file provided.<br>Creating one, but that may not be what you want
<br><br>Execution terminated<br>Compilation successful<br><br># I think after adding -mms-bitfields flag to the compile command the strange error dissappeared! I saved, moved, created the [additive~] object many times, and it works as it supposed to be!
<br># Thank you very much!<br># What means this -mms-bitfields flag? I looked at the gcc&#39;s manual but it isn&#39;t in the list there.<br><a href="http://gcc.gnu.org/onlinedocs/gcc-3.4.6/gcc/Option-Summary.html#Option-Summary">
http://gcc.gnu.org/onlinedocs/gcc-3.4.6/gcc/Option-Summary.html#Option-Summary</a><br>-ugur-<br></div></div>