Date: Tue, 13 Mar 2001 03:45:41 -0800 From: Alfred Perlstein <bright@wintelcom.net> To: David Malone <dwmalone@maths.tcd.ie> Cc: Shankar Agarwal <shankar_agarwal@net.com>, bsd hackers <freebsd-hackers@FreeBSD.ORG> Subject: Re: Question regarding the funcation socket()... Message-ID: <20010313034541.R29888@fw.wintelcom.net> In-Reply-To: <20010313113426.A44321@walton.maths.tcd.ie>; from dwmalone@maths.tcd.ie on Tue, Mar 13, 2001 at 11:34:26AM %2B0000 References: <3AAD7114.A01DE452@net.com> <20010312171828.Q18351@fw.wintelcom.net> <3AAD79BB.F2B53814@net.com> <20010312175005.B29888@fw.wintelcom.net> <20010313113426.A44321@walton.maths.tcd.ie>
index | next in thread | previous in thread | raw e-mail
* David Malone <dwmalone@maths.tcd.ie> [010313 03:34] wrote:
> On Mon, Mar 12, 2001 at 05:50:05PM -0800, Alfred Perlstein wrote:
>
> > Can you explain _why_ this isn't working, like an error message, maybe?
>
> It doesn't work 'cos the socket library call is not written in C,
> so grepping/cscoping won't find it. It is generated from socket.S,
> which seems to be produced by a line in src/lib/libc/sys/Makefile.inc
> which does:
>
> printf '#include "SYS.h"\nRSYSCALL(${.PREFIX})\n' > ${.TARGET}
>
> That make file includes various other makefiles which produce the
> list of syscalls which should be compiled into the library.
David, I was asking Shankar to give more reasonable explanations
as to why things weren't working. If you check my first message
to him there's the suggestion to do a "make world" and pipe the
output to a file to look for this.
y'know, teach a man to fish... :)
--
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
Daemon News Magazine in your snail-mail! http://magazine.daemonnews.org/
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010313034541.R29888>
