Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Feb 2007 18:34:19 GMT
From:      Toomas Aas<toomas.aas@raad.tartu.ee>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/109400: Building security/opensc fails with error: `SCARD_SCOPE_GLOBAL' undeclared
Message-ID:  <200702211834.l1LIYJFC040251@www.freebsd.org>
Resent-Message-ID: <200702211840.l1LIe5hf074709@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         109400
>Category:       ports
>Synopsis:       Building security/opensc fails with error: `SCARD_SCOPE_GLOBAL' undeclared
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 21 18:40:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Toomas Aas
>Release:        6-STABLE
>Organization:
>Environment:
FreeBSD premium.kodu.lan 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #1: Sat Jan 13 14:14:51 EET 2007     toomas@premium.kodu.lan:/usr/obj/usr/src/sys/PREMIUM  i386
>Description:
While attempting to build security/opensc with pc/sc backend, build fails as follows:

 cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -I/usr/local/include -I/
usr/X11R6/include -DNO_IDEA -D_THREAD_SAFE -I/usr/local/include/PCSC -I../../src
/common -I../../src/include -I/usr/local/include -I/usr/X11R6/include -Wall -fno
-strict-aliasing -O2 -fno-strict-aliasing -pipe -march=athlon -D_THREAD_SAFE -MT
 reader-pcsc.lo -MD -MP -MF .deps/reader-pcsc.Tpo -c reader-pcsc.c  -fPIC -DPIC 
-o .libs/reader-pcsc.o
reader-pcsc.c: In function `pcsc_init':
reader-pcsc.c:720: error: `SCARD_SCOPE_GLOBAL' undeclared (first use in this fun
ction)
reader-pcsc.c:720: error: (Each undeclared identifier is reported only once
reader-pcsc.c:720: error: for each function it appears in.)
gmake[3]: *** [reader-pcsc.lo] Error 1
gmake[3]: Leaving directory `/usr/ports/security/opensc/work/opensc-0.11.2-pre3/
src/libopensc'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/security/opensc/work/opensc-0.11.2-pre3/
src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/security/opensc/work/opensc-0.11.2-pre3'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/security/opensc.

The contents of /var/db/ports/opensc/options:

_OPTIONS_READ=opensc-0.11.2.p3
WITHOUT_OPENCT=true
WITH_PCSC=true
WITHOUT_SIGNER=true

The version of pcsc-lite I have installed is pcsc-lite-1.4.0,2
>How-To-Repeat:
# cd /usr/ports/security/opensc
# make configure
(deselect openct and select pcsc)
# make build
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702211834.l1LIYJFC040251>