title: ImportError: dynamic module does not define init function (initfizzbuzz)
body: <p>I tried to compile <code>fizzbuzz.c</code>, in order to import it by python. For building <code>fizzbuzz.c</code>,I used <code>python setup.py build_ext -i</code>.</p>
  
  <p>After building it, I tried to import <code>fizzbuzz.c</code> but the error below occurred.
  How can I solve this problem ?</p>
  
  <h3>Error</h3>
  
  <pre><code>&gt;&gt;&gt; import fizzbuzz
  Traceback (most recent call last):
    File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  ImportError: dynamic module does not define init function (initfizzbuzz)
  </code></pre>
  
  <h3>fizzbuzz.c</h3>
  
  <pre><code>#include &lt;stdio.h&gt;
  
  void fizzbuzz(int n){
  
      for (int i=1; i &lt;= n; i++){
          if (i % 3 == 0 &amp;&amp; i % 5 ==0){
              printf("fizzbuzz %d \n", i);
          }
          else if (i % 3 == 0){
              printf("fizz %d \n", i);
          }
          else if(i % 5 == 0){
              printf("buzz %d \n", i);
          }
      }
  }
  </code></pre>
  
  <h3>setup.py</h3>
  
  <pre><code>from distutils.core import setup, Extension
  module = Extension('fizzbuzz', ['fizzbuzz.c'])
  setup(
        name='fizzbuzz',
        version='1.0',
        ext_modules=[module],
  )
  </code></pre>