Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2001 11:54:35 -0500
From:      The Anarcat <anarcat@anarcat.dyndns.org>
To:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   bug in make?
Message-ID:  <20011212165434.GA85335@shall.anarcat.dyndns.org>

next in thread | raw e-mail | index | archive | help

--9jxsPFA5p3P2qPhR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

ok... I know this is about the 4th email from me on this list, but this
is just beyond me. Again. :)

I'm working on libh (projects/libh) Makefiles, and it occured to me to
use the same method than the buildworld to store binaries (MAKEOBJDIR).
For that I had to hack the makefile.

The resulting makefiles (condensed, because a lot of stuff is just
info) are attached.

The problem is that make fails to follow any kind of logic it used to
follow, IMHO:

anarcat@shall[~/libh]% make
make all
make: don't know how to make all. Stop
*** Error code 2

Stop in /u/anarcat/libh.

Eh?

And if I try "make all", it "works"!!

anarcat@shall[~/libh]% make all
cd lib && /usr/bin/env MAKEOBJDIR=/u/anarcat/libh/compile/text+graphics make all
/usr/bin/env  make -f ../Makefile.inc1 BSUBDIR=lib/common all
Warning: Object directory not changed from original /u/anarcat/libh/compile/text+graphics
c++  -g -fpic -DPIC -I/usr/local/include/tcl8.3 -I/u/anarcat/libh/compile/text+graphics/../../include  -c /u/anarcat/libh/compile/text+graphics/../../lib/common/Pointer.cc -o Pointer.o
^C

What the heck???

And that's not even what "cd lib && ... make all" is supposed to do!!!

anarcat@shall[~/libh]% cd lib && /usr/bin/env MAKEOBJDIR=/u/anarcat/libh/compile/text+graphics make all
===> hui
===> disk
===> file
^C

There must something I really do not understand here.

Please help a lost developper...

A.

--9jxsPFA5p3P2qPhR
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjwXi8kACgkQttcWHAnWiGftAwCaArSauT0ko8rjoK6DfyOZ1G1B
sTIAniCxSPgkcgEoJC7svLmjhfsF84cr
=xkCX
-----END PGP SIGNATURE-----

--9jxsPFA5p3P2qPhR--

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?20011212165434.GA85335>