[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
Sat Mar 1 15:47:18 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:              03-01-2008 15:47 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 - 03-01-08 15:47  
---------------------------------------------------------------------- 
I'm only looking at the 2.4 build system.  kernel/GNUmakefile appears only
to be called for 2.4 kernels, even though it looks like it has code for
2.6.

Anyway, lets deal with the easy one first.  The wct4xxp problem on make
install is because the modules install code from kernel/GNUmakefile has
been moved up (although left in to confuse people reading it) but hasn't
been fully relocated.  In setting INSTALL_MODULES, BUILD_TOPDIR_MODULES has
been relocated, but BUIDL _SUBDIR_MODULES hasn't.

I'm afraid I can't supply this as a patch as the moment, as a licence is
required even for the trivial and obvious and it is going to take some time
to get that case argued. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-01-08 15:47  davidw         Note Added: 0083226                          
======================================================================




More information about the asterisk-bugs mailing list