I am getting the following error when compiling swig interface file

Here is my .i file

A.i
%module osgapp
%{
#include <osg/Referenced>
using namespace osg;
%}
%import "A.h"
A.h
#include <osg/Referenced>
class AA: public osg::Referenced {
int data;
};

--
Regards,
   Rashad