title: Calling function within C++ classs not working
body: <p>I have been working on this simply hobbyist OS, and I have decided to add some C++ support. Here is the simple script I wrote. When I compile it, I get this message:</p>
  <pre class="lang-none prettyprint-override"><code>cp.o: In function `caller':
  test.cpp:(.text+0x3a): undefined reference to `__stack_chk_fail'
  </code></pre>
  <p>Here is the script:</p>
  <pre><code>class CPP {
      public:
          int a;
          void test(void);
  };
  
  void CPP::test(void) {
      // Code here
  }
  
  int caller() {
      CPP caller;
      caller.test();
      return CPP.a;
  }
  </code></pre>