[asterisk-bugs] [Asterisk 0015478]: 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
Thu Jul 9 13:17:22 CDT 2009


The following issue has been ASSIGNED. 
====================================================================== 
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 
Regression:                 No 
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-07-09 13:17 CDT
====================================================================== 
Summary:                    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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-07-09 13:17 sruffell       Status                   new => assigned     
2009-07-09 13:17 sruffell       Assigned To               => sruffell        
======================================================================




More information about the asterisk-bugs mailing list