Linking error when Calling a C header file
<p>I am calling a C function from a header file I wrote in Qt written in Cpp. I keep getting a linking error when I try to compile my Qt Application.</p>

<p>here is the header file:</p>

<pre><code>#ifndef GROUND_SERVER_H
#define GROUND_SERVER_H


#ifdef __cplusplus
extern "C" {
#endif

struct system_info{
    char id[33];
};

/*  Support function for the below function */
    void Generate_Key(char*,char*,char*);

/*  Runs the actual key generation as well as 
    moves the file to the respectful card or
    USB drive inserted in the system that will
    act as the user system key  */ 
void run_key_generation(struct system_info*,char*,char*);

/*  Function to run the server on a selected 
    port at which the medium that the server 
    is to listen on will be connected.  */
void run_server(unsigned short);

void generate_id();

#ifdef __cplusplus
};
#endif


#endif
</code></pre>