cross-compiling python-2.5.1 for PPC, error in Modules/unicodedata.o

R

Robert P. J. Day

not sure if this is the right list for this, but it's a starting
point. i'm using a wind river linux development environment to build
a full system for a powerpc board, and that includes cross-compiling
python-2.5.1 for ppc. the compile fails thusly:

powerpc-wrs-linux-gnu-ppc_e500v2-glibc_std-gcc -shared
Modules/unicodedata.o -o Modules/unicodedata.so
Modules/unicodedata.o: file not recognized: File truncated
collect2: ld returned 1 exit status
Makefile:1159: *** [Modules/unicodedata.so] Error 1

.... snip ...
#0 Modules/unicodedata.so at
/home/rpjday/workspace/8548_prj/build/python-2.5.1/BUILD/Python-2.5.1/Makefile:1159
#1 oldsharedmods at
/home/rpjday/workspace/8548_prj/build/python-2.5.1/BUILD/Python-2.5.1/Makefile:440
#2 all at
/home/rpjday/workspace/8548_prj/build/python-2.5.1/BUILD/Python-2.5.1/Makefile:353
Command-line arguments:
"OPT=-g -O2 -fomit-frame-pointer -pipe -g -O2
-fomit-frame-pointer -pipe -D_GNU_SOURCE -fPIC -I=/usr/include
-I=/home/rpjday/workspace/8548_prj/host-cross/powerpc-wrs-linux-gnu/sysroot/usr/include/krb5
DESTDIR=/home/rpjday/workspace/8548_prj/host-cross/powerpc-wrs-linux-gnu/sysroot/usr/lib/../..
HOSTPYTHON=./hostpython HOSTPGEN=./Parser/hostpgen"
error: Bad exit status from
/home/rpjday/workspace/8548_prj/build/python-2.5.1/rpm-tmp.86223
(%build)
.... snip ...

you can see that the file Modules/unicodedata.o is flagged as not
recognized. in fact, it exists but is empty. i'm going to continue
digging around but i'm open to suggestions. i also have the full 1700
lines of output from the beginning of the cross-compile if anyone
wants to see it. thanks, and is there a more appropriate place to ask
this?

rday

--

========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,754
Messages
2,569,521
Members
44,995
Latest member
PinupduzSap

Latest Threads

Top