Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 May 2002 16:04:36 +0200
From:      Axel Scheepers <axel@axel.truedestiny.net>
To:        Bernie <Bernie_X@myrealbox.com>
Cc:        Axel Scheepers <axel@axel.truedestiny.net>, freebsd-questions@FreeBSD.ORG
Subject:   Re: buildworld problem -- newcomer
Message-ID:  <20020505160435.I21194@mars.thuis>
In-Reply-To: <20020505140723.M52406-100000@BLAST>; from Bernie_X@myrealbox.com on Sun, May 05, 2002 at 02:12:56PM %2B0300
References:  <20020505141034.B21194@mars.thuis> <20020505140723.M52406-100000@BLAST>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020505160435.I21194>