[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cross compile problem

Oliver Kurth wrote:
I have a cross compile problem. I am using gcc for powerpc on 386,
version 2.95 from embedian.org. I get this error when trying
to compile libgcrypt-1.1.12:

powerpc-linux-gcc -shared misc.lo global.lo sexp.lo stdmem.lo secmem.lo missing-string.lo ath.lo ath-pthread.lo ath-pth.lo -Wl,--whole-archive ../cipher/.libs/libcipher.al ../mpi/.libs/libmpi.al -Wl,--no-whole-archive -lnsl -Wl,--version-script=./libgcrypt.vers -Wl,-soname -Wl,libgcrypt.so.1 -o .libs/libgcrypt.so.1.5.1
/usr/powerpc-linux/bin/ld:./libgcrypt.vers:23: parse error in VERSION script
collect2: ld returned 1 exit status
make[3]: *** [libgcrypt.la] Error 1

kurth@nimrod:~/debcross/libgcrypt-1.1.12$ cat src/libgcrypt.vers
# (comments stripped), next line is 23:
  global: gcry*; _gcry_generate_elg_prime;
  local: *;

I am trying to build powerpc packages for woody, on a i386 sid box. The libraries
necesary are installed, using dpkg-cross.

A quick google search for
libgcrypt.vers parse error in VERSION script
yields many messages advising you to update your binutils.

Easiest way to update might be to build your own toolchain
using http://kegel.com/crosstool
assuming you're willing to learn a bit.
- Dan

Reply to: