<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    I downloaded and installed solarisstudio12.3<br>
    The configure again ran fine<br>
    The make failed with errors<br>
    I attached file with output<br>
    <br>
    Thanks,<br>
    Greg<br>
    <br>
    <div class="moz-signature">
      <title></title>
      <meta name="generator" content="txt2html v1.28">
      <base href="http://sysweb.rl.gov/">
      <p>
        <br>
      </p>
      <hr>
    </div>
    <br>
    On 08/01/16 16:02, Ivo Raisr wrote:
    <blockquote
      cite="mid:c0439005-4add-6b3b-e380-04b47de316ef@oracle.com"
      type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <p><br>
      </p>
      <br>
      <div class="moz-cite-prefix">On 2.8.2016 00:59, Greg Barry wrote:<br>
      </div>
      <blockquote cite="mid:579FD45E.5030101@rl.gov" type="cite">
        <meta content="text/html; charset=ISO-8859-1"
          http-equiv="Content-Type">
        Ivo,<br>
        <br>
        I am using gcc compiler version 3.4.6<br>
      </blockquote>
      <br>
      That would be probably it. Please try gcc 4.x or Solaris Studio
      (they are both free).<br>
      <br>
      I.<br>
      <blockquote cite="mid:579FD45E.5030101@rl.gov" type="cite"><br>
        <div class="moz-signature">
          <hr> </div>
        <br>
        On 08/01/16 15:36, Ivo Raisr wrote:
        <blockquote
          cite="mid:53d48822-c2e7-41f5-a630-31a1cefffe90@oracle.com"
          type="cite">
          <meta content="text/html; charset=ISO-8859-1"
            http-equiv="Content-Type">
          <p><tt>Greg,</tt></p>
          <p><tt>First of all I wonder why do you build pcsc-lite on
              more than 10 year old OS?<br>
              Solaris 11 has been around for some quite time and it is
              much better in all aspects.<br>
            </tt></p>
          <p><tt>Now to your question:<br>
              the error is: "configfile.l:329: error: continue statement
              not within a loop"</tt></p>
          <p><tt>What compiler and which version do you use to build? We
              use Solaris Studio 12<br>
              and everything compiles ok.<br>
            </tt></p>
          <p><tt>pcsc-lite has been successfully built for Solaris 11.3
              with some additional patches.<br>
              Have a look here:<br>
              <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://java.net/projects/solaris-userland/sources/gate/show/components/pcsc-lite">https://java.net/projects/solaris-userland/sources/gate/show/components/pcsc-lite</a><br>
            </tt></p>
          <p><tt>Kind regards,<br>
              I.<br>
            </tt></p>
          <br>
          <div class="moz-cite-prefix">On 1.8.2016 21:43, Greg Barry
            wrote:<br>
          </div>
          <blockquote cite="mid:579FA655.3070700@rl.gov" type="cite">
            <meta http-equiv="content-type" content="text/html;
              charset=ISO-8859-1">
            Trying to configure and compile pcsc-lite-1.8.17 on a Sun
            Sparc<br>
            system running Solaris 10 1/13. We are looking to connect an<br>
            omnikey 3021 reader to the system.<br>
            <br>
            I can get the configure to work using:<br>
                ./configure --disable-libusb<br>
            <br>
            but the make fails with the errors:<br>
            <pre><small>configfile.l: In function `DBGetReaderListDir':
configfile.l:314: error: syntax error before "else"
configfile.l:288: warning: unused variable `r'
configfile.l:329: error: continue statement not within a loop
configfile.l:333: error: `r' undeclared (first use in this function)
configfile.l:333: error: (Each undeclared identifier is reported only once
configfile.l:333: error: for each function it appears in.)
configfile.l:333: error: `filename' undeclared (first use in this function)
configfile.l: At top level:
configfile.l:342: error: syntax error before "else"
*** Error code 1
The following command caused the error:
echo "  CC      " pcscd-configfile.o;gcc -DHAVE_CONFIG_H -I. -I..  -I../src/PCSC -I../src/PCSC   -I../src  -I/usr/local/include -Wall -fno-common -g -O2 -D_REENTRANT -pthreads      -DPCSCD -DSIMCLIST_NO_DUMPRESTORE -Wall -fno-common -g -O2 -MT pcscd-configfile.o -MD -MP -MF .deps/pcscd-configfile.Tpo -c -o pcscd-configfile.o `test -f 'configfile.c' || echo './'`configfile.c
make: Fatal error: Command failed for target `pcscd-configfile.o'
Current working directory /sysmgr/sysbin/ccid/pcsc-lite-1.8.17/src
*** Error code 1
The following command caused the error:
fail=; \
if (target_option=k; case ${target_option-} in  ?) ;;  *) echo "am__make_running_with_option: internal error: invalid"  "target option '${target_option-}' specified" >&2;  exit 1;;  esac;  has_opt=no;  sane_makeflags=$MAKEFLAGS; if {  if test -z '2'; then  false;  elif test -n ''; then  true;  elif test -n '' && test -n ''; then  true;  else  false;  fi;  }; then  sane_makeflags=$MFLAGS;  else  case $MAKEFLAGS in  *\\[\ \       ]*)  bs=\\;  sane_makeflags=`printf '%s\n' "$MAKEFLAGS"  | sed "s/$bs$bs[$bs $bs   ]*//g"`;;  esac;  fi;  skip_next=no;  strip_trailopt ()  {  flg=`printf '%s\n' "$flg" | sed "s/$1.*$//"`;  };  for flg in $sane_makeflags; do  test $skip_next = yes && { skip_next=no; continue; };  case $flg in  *=*|--*) continue;;  -*I) strip_trailopt 'I'; skip_next=yes;;  -*I?*) strip_trailopt 'I';;  -*O) strip_trailopt 'O'; skip_next=yes;;  -*O?*) strip_trailopt 'O';;  -*l) strip_trailopt 'l'; skip_next=yes;;  -*l?*) strip_trailopt 'l';;  -[dED!
 m]) skip_n
ext=yes;;  -[JT]) skip_next=yes;;  esac;  case $flg in  *$target_option*) has_opt=yes; break;;  esac;  done;  test $has_opt = yes); then \
  failcom='fail=yes'; \
else \
  failcom='exit 1'; \
fi; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
case "all-recursive" in \
  distclean-* | maintainer-clean-*) list='spy' ;; \
  *) list='spy' ;; \
esac; \
for subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
  else \
    local_target="$target"; \
  fi; \
  (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && make  $local_target) \
  || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
  make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /sysmgr/sysbin/ccid/pcsc-lite-1.8.17/src
*** Error code 1
The following command caused the error:
fail=; \
if (target_option=k; case ${target_option-} in  ?) ;;  *) echo "am__make_running_with_option: internal error: invalid"  "target option '${target_option-}' specified" >&2;  exit 1;;  esac;  has_opt=no;  sane_makeflags=$MAKEFLAGS; if {  if test -z '1'; then  false;  elif test -n ''; then  true;  elif test -n '' && test -n ''; then  true;  else  false;  fi;  }; then  sane_makeflags=$MFLAGS;  else  case $MAKEFLAGS in  *\\[\ \       ]*)  bs=\\;  sane_makeflags=`printf '%s\n' "$MAKEFLAGS"  | sed "s/$bs$bs[$bs $bs   ]*//g"`;;  esac;  fi;  skip_next=no;  strip_trailopt ()  {  flg=`printf '%s\n' "$flg" | sed "s/$1.*$//"`;  };  for flg in $sane_makeflags; do  test $skip_next = yes && { skip_next=no; continue; };  case $flg in  *=*|--*) continue;;  -*I) strip_trailopt 'I'; skip_next=yes;;  -*I?*) strip_trailopt 'I';;  -*O) strip_trailopt 'O'; skip_next=yes;;  -*O?*) strip_trailopt 'O';;  -*l) strip_trailopt 'l'; skip_next=yes;;  -*l?*) strip_trailopt 'l';;  -[dED!
 m]) skip_n
ext=yes;;  -[JT]) skip_next=yes;;  esac;  case $flg in  *$target_option*) has_opt=yes; break;;  esac;  done;  test $has_opt = yes); then \
  failcom='fail=yes'; \
else \
  failcom='exit 1'; \
fi; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
case "all-recursive" in \
  distclean-* | maintainer-clean-*) list='src etc doc' ;; \
  *) list='src etc doc' ;; \
esac; \
for subdir in $list; do \
  echo "Making $target in $subdir"; \
  if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
  else \
    local_target="$target"; \
  fi; \
  (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && make  $local_target) \
  || eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
  make  "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /sysmgr/sysbin/ccid/pcsc-lite-1.8.17
*** Error code 1
make: Fatal error: Command failed for target `all'
</small>
</pre>
            Hoping you might have some advice on how to build on this
            platform<br>
            <br>
            Thanks,<br>
            Greg<br>
            <br>
            <br>
            <div class="moz-signature"><br>
              <hr> </div>
            <br>
            <fieldset class="mimeAttachmentHeader"></fieldset>
            <br>
            <pre wrap="">_______________________________________________
Pcsclite-muscle mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Pcsclite-muscle@lists.alioth.debian.org">Pcsclite-muscle@lists.alioth.debian.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle</a></pre>
          </blockquote>
          <br>
          <br>
          <fieldset class="mimeAttachmentHeader"></fieldset>
          <br>
          <pre wrap="">_______________________________________________
Pcsclite-muscle mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Pcsclite-muscle@lists.alioth.debian.org">Pcsclite-muscle@lists.alioth.debian.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle</a></pre>
        </blockquote>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
Pcsclite-muscle mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Pcsclite-muscle@lists.alioth.debian.org">Pcsclite-muscle@lists.alioth.debian.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle</a></pre>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Pcsclite-muscle mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Pcsclite-muscle@lists.alioth.debian.org">Pcsclite-muscle@lists.alioth.debian.org</a>
<a class="moz-txt-link-freetext" href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pcsclite-muscle</a></pre>
    </blockquote>
  </body>
</html>