Undefined symbols from ld? ; making bundle; gcc 3.3
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.
> gcc -fPIC -c edges.c
> gcc -fPIC -c bfunctions.c
> ld -bundle -t -o edges.so edges.o bfunctions.o
ld: Pass 1
ld: Undefined symbols:
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.