From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-yk0-f194.google.com ([209.85.160.194]) by metis.ext.pengutronix.de with esmtps (TLS1.2:RSA_ARCFOUR_SHA1:128) (Exim 4.80) (envelope-from ) id 1ZI5n1-0003IS-PS for ptxdist@pengutronix.de; Thu, 23 Jul 2015 03:59:16 +0200 Received: by ykay190 with SMTP id y190so13652209yka.1 for ; Wed, 22 Jul 2015 20:58:31 -0700 (PDT) MIME-Version: 1.0 Date: Thu, 23 Jul 2015 11:58:31 +0800 Message-ID: From: Hardik A Gohil Subject: [ptxdist] OPENSWAN IPSEC Configuration List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: multipart/mixed; boundary="===============0247939074==" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de --===============0247939074== Content-Type: multipart/alternative; boundary=001a113a6cb691937a051b82e6e0 --001a113a6cb691937a051b82e6e0 Content-Type: text/plain; charset=UTF-8 Hello, I am working on Linux-phycore-AM335x-kit. I trying to add OPENSWAN package into development.I have referred the following to configure ptxdist. https://www.mail-archive.com/ptxdist@pengutronix.de/msg06140.html I am facing the following error after ptxdist. make[4]: Nothing to be done for `programs'. make[4]: Leaving directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/openswan-2.6.43/OBJ.linux.arm/programs/proc' make[4]: Entering directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/openswan-2.6.43/OBJ.linux.arm/programs/pluto' LD _pluto_adns LD whack LD pluto /opt/OSELAS.Toolchain-2012.12.1/arm-cortexa8-linux-gnueabihf/gcc-4.7.3-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/lib/gcc/arm-cortexa8-linux-gnueabihf/4.7.3/../../../../arm-cortexa8-linux-gnueabihf/bin/ld: adns.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC adns.o: could not read symbols: Bad value collect2: error: ld returned 1 exit status make[4]: *** [_pluto_adns] Error 1 make[4]: *** Waiting for unfinished jobs.... /opt/OSELAS.Toolchain-2012.12.1/arm-cortexa8-linux-gnueabihf/gcc-4.7.3-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/lib/gcc/arm-cortexa8-linux-gnueabihf/4.7.3/../../../../arm-cortexa8-linux-gnueabihf/bin/ld: /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/openswan-2.6.43/OBJ.linux.arm/lib/libwhack/libwhack.a(whacklib.o): relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/openswan-2.6.43/OBJ.linux.arm/lib/libwhack/libwhack.a: could not read symbols: Bad value collect2: error: ld returned 1 exit status make[4]: *** [whack] Error 1 /opt/OSELAS.Toolchain-2012.12.1/arm-cortexa8-linux-gnueabihf/gcc-4.7.3-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/lib/gcc/arm-cortexa8-linux-gnueabihf/4.7.3/../../../../arm-cortexa8-linux-gnueabihf/bin/ld: connections.o: relocation R_ARM_MOVW_ABS_NC against `host_pairs' can not be used when making a shared object; recompile with -fPIC connections.o: could not read symbols: Bad value collect2: error: ld returned 1 exit status make[4]: *** [pluto] Error 1 make[4]: Leaving directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/openswan-2.6.43/OBJ.linux.arm/programs/pluto' make[3]: *** [programs] Error 1 make[3]: Leaving directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/openswan-2.6.43/OBJ.linux.arm/programs' make[2]: *** [programs] Error 1 make[2]: Leaving directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/openswan-2.6.43/OBJ.linux.arm' make[1]: *** [programs] Error 2 make[1]: Leaving directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/openswan-2.6.43' make: *** [/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/state/openswan.compile] Error 2 -- Regards Hardik A Gohil Willowglen Msc Bhd --001a113a6cb691937a051b82e6e0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello,

I am working on Linux-phycor= e-AM335x-kit.

I trying to add OPENSWAN package into devel= opment.I have referred the following to configure ptxdist.

