dpkg-buildpackage -rfakeroot -b -uc
................................. .Tpo -c aes_crypter.c -o aes_crypter.o >/dev/null 2>&1 mv -f .deps/aes_crypter.Tpo .deps/aes_crypter.Plo /bin/sh ../../../../libtool --tag=CC --mode=link arm-linux-gnueabi-gcc -rdynamic -Wall -g -O2 -module -avoid-version -Wl,-z,defs -o libstrongswan-aes.la -rpath /usr/libexec/ipsec/plugins aes_plugin.lo aes_crypter.lo libtool: link: arm-linux-gnueabi-gcc -shared .libs/aes_plugin.o .libs/aes_crypter.o -Wl,-z -Wl,defs -Wl,-soname -Wl,libstrongswan-aes.so -o .libs/libstrongswan-aes.so .libs/aes_plugin.o: In function `aes_plugin_create': /home/mven/VPN/ipsec/strongswan-4.5.0/src/libstrongswan/plugins/aes/aes_plugin.c:61: undefined reference to `lib' .libs/aes_plugin.o: In function `destroy': /home/mven/VPN/ipsec/strongswan-4.5.0/src/libstrongswan/plugins/aes/aes_plugin.c:40: undefined reference to `lib' collect2: ld returned 1 exit status make[6]: *** [libstrongswan-aes.la] Error 1 make[6]: Leaving directory `/home/mven/VPN/ipsec/strongswan-4.5.0/src/libstrongswan/plugins/aes' make[5]: *** [install-recursive] Error 1 make[5]: Leaving directory `/home/mven/VPN/ipsec/strongswan-4.5.0/src/libstrongswan' make[4]: *** [install] Error 2 make[4]: Leaving directory `/home/mven/VPN/ipsec/strongswan-4.5.0/src/libstrongswan' make[3]: *** [install-recursive] Error 1 make[3]: Leaving directory `/home/mven/VPN/ipsec/strongswan-4.5.0/src' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/home/mven/VPN/ipsec/strongswan-4.5.0' make[1]: *** [install] Error 2 make[1]: Leaving directory `/home/mven/VPN/ipsec/strongswan-4.5.0' make: *** [install-arch] Error 2 [sbox-FREMANTLE_ARMEL: ~/VPN/ipsec/strongswan-4.5.0] >
wget http://download.strongswan.org/strongswan-4.5.0.tar.bz2 tar jxvf strongswan-4.5.0.tar.bz2 cd strongswan-4.5.0 ./configure --prefix=/usr --sysconfdir=/etc --enable-maemo make fakeroot make install
CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif config.status: configure dh_testdir # Add here commands to configure the package. --prefix=/usr --sysconfdir=/etc --enable-maemo ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"