From owner-freebsd-questions Sat Jul 13 11:21:54 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B25D37B400 for ; Sat, 13 Jul 2002 11:21:51 -0700 (PDT) Received: from petasus.ch.intel.com (petasus.ch.intel.com [143.182.124.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0B0943E58 for ; Sat, 13 Jul 2002 11:21:50 -0700 (PDT) (envelope-from pavan.balaji@intel.com) Received: from fmsmsxvs043.fm.intel.com (fmsmsxvs043.fm.intel.com [132.233.42.129]) by petasus.ch.intel.com (8.11.6/8.11.6/d: solo.mc,v 1.42 2002/05/23 22:21:11 root Exp $) with SMTP id g6DBOG618825 for ; Sat, 13 Jul 2002 11:24:16 GMT Received: from fmsmsx29.FM.INTEL.COM ([132.233.42.29]) by fmsmsxvs043.fm.intel.com (NAVGW 2.5.2.11) with SMTP id M2002071311204207132 ; Sat, 13 Jul 2002 11:20:42 -0700 Received: by fmsmsx29.fm.intel.com with Internet Mail Service (5.5.2653.19) id <3XNF4QNX>; Sat, 13 Jul 2002 11:21:49 -0700 Message-ID: <3D386AED1B47D411A94300508B11F18703BC5B9C@fmsmsx116.fm.intel.com> From: "Balaji, Pavan" To: "'Roman Neuhauser'" , "Balaji, Pavan" Cc: "'freebsd-questions@freebsd.org'" Subject: RE: Library functions Date: Sat, 13 Jul 2002 11:21:47 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I did installworld after that. But, the problem is I want to have the same name for my library call as the system call. Something similar to fork(). The system call is "fork", and I can call fork() in my user program -- I don't have to use syscall(2). How do I do this? Any suggestions? Pavan Balaji, CIS Graduate Student, Ohio State University "Being happy doesn't mean that everything is perfect... It just means that you have decided to see beyond the imperfections" -- Rash > -----Original Message----- > From: Roman Neuhauser [mailto:neuhauser@bellavista.cz] > Sent: Saturday, July 13, 2002 3:35 AM > To: Balaji, Pavan > Cc: 'freebsd-questions@freebsd.org' > Subject: Re: Library functions > > > > From: "Balaji, Pavan" > > To: "'freebsd-questions@freebsd.org'" > > > Subject: Library functions > > Date: Fri, 12 Jul 2002 23:32:26 -0700 > > > > > > I was having some problem adding a new library call in > FreeBSD. I added a > > simple library function in /usr/src/lib/libc/net and did a > "make buildworld" > > on /usr/src. It compiled properly, but I'm not able to use > the library call > > in my programs. Am I doing something wrong? > > Yes. You didn't *install* the new world. > > -- > FreeBSD 4.6-STABLE > 10:34AM up 48 mins, 6 users, load averages: 0.01, 0.02, 0.00 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message