From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-yk0-f179.google.com ([209.85.160.179]) by metis.ext.pengutronix.de with esmtps (TLS1.2:RSA_ARCFOUR_SHA1:128) (Exim 4.80) (envelope-from ) id 1ZKKTZ-0007If-Fe for ptxdist@pengutronix.de; Wed, 29 Jul 2015 08:04:25 +0200 Received: by ykdu72 with SMTP id u72so1609359ykd.2 for ; Wed, 29 Jul 2015 01:03:27 -0700 (PDT) MIME-Version: 1.0 Date: Wed, 29 Jul 2015 16:03:27 +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="===============1203702470==" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de --===============1203702470== Content-Type: multipart/alternative; boundary=94eb2c0885be91ac50051bff050b --94eb2c0885be91ac50051bff050b 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 --94eb2c0885be91ac50051bff050b 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.

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/PH= YTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/open= swan-2.6.43/OBJ.linux.arm/programs/pluto'
LD _pluto_adns
LD whack=
LD pluto
/opt/OSELAS.Toolchain-2012.12.1/arm-cortexa8-linux-gnueabih= f/gcc-4.7.3-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/lib/gcc/arm-cor= texa8-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= =20 be used when making a shared object; recompile with -fPIC
adns.o: could = not read symbols: Bad value
collect2: error: ld returned 1 exit statusmake[4]: *** [_pluto_adns] Error 1
make[4]: *** Waiting for unfinished= jobs....
/opt/OSELAS.Toolchain-2012.12.1/arm-cortexa8-linux-gnueabihf/g= cc-4.7.3-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/lib/gcc/arm-cortex= a8-linux-gnueabihf/4.7.3/../../../../arm-cortexa8-linux-gnueabihf/bin/ld: /= opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-targe= t/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= =20 when making a shared object; recompile with -fPIC
/opt/PHYTEC_BSPs/phyCO= RE-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
co= llect2: 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-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: connections.o: relocation R_ARM_MOVW_ABS_NC against `host_pairs' can= =20 not be used when making a shared object; recompile with -fPIC
connection= s.o: could not read symbols: Bad value
collect2: error: ld returned 1 ex= it status
make[4]: *** [pluto] Error 1
make[4]: Leaving directory `/o= pt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target= /openswan-2.6.43/OBJ.linux.arm/programs/pluto'
make[3]: *** [program= s] Error 1
make[3]: Leaving directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-P= D13.1.2/platform-phyCORE-AM335x/build-target/openswan-2.6.43/OBJ.linux.arm/= programs'
make[2]: *** [programs] Error 1
make[2]: Leaving direct= ory `/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: *** [/op= t/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/state/openswa= n.compile] Error 2


--
Regards
Hardik A Gohil
Willowglen Msc Bhd

=
--94eb2c0885be91ac50051bff050b-- --===============1203702470== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline LS0gCnB0eGRpc3QgbWFpbGluZyBsaXN0CnB0eGRpc3RAcGVuZ3V0cm9uaXguZGUK --===============1203702470==--