I have this:
inline void ololo(int a) {
printf(a);
}
int main() {
int b = 100;
ololo(b);
}
When I try to build program with gcc filename.c
, I get this error message:
/tmp/ccJovQFR.o: In function `main':
trololo.c:(.text+0x3b): undefined reference to `ololo'
collect2: error: ld returned 1 exit status