I have the following in test.c
#include <stdio.h>
#include "stdfn.h"
int main(void)
{
printOut(10, "Hello, world!\n");
//bash("say hello world");
}
Source is here: https://github.com/KrasnayaSecurity/HydroCarbon
I get this error when I try to compile:
President-JohnHEden:HydroCarbon aleksandr$ gcc test.c -o test -Wall
Undefined symbols for architecture x86_64:
"_printOut", referenced from:
_main in test-134873.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)