[asterisk-bugs] [Asterisk 0015478]: [patch] Building dahdi-linux-2.1.0.4 as cross-compilation works, but 2.2.0 fails with wrong architecture type

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Nov 16 18:54:31 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15478 
====================================================================== 
Reported By:                pprindeville
Assigned To:                sruffell
====================================================================== 
Project:                    Asterisk
Issue ID:                   15478
Category:                   Core/BuildSystem
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.25.1 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-07-09 13:10 CDT
Last Modified:              2009-11-16 18:54 CST
====================================================================== 
Summary:                    [patch] Building dahdi-linux-2.1.0.4 as
cross-compilation works, but 2.2.0 fails with wrong architecture type
Description: 
Building 2.1.0.4 on FC9 (x86_64) for an i386 (i586 really) target works
fine.

Updating to 2.2.0 fails:

make -C /home/philipp/kernel/build_i586/linux-2.6.27.26-astlinux
SUBDIRS=/home/philipp/kernel/build_i586/dahdi-linux-2.2.0/drivers/dahdi
DAHDI_INCLUDE=/home/philipp/kernel/build_i586/dahdi-linux-2.2.0/include
DAHDI_MODULES_EXTRA=" " HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[2]: Entering directory
`/home/philipp/kernel/build_i586/linux-2.6.27.26-astlinux'
  SHIPPED
/home/philipp/kernel/build_i586/dahdi-linux-2.2.0/drivers/dahdi/vpmadt032_loader/vpmadt032_x86_64.o
  LD [M] 
/home/philipp/kernel/build_i586/dahdi-linux-2.2.0/drivers/dahdi/dahdi.o
  LD [M] 
/home/philipp/kernel/build_i586/dahdi-linux-2.2.0/drivers/dahdi/dahdi_vpmadt032_loader.o
ld: Relocatable linking with relocations from format elf64-x86-64
(/home/philipp/kernel/build_i586/dahdi-linux-2.2.0/drivers/dahdi/vpmadt032_loader/vpmadt032_x86_64.o)
to format elf32-i386
(/home/philipp/kernel/build_i586/dahdi-linux-2.2.0/drivers/dahdi/dahdi_vpmadt032_loader.o)
is not supported
make[3]: ***
[/home/philipp/kernel/build_i586/dahdi-linux-2.2.0/drivers/dahdi/dahdi_vpmadt032_loader.o]
Error 1

====================================================================== 

---------------------------------------------------------------------- 
 (0113886) pprindeville (reporter) - 2009-11-16 18:54
 https://issues.asterisk.org/view.php?id=15478#c113886 
---------------------------------------------------------------------- 
Please close this out.  Explicitly naming the architecture (while ugly) is
effective. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-11-16 18:54 pprindeville   Note Added: 0113886                          
======================================================================




More information about the asterisk-bugs mailing list