Cross Compiling libgpg-error-1.21 for rsyslog-8.15.0: unrecognized option '--64'.

Girish Kumar girish.kumar at al-enterprise.com
Tue Jan 26 16:05:51 CET 2016


Dear All,

I am compiling libgpg-error-1.21 which is a dependency library  for  libgcrypt-1.6.4  . This for armv7 platform
Found some info on cross compilation, but was not able to understand.

I am getting  "unrecognized option '--64'"  when compiling libgpg-error-1.21.  Could you please  help me on this.?


gawk -f /home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-new/engr/sw/tps/libgpg-error-1.21/src/mkerrnos.awk /home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-new/engr/sw/tps/libgpg-error-1.21/src/errnos.in >code-to-errno.h
gawk -f /home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-new/engr/sw/tps/libgpg-error-1.21/src/mkerrcodes1.awk /home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-new/engr/sw/tps/libgpg-error-1.21/src/errnos.in >_mkerrcodes.h
arm-unknown-linux-gnueabi-gcc -E -mcpu=cortex-a9 -mabi=aapcs-linux -msoft-float -O -fno-omit-frame-pointer -mapcs-frame -mno-sched-prolog  -I/soft/gnu/cross/linux_64/13/arm/sysroot/usr/include -I/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-new/engr/sw/tps/built/46/7.X.X.R01/armv7/include   -P _mkerrcodes.h | grep GPG_ERR_ | \
               gawk -f /home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-new/engr/sw/tps/libgpg-error-1.21/src/mkerrcodes.awk >mkerrcodes.h
rm _mkerrcodes.h
cc -I. -I/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-new/engr/sw/tps/libgpg-error-1.21/src -o mkerrcodes /home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-new/engr/sw/tps/libgpg-error-1.21/src/mkerrcodes.c
as: unrecognized option '--64'
make[4]: *** [mkerrcodes] Error 1
make[4]: Leaving directory `/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-new/engr/sw/tps/objs/46/7.X.X.R01/armv7/libgpg-error/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-new/engr/sw/tps/objs/46/7.X.X.R01/armv7/libgpg-error'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-new/engr/sw/tps/objs/46/7.X.X.R01/armv7/libgpg-error'
make[2]: Entering directory `/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-new/engr/sw/tps/objs/46/7.X.X.R01/armv7/libgpg-error'
Making install in m4
make[3]: Entering directory `/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-new/engr/sw/tps/objs/46/7.X.X.R01/armv7/libgpg-error/m4'
make[4]: Entering directory `/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-new/engr/sw/tps/objs/46/7.X.X.R01/armv7/libgpg-error/m4'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-new/engr/sw/tps/objs/46/7.X.X.R01/armv7/libgpg-error/m4'
make[3]: Leaving directory `/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-new/engr/sw/tps/objs/46/7.X.X.R01/armv7/libgpg-error/m4'
Making install in src
make[3]: Entering directory `/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-new/engr/sw/tps/objs/46/7.X.X.R01/armv7/libgpg-error/src'
cc -I. -I/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-new/engr/sw/tps/libgpg-error-1.21/src -o mkerrcodes /home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-new/engr/sw/tps/libgpg-error-1.21/src/mkerrcodes.c
as: unrecognized option '--64'
make[3]: *** [mkerrcodes] Error 1
make[3]: Leaving directory `/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-new/engr/sw/tps/objs/46/7.X.X.R01/armv7/libgpg-error/src'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-new/engr/sw/tps/objs/46/7.X.X.R01/armv7/libgpg-error'
make[1]: *** [/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-new/engr/sw/tps/installed/46/7.X.X.R01/armv7/ramdisk/lib/libgpg-error.so] Error 2
make[1]: Leaving directory `/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-new/engr/sw/tps'
make: *** [tps-build] Error 2
+ set +x


Regards,
Girish

-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20160126/c39f0b73/attachment-0001.html>


More information about the Gnupg-users mailing list