I have been pulling my hair out trying to figure out this error when using ld
I have got all the right #include files in edges.c so those undefined symbols are looking mysterious.Code:> gcc -fPIC -c edges.c > gcc -fPIC -c bfunctions.c > ld -bundle -t -o edges.so edges.o bfunctions.o ld: Pass 1 edges.o bfunctions.o ld: Undefined symbols: ___sF _atof _fclose _fopen _fprintf _memcpy _perror _printf _strcat dyld_stub_binding_helper
I have done this process before, making a Mach-0 "bundle" but today it is coming up with these errors. Is there somewhere I should look -- source files? gcc options? -- to resolve this headache? Has it got to do with using more than one object file?
Gracias for the help.