I've been programming on DOS for a while, but I'm pretty new to the unix
side, "make" etc.
I'm on a BSDI 4.0 machine.
I'm trying to use GCC to compile PDFlib,
I've #defined the POSIX variable that seems to be required for a UNIX
I've done "ln -s makefile.gcc makefile" (seems okay)
and "make test"
This is the result:
gcc -o text2pdf libpdf.a -lm
/usr/lib/crt1.o: In function `__start':
/usr/lib/crt1.o(.text+0x78): undefined reference to `main'
*** Error code 1
I've looked at text2pdf.c, and it DOES have a reference to "main"
What could be wrong?