From owner-freebsd-questions Sun May 5 7: 4:41 2002 Delivered-To: freebsd-questions@freebsd.org Received: from axel.truedestiny.net (a185066.upc-a.chello.nl [62.163.185.66]) by hub.freebsd.org (Postfix) with ESMTP id 0F8FB37B404 for ; Sun, 5 May 2002 07:04:35 -0700 (PDT) Received: by axel.truedestiny.net (Postfix, from userid 1000) id 1FCC349AB2; Sun, 5 May 2002 16:04:36 +0200 (CEST) Date: Sun, 5 May 2002 16:04:36 +0200 From: Axel Scheepers To: Bernie Cc: Axel Scheepers , freebsd-questions@FreeBSD.ORG Subject: Re: buildworld problem -- newcomer Message-ID: <20020505160435.I21194@mars.thuis> Reply-To: Axel Scheepers References: <20020505141034.B21194@mars.thuis> <20020505140723.M52406-100000@BLAST> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020505140723.M52406-100000@BLAST>; from Bernie_X@myrealbox.com on Sun, May 05, 2002 at 02:12:56PM +0300 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 Hi Bernie, On Sun, May 05, 2002 at 02:12:56PM +0300, Bernie wrote: > hi, > > thank you for your reply. i tried what you said and it seems to compile > but then it's not in the directory. This is all the process: > > BLAST# pwd > /usr/src/bin/date > BLAST# make > cc -O -pipe -march=pentium -Wall -Wformat -static -o date date.o > netdate.o vary.o -lutil > then i tried to run it and also find it but it doesnt seem to exist... > BLAST# ./date > ./date: Command not found. > BLAST# date > date: Command not found. > BLAST# find / -name "date" > /usr/src/bin/date > /usr/src/usr.sbin/timed/SMM.doc/timed/date > /usr/compat/linux/bin/date > /usr/obj/usr/src/bin/date > /usr/obj/usr/src/bin/date/date > BLAST# > Probably the final link stage of the make process has put the executable in your object dir. Try looking in /usr/obj/usr/src/bin/date, it should be there. The output of make didn't shown any errors, and the final linking was done (the step I left in above) which means a working date binary was generated. On my system (I tried a make clean && make in /usr/src/bin/date) it placed the binary in the same dir, in your case in /usr/obj/usr/src/bin/date > > i dont quite understand why it doesnt work but if you can see anything > please let me know. > > thanx again for your help. Gr, -- Axel Scheepers UNIX System Administrator email: axel@axel.truedestiny.net a.scheepers@iae.nl http://axel.truedestiny.net/~axel ------------------------------------------ This life is a test. It is only a test. Had this been an actual life, you would have received further instructions as to what to do and where to go. ------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message