http= s://www.mail-archive.com/ptxdist@pengutronix.de/msg06140.html

I am facing the following error after ptxdist.


make[4]: Nothing to be done for `= programs'.
make[4]: Leaving directory `/opt/PHYTEC_BSPs/phyCORE-AM33= 5x-PD13.1.2/platform-phyCORE-AM335x/build-target/openswan-2.6.43/OBJ.linux.= arm/programs/proc'
make[4]: Entering directory `/opt/PHYTEC_BSPs/phy= CORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/openswan-2.6.43/O= BJ.linux.arm/programs/pluto'
LD _pluto_adns
LD whack
LD pluto<= br>/opt/OSELAS.Toolchain-2012.12.1/arm-cortexa8-linux-gnueabihf/gcc-4.7.3-g= libc-2.16.0-binutils-2.22-kernel-3.6-sanitized/lib/gcc/arm-cortexa8-linux-g= nueabihf/4.7.3/../../../../arm-cortexa8-linux-gnueabihf/bin/ld: adns.o: rel= ocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when= making a shared object; recompile with -fPIC
adns.o: could not read sym= bols: Bad value
collect2: error: ld returned 1 exit status
make[4]: *= ** [_pluto_adns] Error 1
make[4]: *** Waiting for unfinished jobs..../opt/OSELAS.Toolchain-2012.12.1/arm-cortexa8-linux-gnueabihf/gcc-4.7.3-gli= bc-2.16.0-binutils-2.22-kernel-3.6-sanitized/lib/gcc/arm-cortexa8-linux-gnu= eabihf/4.7.3/../../../../arm-cortexa8-linux-gnueabihf/bin/ld: /opt/PHYTEC_B= SPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/openswan-2= .6.43/OBJ.linux.arm/lib/libwhack/libwhack.a(whacklib.o): relocation R_ARM_M= OVW_ABS_NC against `a local symbol' can not be used when making a share= d object; recompile with -fPIC
/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/= platform-phyCORE-AM335x/build-target/openswan-2.6.43/OBJ.linux.arm/lib/libw= hack/libwhack.a: could not read symbols: Bad value
collect2: error: ld r= eturned 1 exit status
make[4]: *** [whack] Error 1
/opt/OSELAS.Toolch= ain-2012.12.1/arm-cortexa8-linux-gnueabihf/gcc-4.7.3-glibc-2.16.0-binutils-= 2.22-kernel-3.6-sanitized/lib/gcc/arm-cortexa8-linux-gnueabihf/4.7.3/../../= ../../arm-cortexa8-linux-gnueabihf/bin/ld: connections.o: relocation R_ARM_= MOVW_ABS_NC against `host_pairs' can not be used when making a shared o= bject; recompile with -fPIC
connections.o: could not read symbols: Bad v= alue
collect2: error: ld returned 1 exit status
make[4]: *** [pluto] = Error 1
make[4]: Leaving directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13= .1.2/platform-phyCORE-AM335x/build-target/openswan-2.6.43/OBJ.linux.arm/pro= grams/pluto'
make[3]: *** [programs] Error 1
make[3]: Leaving dir= ectory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/bu= ild-target/openswan-2.6.43/OBJ.linux.arm/programs'
make[2]: *** [pro= grams] Error 1
make[2]: Leaving directory `/opt/PHYTEC_BSPs/phyCORE-AM33= 5x-PD13.1.2/platform-phyCORE-AM335x/build-target/openswan-2.6.43/OBJ.linux.= arm'
make[1]: *** [programs] Error 2
make[1]: Leaving directory `= /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-targ= et/openswan-2.6.43'
make: *** [/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.= 1.2/platform-phyCORE-AM335x/state/openswan.compile] Error 2

<= br>

--
Regards
Hardik A Gohil
Willowglen Msc Bhd

--001a113a6cb691937a051b82e6e0-- --===============0247939074== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline LS0gCnB0eGRpc3QgbWFpbGluZyBsaXN0CnB0eGRpc3RAcGVuZ3V0cm9uaXguZGUK --===============0247939074==--