Package: src:pcscada Version: 0.7.3-1 Severity: important Tags: patch gnatbind-6 -shared -E -x /«PKGBUILDDIR»/obj/utests/runner.ali gnatlink-6 /«PKGBUILDDIR»/obj/utests/runner.ali -shared-libgcc -lpcsclite -R /«PKGBUILDDIR»/lib/static/libpcscada.a -L/usr/lib/ -lahven -o /«PKGBUILDDIR»/obj/utests/runner /«PKGBUILDDIR»/lib/static/libpcscada.a(pcsc-scard.o): In function `pcsc__scard__get_return_code': /«PKGBUILDDIR»/src/pcsc-scard.adb:402: undefined reference to `pcsc_stringify_error' /«PKGBUILDDIR»/lib/static/libpcscada.a(pcsc-scard.o): In function `pcsc__scard__is_valid': /«PKGBUILDDIR»/src/pcsc-scard.adb:473: undefined reference to `SCardIsValidContext'
Here is a workaround http://launchpadlibrarian.net/277411681/pcscada_0.7.3-1_0.7.3-1ubuntu1.diff.gz however you really should pass '-lpcsclite' behind libpcscada.a. Isn't there anything which allows you to pass this as LIBS, not LDFLAGS?