Hello,

I try to cross compile samba for my ARM platform, but I get the
following error in the building process:

----------------------------%<----------------------------
      PICFLAG    = -fPIE
      LIBS       = -lresolv -lnsl -ldl
      LDFLAGS    = -pie -Wl,-z,relro
-L/home/piotr/mini2440/usr/local/arm/4.3.2/lib
      DYNEXP     =
      LDSHFLAGS  = shared-libraries-disabled -Wl,-z,relro
-L/home/piotr/mini2440/usr/local/arm/4.3.2/lib
      SHLIBEXT   = shared_libraries_disabled
      SONAMEFLAG = shared-libraries-disabled
Linking bin/smbd
/home/piotr/mini2440/usr/local/arm/4.3.2/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.2/../../../../arm-none-linux-gnueabi/bin/ld:
../lib/util/asn1.o: Relocations in generic ELF (EM: 3)
../lib/util/asn1.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
----------------------------%<----------------------------

My configure options are:

./configure --host=i686 \
        --target=arm-linux \
        --prefix= /home/piotr/mini2440/samba/install-samba-arm \
        --without-krb5 \
        --without-ldap \
        --without-ads \
        --disable-cups \
        --without-swat \

Do you know something more about this error? Maybe you can give me
some advices or hints to solve this problem?

Thank you in advance for your engagement.

-- 
Piotr Piwko
http://www.embedded-engineering.pl/
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to