[Home]

Summary:ASTERISK-06300: Compile error, segmentation fault
Reporter:Andras Beliczay (belo)Labels:
Date Opened:2006-02-13 05:01:42.000-0600Date Closed:2011-06-07 14:10:48
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:localhost:/usr/src/zaptel-1.2.3# make all
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE   -m64 -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\"   -c -o gendigits.o gendigits.c
cc -o gendigits gendigits.o -lm
/usr/bin/ld: warning: i386:x86-64 architecture of input file `gendigits.o' is incompatible with i386 output
./gendigits
make: *** [tones.h] Segmentation fault

****** ADDITIONAL INFORMATION ******

Kernel version: Linux localhost 2.6.8-11-em64t-p4-smp #1 SMP Sun Oct 2 20:58:45 UTC 2005 x86_64 GNU/Linux
Comments:By: op (op) 2006-02-13 09:45:57.000-0600

Looks like a problem with your build environment. You're trying to link x86-64 objects into x86 binaries.

By: Andras Beliczay (belo) 2006-02-13 11:00:58.000-0600

Changing Debian from i386 to amd64 arch solved the problem.

By: Jason Parker (jparker) 2006-02-13 11:13:19.000-0600

Submitter had invalid arch