> Message: 1 > Date: Tue, 13 Apr 2021 11:35:28 +0530 > From: "Sandeep Kumar" <ksand...@cdot.in> > To: quagga-users@lists.quagga.net > Subject: [quagga-users 15045] Error compiling quagga for PowerPC > Message-ID: <20210413055501.m23...@cdot.in> > Content-Type: text/plain; charset=utf-8 > > Hi > > I am trying to crosscompile quagga-1.2.0 for PowerPC architecture on Ubuntu > machine. > > i am running this command to configure before running make command > > ./configure --localstatedir=/var/run/quagga --host=powerpc-linux-gnu -- > prefix=/home/cdot/tmplocal-1.2.0 CC=$CC CPP="$CC -E" CFLAGS=" -mcpu=e5500" > --enable- > vtysh > > i am getting error while i try --enable-vtysh. i am getting this error > > configure: error: vtysh needs libreadline but was not found and usable on > your > system > > But libreadline is installed in my system. i have tried all the versions of > libreadline available for ubuntu. > > when i check config.log i see this error > > > /powerpc-linux-gnu/bin/ld: skipping incompatible > /usr/lib/gcc-cross/powerpc-linux- > gnu/5/../../../../powerpc-linux-gnu/lib/../lib/libreadline.a when searching > for - > lreadline > > why libreadline.a is incompatible, i dont comprehend. > > i tried earlier solutions provided, but they dont seem to work > > I am stuck at this error for a while.
Hi, I don't have any experience using cross-compiling. Do you have libreadline-dev package installed? Trying to manually evaluate the path from the error message: /usr/lib/gcc-cross/powerpc-linux-gnu/5/../../../../powerpc-linux-gnu/lib/../lib/libreadline.a /usr/lib/gcc-cross/powerpc-linux-gnu/../../../powerpc-linux-gnu/lib/../lib/libreadline.a /usr/lib/gcc-cross/../../powerpc-linux-gnu/lib/../lib/libreadline.a /usr/lib/../powerpc-linux-gnu/lib/../lib/libreadline.a /usr/powerpc-linux-gnu/lib/../lib/libreadline.a /usr/powerpc-linux-gnu/lib/libreadline.a Does that path exist? Regards Matthias Ferdinand _______________________________________________ Quagga-users mailing list Quagga-users@lists.quagga.net https://lists.quagga.net/mailman/listinfo/quagga-users