* * * * *

                        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 ]-----
$ 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
*** Error code 1

Stop.
$

-----[ END OF LINE ]-----

Odd, I think. What's going on?

-----[ shell ]-----
$ ls -l src/calclog.c
-rw-r--r--  1 admin  admin  3620 Jun  5 15:39 src/calclog.c
$
-----[ END OF LINE ]-----

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

-----[ shell ]-----
$ 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
$
-----[ END OF LINE ]-----

Okay, now I'm stumped.

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

Email author at [email protected]