Author sraue
Recipients cfriedt, hanwen, janneke-sf, lkcl, loewis, nzjrs, rmt38, rpetrov, rwmjones, scott.tsai, sraue
Date 2008-11-21.12:31:41
SpamBayes Score 3.6076e-09
Marked as misclassified No
Message-id <>
when i crosscompile Python 2.6 with Patch cross-2.6-0.7.diff which is 
based on cross-2.5.1.patch  i become follow error: 

ld -s -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-
prototypes -I. -IInclude -I./Include build/temp.linux-i686-
Modules/_multiprocessing/multiprocessing.o build/temp.linux-i686-
Modules/_multiprocessing/socket_connection.o build/temp.linux-i686-
Modules/_multiprocessing/semaphore.o -L/usr/lib -lpython2.5 -o 
ld: unrecognized option '-DNDEBUG'
ld: use the --help option for usage information
creating build/temp.linux-i686-2.5/libffi
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... 
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C 
compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
Failed to configure _ctypes module

what can i do libffi compiles with --host and --build

when i compile libffi standalone and run configure with --with-system-
ffi the error is the same.
Date User Action Args
2008-11-21 12:32:27srauesetrecipients: + sraue, loewis, lkcl, hanwen, janneke-sf, rmt38, scott.tsai, nzjrs, cfriedt, rpetrov, rwmjones
2008-11-21 12:32:26srauesetmessageid: <>
2008-11-21 12:32:25srauelinkissue1597850 messages
2008-11-21 12:32:25srauecreate