[asterisk-bugs] [Zaptel 0012056]: HOSTCC not exported by top level Makefile causes makefw compile to fail
noreply at bugs.digium.com
noreply at bugs.digium.com
Tue Feb 26 17:22:39 CST 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=12056
======================================================================
Reported By: davidw
Assigned To:
======================================================================
Project: Zaptel
Issue ID: 12056
Category: General
Reproducibility: always
Severity: minor
Priority: normal
Status: new
Zaptel Version: SVN
SVN Branch (only for SVN checkouts, not tarball releases): 1.4
SVN Revision (number only!): 3874
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 02-24-2008 04:19 CST
Last Modified: 02-26-2008 17:22 CST
======================================================================
Summary: HOSTCC not exported by top level Makefile causes
makefw compile to fail
Description:
The Makefile does not explicitly export HOSTCC. As this is not in the
initial environment, GNU Make does not export it by default. As a result,
the make in the kernel directory, which does not independently include
makeopts, the file that actually includes the definition of HOSTCC,
substitutes a null string for HOSTCC resulting in a command not found when
compiling the, host platform, utiity makefw.
======================================================================
----------------------------------------------------------------------
davidw - 02-26-08 17:22
----------------------------------------------------------------------
I tried .EXPORT_ALL_VARIABLES, but it causes a lot of warnings about
missing parameters to basename.
The unsubstituted "install"s turn out to be in the top level file and they
are just install, not $(INSTALL). I don't think I've exercised
kernel/GNUmakefile in install mode, even though it does include
$(INSTALL).
Unfortunately, as this is pre-familiarisation work and I'm using my home
machine, I'm probably not going to be able to investigate this further
until the weekend. It looks like I may have to carefully trawl the kernel
Makefile for unset variables and check the environment to see what make
puts there implicitly.
I also need to work out a safe way of testing the make install.
Slacktrack might help.
Issue History
Date Modified Username Field Change
======================================================================
02-26-08 17:22 davidw Note Added: 0082991
======================================================================
More information about the asterisk-bugs
mailing list