Hi,

I tried installing pcsc-lite-1.3.3 (svn) on Solaris 10. (x86 DELL optiplex 
gx270) , but encountered failures

I had given  "configure" with disable-libusb.

When I gave make, I found the following error...

---snip----

>/dev/null 2>&1 
/bin/bash ../libtool --tag=CC --mode=link gcc  -Wall -fno-common -g -O2 
-L/usr/local/lib -R/usr/local/lib -o libpcsclite.la -rpath /usr/local/lib 
-version-info 1:0:0 libpcsclite_la- debug.lo  libpcsclite_la-dyn_hpux.lo 
libpcsclite_la-dyn_macosx.lo  libpcsclite_la-dyn_unix.lo 
libpcsclite_la-error.lo  libpcsclite_la-winscard_clnt.lo 
libpcsclite_la-strlcat.lo  libpcsclite_la-strlcpy.lo 
libpcsclite_la-sys_unix.lo  libpcsclite_la-thread_unix.lo 
libpcsclite_la-winscard_msg.lo   -ldl  -D_REENTRANT -pthread  -lsocket 
gcc -shared -Wl,-h -Wl,libpcsclite.so.1 -o .libs/libpcsclite.so.1.0.0 
.libs/libpcsclite_la-debug.o .libs/libpcsclite_la-dyn_hpux.o 
.libs/libpcsclite_la-dyn_macosx.o .libs/libpcsclite_la-dyn_unix.o 
.libs/libpcsclite_la- error.o .libs/libpcsclite_la-winscard_clnt.o 
.libs/libpcsclite_la-strlcat.o .libs/libpcsclite_la-strlcpy.o 
.libs/libpcsclite_la-sys_unix.o .libs/libpcsclite_la-thread_unix.o 
.libs/libpcsclite_la-winscard_msg.o  -R/usr/local/lib -L/usr/local/lib 
-ldl -lsocket -lc  -pthread 
gcc: unrecognized option `-pthread'
Text relocation remains                     referenced
    against symbol            offset    in file
SHMMessageReceive                   0x4ed 
.libs/libpcsclite_la-winscard_msg.o 
SYS_CloseFile                       0x51e .libs/libpcsclite_la-sys_unix.o
SYS_CloseFile                       0x533 .libs/libpcsclite_la-sys_unix.o
SYS_CloseFile                       0x544 .libs/libpcsclite_la-sys_unix.o 
SHMMessageSend                      0x582 
.libs/libpcsclite_la-winscard_msg.o
SHMMessageSend                      0x5b6 
.libs/libpcsclite_la-winscard_msg.o
SHMMessageSend                      0x5e3 
.libs/libpcsclite_la-winscard_msg.o 
SYS_Chdir                           0x4cf .libs/libpcsclite_la-sys_unix.o
SYS_Fork                            0x47e .libs/libpcsclite_la-sys_unix.o
SYS_Fork                            0x499 .libs/libpcsclite_la-sys_unix.o 
SYS_GetSeed                         0x7c8 .libs/libpcsclite_la-sys_unix.o
ld: fatal: relocations remain against allocatable but non-writable 
sections
collect2: ld returned 1 exit status
*** Error code 1 
make: Fatal error: Command failed for target `libpcsclite.la'
Current working directory /vinod/pcsc-lite/pcsc-lite-1.3.2/src
*** Error code 1
The following command caused the error:
failcom='exit 1'; \ 
for f in x $MAKEFLAGS; do \
  case $f in \
    *=* | --[!k]*);; \
    *k*) failcom='fail=yes';; \
  esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='. utils'; 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; \
  (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 /vinod/pcsc-lite/pcsc-lite-1.3.2/src
*** Error code 1
The following command caused the error:
failcom='exit 1'; \ 
for f in x $MAKEFLAGS; do \
  case $f in \
    *=* | --[!k]*);; \
    *k*) failcom='fail=yes';; \
  esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='m4 win32 src etc doc'; 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; \
  (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 /vinod/pcsc-lite/pcsc-lite-1.3.2
*** Error code 1
make: Fatal error: Command failed for target `all'

---snip---

After googling , I added "-mimpure-text" to the linker flags. Also, 
documents compilation errors were found. I removed that. Afte this, pcscd 
compiled. But, then I found that the function "HPSearchHotPluggables" 
function went to hotplug_generic.c file which actually returned nothing. 
Hence, I none of the usb bundles were being loaded. 

Any pointers on what I am missing here would be of great help to me.

I found that hotplug was not present. Searching through Sun's site, I 
found that hotplug was part of the DDI. Am confused as to how to handle 
this. 

I am new to Solaris and just now getting used to it.

Thanks in Advance
Joseph Antony
_______________________________________________
Muscle mailing list
Muscle@lists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to