From owner-freebsd-questions Fri Jan 16 23:43:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA10973 for questions-outgoing; Fri, 16 Jan 1998 23:43:35 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from zippy.dyn.ml.org (garbanzo@spain-35.ppp.hooked.net [206.169.228.35]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA10960 for ; Fri, 16 Jan 1998 23:42:55 -0800 (PST) (envelope-from garbanzo@hooked.net) Received: from localhost (garbanzo@localhost) by zippy.dyn.ml.org (8.8.8/8.8.7) with SMTP id XAA01276; Fri, 16 Jan 1998 23:44:16 -0800 (PST) X-Authentication-Warning: zippy.dyn.ml.org: garbanzo owned process doing -bs Date: Fri, 16 Jan 1998 23:44:15 -0800 (PST) From: Alex X-Sender: garbanzo@zippy.dyn.ml.org To: Hwang Jung Ho cc: freebsd-questions@FreeBSD.ORG Subject: Re: cc compile error.. In-Reply-To: <34C0B789.59E2B600@daisy.kwangwoon.ac.kr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk On Sat, 17 Jan 1998, Hwang Jung Ho wrote: > I tried to compile some example. > But "ftok" is not compile, how can I do? When in doubt, try man ftok. Please check the man pages before asking on a list. In many cases your question will be answered. As it turns out ftok is a function in the library libcompat. Add -lcompat to the list of libraries you're using. El hombre mas brillante dijo una vez "Cuidado hay NT". (it's a nerd thing) - alex