Freaky FreeBSD, now with LSD …

So I'm still working on this project for a client. I have the program done, I just need to recompile it for their platform, FreeBSD. [1] No big deal, it's UNIX, right?

So I move over the two parts of the program, a library I wrote, and the main program. The library compiles fine. No problem. I then go to compile the program.

$ make
gcc -I ../lib/src -DUNIX -DFREEBSD -g -c -o obj/calclog.o src/calclog.c
gcc: src/calclog.c: No such file or directory
gcc: No input files specified


Stop.
$


Odd, I think. What's going on?

$ ls -l src/calclog.c
-rw-r--r--  1 admin  admin  3620 Jun  5 15:39 src/calclog.c
$

It's there. Let me try it by hand …

$ gcc -I ../lib/src -DUNIX -DFREEBSD -g -c -o obj/calclog.o src/calclog.c
$ ls -l obj/calclog.o
-rw-r--r--  1 admin  admin  3364 Jun  5 21:37 calclog.o
$

Okay, now I'm stumped.

[1] http://www.freebsd.org/

Gemini Mention this post

Contact the author