Is there a file where I can specify the location of my header files??(like that of

Mark Jayson Alvarez jay2xra at
Wed Feb 23 01:56:42 GMT 2005

  I think I did something horrible with my machine. I
cannot complete a "make" anywhere in ports. For
example, I'm compiling iperf and got this error.

headers.h:82:19: errno.h: No such file or directory
headers.h:139:24: syslog.h: No such file or directory

I used find to search for these files and I did find

#find / -name errno.h -print

Whenever I'm compiling a c program, I learned that I
can pass a -I<directory> to the gcc, but I don't know
how to do it in ports. Is there a file where in I can
specify where my include files can be found, like that
of the and that contains
the directory where my libraries can be found?

Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we.

More information about the freebsd-questions mailing list