OpenWrt Forum Archive

Topic: Kamikaze 7.09 compilation problem

The content of this topic has been archived on 19 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi,
someone can help me with this?
Thanks
Davide


make -j1 -C strongswan compile
make[3]: Entering directory `/home/kamikaze_7.09/package/strongswan'
make -C /home/kamikaze_7.09/build_mipsel/linux-2.4-brcm/strongswan-2.8.2 AR=mipsel-linux-uclibc-ar AS="mipsel-linux-uclibc-gcc -c -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time" LD=mipsel-linux-uclibc-ld NM=mipsel-linux-uclibc-nm CC="mipsel-linux-uclibc-gcc" GCC="mipsel-linux-uclibc-gcc" CXX=mipsel-linux-uclibc-g++ RANLIB=mipsel-linux-uclibc-ranlib STRIP=mipsel-linux-uclibc-strip OBJCOPY=mipsel-linux-uclibc-objcopy OBJDUMP=mipsel-linux-uclibc-objdump SIZE=mipsel-linux-uclibc-size LINUX_RELEASE="1" KERNELSRC="/home/kamikaze_7.09/build_mipsel/linux-2.4-brcm/linux-2.4.34" ARCH="mips" CROSS_COMPILE="mipsel-linux-uclibc-" USERCOMPILE="-Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -I./linux/include -I/home/kamikaze_7.09/staging_dir_mipsel/usr/include -I/home/kamikaze_7.09/staging_dir_mipsel/include -L/home/kamikaze_7.09/staging_dir_mipsel/usr/lib -L/home/kamikaze_7.09/staging_dir_mipsel/lib" IPSECDIR="/usr/lib/ipsec" INC_USRLOCAL="/usr"  LDFLAGS="-L/home/kamikaze_7.09/staging_dir_mipsel/usr/lib -L/home/kamikaze_7.09/staging_dir_mipsel/lib" DESTDIR="/home/kamikaze_7.09/build_mipsel/linux-2.4-brcm/strongswan-2.8.2/ipkg-install" programs module install
make[4]: Entering directory `/home/kamikaze_7.09/build_mipsel/linux-2.4-brcm/strongswan-2.8.2'
make[5]: Entering directory `/home/kamikaze_7.09/build_mipsel/linux-2.4-brcm/strongswan-2.8.2/lib'
make[6]: Entering directory `/home/kamikaze_7.09/build_mipsel/linux-2.4-brcm/strongswan-2.8.2/lib/libfreeswan'
make[6]: Nothing to be done for `programs'.
make[6]: Leaving directory `/home/kamikaze_7.09/build_mipsel/linux-2.4-brcm/strongswan-2.8.2/lib/libfreeswan'
make[6]: Entering directory `/home/kamikaze_7.09/build_mipsel/linux-2.4-brcm/strongswan-2.8.2/lib/libdes'
make[6]: Nothing to be done for `programs'.
make[6]: Leaving directory `/home/kamikaze_7.09/build_mipsel/linux-2.4-brcm/strongswan-2.8.2/lib/libdes'
make[5]: Leaving directory `/home/kamikaze_7.09/build_mipsel/linux-2.4-brcm/strongswan-2.8.2/lib'
make[5]: Entering directory `/home/kamikaze_7.09/build_mipsel/linux-2.4-brcm/strongswan-2.8.2/programs'
make[6]: Entering directory `/home/kamikaze_7.09/build_mipsel/linux-2.4-brcm/strongswan-2.8.2/programs/_copyright'
mipsel-linux-uclibc-gcc -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -I./linux/include -I/home//kamikaze_7.09/staging_dir_mipsel/usr/include -I/home/kamikaze_7.09/staging_dir_mipsel/include -L/home/wioptimo/kamikaze_7.09/staging_dir_mipsel/usr/lib -L/home/kamikaze_7.09/staging_dir_mipsel/lib -I../../linux/include -Wall -Wpointer-arith -Wcast-qual -Wstrict-prototypes -Wbad-function-cast  -DNAT_TRAVERSAL  -L/home/kamikaze_7.09/staging_dir_mipsel/usr/lib -L/home/wioptimo/kamikaze_7.09/staging_dir_mipsel/lib  _copyright.c   -o _copyright
/tmp/ccTbEd3w.o: In function `main':
_copyright.csad.text+0x2c): undefined reference to `ipsec_version_code'
_copyright.csad.text+0x44): undefined reference to `ipsec_copyright_notice'
collect2: ld returned 1 exit status
make[6]: *** [_copyright] Error 1
make[6]: Leaving directory `/home/kamikaze_7.09/build_mipsel/linux-2.4-brcm/strongswan-2.8.2/programs/_copyright'
make[5]: *** [programs] Error 1
make[5]: Leaving directory `/home/kamikaze_7.09/build_mipsel/linux-2.4-brcm/strongswan-2.8.2/programs'
make[4]: *** [programs] Error 1
make[4]: Leaving directory `/home/kamikaze_7.09/build_mipsel/linux-2.4-brcm/strongswan-2.8.2'
make[3]: *** [/home/wioptimo/kamikaze_7.09/build_mipsel/linux-2.4-brcm/strongswan-2.8.2/.built] Error 2
make[3]: Leaving directory `/home/kamikaze_7.09/package/strongswan'
make[2]: *** [strongswan-compile] Error 2
make[2]: Leaving directory `/home/kamikaze_7.09/package'
make[1]: *** [package/compile] Error 2
make[1]: Leaving directory `/home/kamikaze_7.09'
make: *** [world] Error 2

I never compiled strongswan, so I don't know.
Such "undefined reference" errors are tipically due to a library missing. Check package dependencies.

Thanks I will check package dependencies

The discussion might have continued from here.