Hello,
when i compile with xlc on aix i got the error message "ld: 0711-317 ERROR: Undefined symbol: .hello"
dummy.pc:
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "dummy.h"
int main ( )
{
printf("\nbefore Hello");
hello();
printf("\npast Hello");
return (0);
}
hello.c:
void hello()
{
printf("Hello World!");
}
dummy.h:
void hello(void);
can anyone help me, please?
Daniel
sorry for any grammatical mistakes but i 'm not really good in english.