Ask a Question related to FreeBSD, Design and Development.
-
Mark Jayson Alvarez #1
Is there a file where I can specify the location of my header files??(like that of ld.so.hints)
Hi,
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
it.
#find / -name errno.h -print
/usr/include/sys/errno.h
/usr/include/sys/syslog.h
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 ld-elf.so.hints and ld.so.hints that contains
the directory where my libraries can be found?
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
[url]http://promotions.yahoo.com/new_mail[/url]
Mark Jayson Alvarez Guest
-
header('location:
Hello in the understanding code yesyes is shown on the screen but www.nu.nl is not activated. Does anybode know why thanks Frank <?... -
#26092 [Opn->Bgs]: header location utf-8
ID: 26092 Updated by: moriyoshi@php.net Reported By: a_s at seznam dot cz -Status: Open +Status: ... -
#26092 [NEW]: header location utf-8
From: a_s at seznam dot cz Operating system: WinXP,Win2003Server-Web PHP version: 4.3.2 PHP Bug Type: HTTP related Bug... -
Re[2]: [PHP] Location referer header
Hi, Anybody have any sugestion how to pass this data. My only idea is something like this. redir.php?url=www.somehost.com&q=test&pos=1 ... -
header location newbie
Hi, I'm doing a relative URL redirect using this: <? header("Location: ../research/index.php?current=34"); ?> -
Mark Jayson Alvarez #2
Is there a file where I can specify the location of my header files??(like that of ld.so.hints)
Hi,
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
it.
#find / -name errno.h -print
/usr/include/sys/errno.h
/usr/include/sys/syslog.h
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 ld-elf.so.hints and ld.so.hints that contains
the directory where my libraries can be found?
__________________________________
Do you Yahoo!?
Yahoo! Mail - 250MB free storage. Do more. Manage less.
[url]http://info.mail.yahoo.com/mail_250[/url]
Mark Jayson Alvarez Guest
-
Simon Barner #3
Re: Is there a file where I can specify the location of my header files??(like that of ld.so.hints)
Mark Jayson Alvarez wrote:
Hmm, please test whether you can compile the following C program:> Hi,
> 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
> it.
>
> #find / -name errno.h -print
> /usr/include/sys/errno.h
> /usr/include/sys/syslog.h
>
> 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 ld-elf.so.hints and ld.so.hints that contains
> the directory where my libraries can be found?
#include <stdio.h>
int main (int argc, char *argv[]) {
printf ("Hello, Mark!\n");
return 0;
}
Then compile it using: gcc -c hello.c
If it doesn't compile, something happened to your C compiler since
/usr/include should be searched automatically (i.e. without -I) by gcc.
If so, have a look at /etc/make.conf and also /etc/defaults/make.conf
(the latter one should not be modified!)
Simon
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)
iD8DBQFCHFH/Ckn+/eutqCoRAq9lAKCn6zm5P/w+kyc6fG2ISPo6/YIk0wCg/s0x
BqCGSZU/aSQRQcCHlLkAV8M=
=F/Mp
-----END PGP SIGNATURE-----
Simon Barner Guest



Reply With Quote

