18 Maja 2025 10:09:46
Nawigacja
· Strona Główna
· Forum

· Tomato by Shibby
· FreshTomato


Wątki na forum
Najnowsze dyskusje
· Promise VessRAID 184...
· Własna kompilacja t...
· [S] Qnap QSW-2104-2T...
· r6400v2 bład przy u...
· drukarka drukuje tyl...
· [S] sprzęt sieciowy...
· Router do światłow...
· [sprzedam] Asus RT-A...
· Netia IPv6
· Multiroom N z wykorz...
· [S] Ubiquity Edgerou...
· [MOD] FreshTomato-AR...
· Nowe routery: UX, UC...
· asus rt-ax86u pro z ...
· Zmiana OpenVPN na wi...
· [S]UBIQUITI EdgeRout...
· Zaawansowana konfigu...
· ByPass VPN dla wybra...
· [MOD] FreshTomato-MI...
· Komputer Serwer
Najpopularniejsze obecnie wątki
· Własna kompilacj... [72]
· Promise VessRAID ... [2]
· [S] Qnap QSW-2104... [0]
Ankieta
Jaki procesor posiada twój router?

Broadcom MIPSEL
Broadcom MIPSEL
36% [152 głosów]

Broadcom ARM
Broadcom ARM
52% [219 głosów]

Atheros
Atheros
5% [22 głosów]

Marvell
Marvell
1% [4 głosów]

Ralink
Ralink
1% [3 głosów]

Intel/AMD/VIA
Intel/AMD/VIA
1% [5 głosów]

Żaden z powyższych
Żaden z powyższych
4% [15 głosów]

Ogółem głosów: 420
Musisz zalogować się, aby móc zagłosować.
Rozpoczęto: 02/02/2015 09:38
Twoje IP
3.15.149.154
Zobacz wątek
OpenLinksys » :: OPROGRAMOWANIE :: » Tomato - firmware
 Drukuj wątek
Kompilacja OSCAM z obsługą PCSC dla Tomato. Problem z kompilacją PCSC dla Tomato Toolchain.
JakubVTT
Witam. Mam problem z kompilacją PCSC dla Tomato Toolchain.
Nie wiem czemu po poleceniu ./configure PCSC nie widzi libusb w $TOOLCHAIN/lib.

Opiszę po kolei wszystko:

#Pobieranie źródeł Tomato i ustawianie zmiennych:

git clone git://repo.or.cz/tomato.git
cd tomato
git checkout -b tomato-shibby-RT-N origin/tomato-shibby-RT-N
sudo ln -s /home/jakub/Dokumenty/TomatoSource/tomato/tools/brcm /opt/brcm
export PATH=/opt/brcm/hndtools-mipsel-linux/bin:/opt/brcm/hndtools-mipsel-uclibc/bin:$PATH
export STAGING_DIR=/opt/brcm/hndtools-mipsel-uclibc
export TOOLCHAIN=/opt/brcm/hndtools-mipsel-uclibc
export RANLIB=$TOOLCHAIN/bin/mipsel-linux-uclibc-ranlib
export CC=$TOOLCHAIN/bin/mipsel-linux-uclibc-gcc


#Instalacja LIBUSB

cd libusb-1.0.9
./configure --prefix=/ --host=mipsel-linux-uclibc
make
sudo make DESTDIR=$TOOLCHAIN install


#Pobieranie i kompilacja OSCAM z LIBUSB

svn checkout -r 8950 http://www.streamboard.tv/svn/oscam/trunk oscam-svn8950
cd oscam-svn8950
./config.sh -D all -E WEBIF WITH_DEBUG MODULE_NEWCAMD MODULE_CCCAM READER_SECA CARDREADER_PHOENIX
make CROSS=$TOOLCHAIN/bin/mipsel-linux-uclibc- CONF_DIR=/etc/config/oscam USE_LIBUSB=1


jakub@tplink:~/Dokumenty/Latest/oscam-svn8950$ make CROSS=$TOOLCHAIN/bin/mipsel-linux-uclibc- CONF_DIR=/etc/config/oscam USE_LIBUSB=1
+-------------------------------------------------------------------------------
| OSCam ver: 1.20-unstable_svn rev: 8950 target: mipsel-linux-uclibc-libusb
| Tools:
|  CROSS    = /opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-linux-uclibc-
|  CC       = /opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-linux-uclibc-gcc
| Settings:
|  CONF_DIR = /etc/config/oscam
|  CC_OPTS  = -O2 -ggdb -pipe -ffunction-sections -fdata-sections
|  CC_WARN  = -W -Wall -Wshadow -Wredundant-decls -Wstrict-prototypes -Wold-style-definition
|  CFLAGS   = -DWITH_LIBUSB=1
|  LDFLAGS  = -Wl,--gc-sections -DWITH_LIBUSB=1
|  LIBS     = -lusb-1.0 -lrt -lpthread -ldl
|  UseFlags = USE_LIBUSB=1
| Config:
|  Addons   : WEBIF WITH_DEBUG
|  Protocols: NEWCAMD CCCAM
|  Readers  : SECA
|  CardRdrs : PHOENIX
|  Compiler : mipsel-linux-uclibc-gcc (GCC) 4.2.4
|  Binary   : Distribution/oscam-1.20-unstable_svn8950-mipsel-linux-uclibc-libusb
+-------------------------------------------------------------------------------
HOSTCC   webif/pages_gen
GEN   webif/pages.c
GEN   Compressed 155840 template bytes into 54473 bytes. 101367 saved bytes (65.05%).
CC   cscrypt/aes.c
CC   cscrypt/des.c
CC   cscrypt/i_cbc.c
CC   cscrypt/i_ecb.c
CC   cscrypt/i_skey.c
CC   cscrypt/md5.c
CC   cscrypt/rc6.c
CC   cscrypt/sha1.c
CC   csctapi/atr.c
CC   csctapi/icc_async.c
CC   csctapi/io_serial.c
CC   csctapi/protocol_t0.c
CC   csctapi/protocol_t1.c
CC   csctapi/ifd_phoenix.c
CC   csctapi/ifd_smartreader.c
CC   minilzo/minilzo.c
CC   module-cccam.c
CC   module-newcamd.c
CC   module-webif-lib.c
CC   module-webif-tpl.c
CC   module-webif.c
CC   webif/pages.c
CC   reader-common.c
CC   reader-seca.c
CC   oscam-aes.c
CC   oscam-chk.c
CC   oscam-client.c
CC   oscam-conf.c
CC   oscam-conf-chk.c
CC   oscam-conf-mk.c
CC   oscam-config-account.c
CC   oscam-config-global.c
CC   oscam-config-reader.c
CC   oscam-config.c
CC   oscam-ecm.c
CC   oscam-emm.c
CC   oscam-failban.c
CC   oscam-files.c
CC   oscam-garbage.c
CC   oscam-lock.c
CC   oscam-log.c
CC   oscam-log-reader.c
CC   oscam-net.c
CC   oscam-llist.c
CC   oscam-reader.c
CC   oscam-simples.c
CC   oscam-string.c
CC   oscam-time.c
CC   oscam-work.c
CC   oscam.c
CONF   build/mipsel-linux-uclibc-libusb/config.c
LINK   Distribution/oscam-1.20-unstable_svn8950-mipsel-linux-uclibc-libusb.debug
STRIP   Distribution/oscam-1.20-unstable_svn8950-mipsel-linux-uclibc-libusb
BUILD   Distribution/list_smargo-1.20-unstable_svn8950-mipsel-linux-uclibc-libusb
jakub@tplink:~/Dokumenty/Latest/oscam-svn8950$


Jak widać do tej pory wszystko przebiegło bez problemu i OSCAM kompiluje się poprawnie.

Teraz chcę zainstalować PCSC:

cd pcsc-lite-1.8.8
./configure --disable-libudev --host=mipsel-linux-uclibc --prefix=$TOOLCHAIN --exec-prefix=$TOOLCHAIN --disable-shared LIBUSB_LIBS="-L$TOOLCHAIN/lib -lusb-1.0" LIBUSB_CFLAGS="-I$TOOLCHAIN/include/libusb-1.0"
make
sudo make install


jakub@tplink:~/Dokumenty/Latest/pcsc-lite-1.8.8$ ./configure --disable-libudev --host=mipsel-linux-uclibc --prefix=$TOOLCHAIN --exec-prefix=$TOOLCHAIN --disable-shared LIBUSB_LIBS="-L$TOOLCHAIN/lib -lusb-1.0" LIBUSB_CFLAGS="-I$TOOLCHAIN/include/libusb-1.0"
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for mipsel-linux-uclibc-strip... mipsel-linux-uclibc-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... mipsel-unknown-linux-uclibc
checking for mipsel-linux-uclibc-gcc... /opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-linux-uclibc-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-linux-uclibc-gcc accepts -g... yes
checking for /opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-linux-uclibc-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of /opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-linux-uclibc-gcc... gcc3
checking how to run the C preprocessor... /opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-linux-uclibc-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking whether to enable maintainer-specific portions of Makefiles... no
checking how to run the C preprocessor... /opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-linux-uclibc-gcc -E
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... none needed
checking whether yytext is a pointer... no
checking for mipsel-linux-uclibc-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
configure: WARNING: using cross tools not prefixed with host triplet
checking pkg-config is at least version 0.9.0... yes
checking whether /opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-linux-uclibc-gcc and cc understand -c and -o together... yes
checking for mipsel-linux-uclibc-ar... mipsel-linux-uclibc-ar
checking the archiver (mipsel-linux-uclibc-ar) interface... ar
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... no
checking for pthread_cancel... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by /opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-linux-uclibc-gcc... /home/jakub/Dokumenty/TomatoSource/tomato/tools/brcm/K26/hndtools-mipsel-uclibc-4.2.4/mipsel-linux-uclibc/bin/ld
checking if the linker (/home/jakub/Dokumenty/TomatoSource/tomato/tools/brcm/K26/hndtools-mipsel-uclibc-4.2.4/mipsel-linux-uclibc/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /opt/brcm/hndtools-mipsel-linux/bin/mipsel-linux-uclibc-nm -B
checking the name lister (/opt/brcm/hndtools-mipsel-linux/bin/mipsel-linux-uclibc-nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to mipsel-unknown-linux-uclibc format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /home/jakub/Dokumenty/TomatoSource/tomato/tools/brcm/K26/hndtools-mipsel-uclibc-4.2.4/mipsel-linux-uclibc/bin/ld option to reload object files... -r
checking for mipsel-linux-uclibc-objdump... mipsel-linux-uclibc-objdump
checking how to recognize dependent libraries... pass_all
checking for mipsel-linux-uclibc-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for mipsel-linux-uclibc-ar... (cached) mipsel-linux-uclibc-ar
checking for archiver @FILE support... @
checking for mipsel-linux-uclibc-strip... (cached) mipsel-linux-uclibc-strip
checking for mipsel-linux-uclibc-ranlib... /opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-linux-uclibc-ranlib
checking command to parse /opt/brcm/hndtools-mipsel-linux/bin/mipsel-linux-uclibc-nm -B output from /opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-linux-uclibc-gcc object... ok
checking for sysroot... no
checking for mipsel-linux-uclibc-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-linux-uclibc-gcc supports -fno-rtti -fno-exceptions... no
checking for /opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-linux-uclibc-gcc option to produce PIC... -fPIC -DPIC
checking if /opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-linux-uclibc-gcc PIC flag -fPIC -DPIC works... yes
checking if /opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-linux-uclibc-gcc static flag -static works... yes
checking if /opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-linux-uclibc-gcc supports -c -o file.o... yes
checking if /opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-linux-uclibc-gcc supports -c -o file.o... (cached) yes
checking whether the /opt/brcm/hndtools-mipsel-uclibc/bin/mipsel-linux-uclibc-gcc linker (/home/jakub/Dokumenty/TomatoSource/tomato/tools/brcm/K26/hndtools-mipsel-uclibc-4.2.4/mipsel-linux-uclibc/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for an ANSI C-conforming const... yes
checking for uid_t in sys/types.h... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for error_at_line... yes
checking whether lstat correctly handles trailing slash... no
checking whether stat accepts an empty string... yes
checking for vprintf... yes
checking for _doprnt... no
checking for daemon... yes
checking for flock... yes
checking for getopt_long... yes
checking for nanosleep... yes
checking for strerror... yes
checking for vsnprintf... yes
checking for strlcpy... yes
checking for strlcat... yes
checking for inline... inline
checking for -fvisibility=hidden... yes
checking for dlopen in -ldl... yes
checking for socket in -lsocket... no
checking for mq_getattr in -lrt... yes
checking for LIBUSB... yes
checking libusb.h usability... yes
checking libusb.h presence... yes
checking for libusb.h... yes
checking for libusb_init... configure: error: libusb not found, use ./configure LIBUSB_LIBS=...
jakub@tplink:~/Dokumenty/Latest/pcsc-lite-1.8.8$


Pełny config.log z PCSC na Pastebin http://pastebin.com/mVvct49i

PCSC nie widzi libusb w $TOOLCHAIN/lib co jest nieprawdą bo:

jakub@tplink:~/Dokumenty/Latest/pcsc-lite-1.8.8$ ls -l $TOOLCHAIN/lib
razem 9720
-rw-r--r-- 1 jakub jakub    1092 paź  7 00:17 crt1.o
-rw-r--r-- 1 jakub jakub    1352 paź  7 00:17 crti.o
-rw-r--r-- 1 jakub jakub    1172 paź  7 00:17 crtn.o
drwxr-xr-x 3 jakub jakub    4096 paź  7 00:17 gcc
drwxr-xr-x 2 jakub jakub    4096 paź  7 00:17 ldscripts
-rwxr-xr-x 1 jakub jakub   26784 paź  7 00:17 ld-uClibc-0.9.30.1.so
lrwxrwxrwx 1 jakub jakub      21 paź  7 00:17 ld-uClibc.so.0 -> ld-uClibc-0.9.30.1.so
-rw-r--r-- 1 jakub jakub 1600132 paź  7 00:17 libc.a
lrwxrwxrwx 1 jakub jakub       6 paź  7 00:17 libc_pic.a -> libc.a
-rw-r--r-- 1 jakub jakub   11280 paź  7 00:17 libcrypt-0.9.30.1.so
-rw-r--r-- 1 jakub jakub   19046 paź  7 00:17 libcrypt.a
lrwxrwxrwx 1 jakub jakub      10 paź  7 00:17 libcrypt_pic.a -> libcrypt.a
lrwxrwxrwx 1 jakub jakub      13 paź  7 00:17 libcrypt.so -> libcrypt.so.0
lrwxrwxrwx 1 jakub jakub      20 paź  7 00:17 libcrypt.so.0 -> libcrypt-0.9.30.1.so
lrwxrwxrwx 1 jakub jakub       9 paź  7 00:17 libc.so -> libc.so.0
lrwxrwxrwx 1 jakub jakub      21 paź  7 00:17 libc.so.0 -> libuClibc-0.9.30.1.so
-rw-r--r-- 1 jakub jakub    9432 paź  7 00:17 libdl-0.9.30.1.so
-rw-r--r-- 1 jakub jakub   30982 paź  7 00:17 libdl.a
lrwxrwxrwx 1 jakub jakub       7 paź  7 00:17 libdl_pic.a -> libdl.a
lrwxrwxrwx 1 jakub jakub      10 paź  7 00:17 libdl.so -> libdl.so.0
lrwxrwxrwx 1 jakub jakub      17 paź  7 00:17 libdl.so.0 -> libdl-0.9.30.1.so
lrwxrwxrwx 1 jakub jakub      13 paź  7 00:17 libgcc_s.so -> libgcc_s.so.1
-rw-r--r-- 1 jakub jakub  261998 paź  7 00:17 libgcc_s.so.1
-rw-r--r-- 1 jakub jakub  268926 paź  7 00:17 libiberty.a
-rw-r--r-- 1 jakub jakub   60736 paź  7 00:17 libm-0.9.30.1.so
-rw-r--r-- 1 jakub jakub  258760 paź  7 00:17 libm.a
lrwxrwxrwx 1 jakub jakub       6 paź  7 00:17 libm_pic.a -> libm.a
lrwxrwxrwx 1 jakub jakub       9 paź  7 00:17 libm.so -> libm.so.0
lrwxrwxrwx 1 jakub jakub      16 paź  7 00:17 libm.so.0 -> libm-0.9.30.1.so
-rw-r--r-- 1 jakub jakub    1592 paź  7 00:17 libnsl-0.9.30.1.so
-rw-r--r-- 1 jakub jakub    1160 paź  7 00:17 libnsl.a
lrwxrwxrwx 1 jakub jakub       8 paź  7 00:17 libnsl_pic.a -> libnsl.a
lrwxrwxrwx 1 jakub jakub      11 paź  7 00:17 libnsl.so -> libnsl.so.0
lrwxrwxrwx 1 jakub jakub      18 paź  7 00:17 libnsl.so.0 -> libnsl-0.9.30.1.so
-rw-r--r-- 1 jakub jakub   80160 paź  7 00:17 libpthread-0.9.30.1.so
-rw-r--r-- 1 jakub jakub  153210 paź  7 00:17 libpthread.a
lrwxrwxrwx 1 jakub jakub      12 paź  7 00:17 libpthread_pic.a -> libpthread.a
lrwxrwxrwx 1 jakub jakub      15 paź  7 00:17 libpthread.so -> libpthread.so.0
lrwxrwxrwx 1 jakub jakub      22 paź  7 00:17 libpthread.so.0 -> libpthread-0.9.30.1.so
-rw-r--r-- 1 jakub jakub    1596 paź  7 00:17 libresolv-0.9.30.1.so
-rw-r--r-- 1 jakub jakub    1168 paź  7 00:17 libresolv.a
lrwxrwxrwx 1 jakub jakub      11 paź  7 00:17 libresolv_pic.a -> libresolv.a
lrwxrwxrwx 1 jakub jakub      14 paź  7 00:17 libresolv.so -> libresolv.so.0
lrwxrwxrwx 1 jakub jakub      21 paź  7 00:17 libresolv.so.0 -> libresolv-0.9.30.1.so
-rw-r--r-- 1 jakub jakub    4372 paź  7 00:17 librt-0.9.30.1.so
-rw-r--r-- 1 jakub jakub   15772 paź  7 00:17 librt.a
lrwxrwxrwx 1 jakub jakub       7 paź  7 00:17 librt_pic.a -> librt.a
lrwxrwxrwx 1 jakub jakub      10 paź  7 00:17 librt.so -> librt.so.0
lrwxrwxrwx 1 jakub jakub      17 paź  7 00:17 librt.so.0 -> librt-0.9.30.1.so
-rw-r--r-- 1 jakub jakub   19768 paź  7 00:17 libssp.a
-rwxr-xr-x 1 jakub jakub     776 paź  7 00:17 libssp.la
-rw-r--r-- 1 jakub jakub    1322 paź  7 00:17 libssp_nonshared.a
-rwxr-xr-x 1 jakub jakub     758 paź  7 00:17 libssp_nonshared.la
lrwxrwxrwx 1 jakub jakub      15 paź  7 00:17 libssp.so -> libssp.so.0.0.0
lrwxrwxrwx 1 jakub jakub      15 paź  7 00:17 libssp.so.0 -> libssp.so.0.0.0
-rwxr-xr-x 1 jakub jakub   10436 paź  7 00:17 libssp.so.0.0.0
-rw-r--r-- 1 jakub jakub 2378422 paź  7 00:17 libstdc++.a
-rwxr-xr-x 1 jakub jakub    1537 paź  7 00:17 libstdc++.la
-rw-r--r-- 1 jakub jakub 2374132 paź  7 00:17 libstdc++_pic.a
lrwxrwxrwx 1 jakub jakub      18 paź  7 00:17 libstdc++.so -> libstdc++.so.6.0.9
lrwxrwxrwx 1 jakub jakub      18 paź  7 00:17 libstdc++.so.6 -> libstdc++.so.6.0.9
-rwxr-xr-x 1 jakub jakub 1156736 paź  7 00:17 libstdc++.so.6.0.9
-rw-r--r-- 1 jakub jakub  205502 paź  7 00:17 libsupc++.a
-rwxr-xr-x 1 jakub jakub    1445 paź  7 00:17 libsupc++.la
-rw-r--r-- 1 jakub jakub  444080 paź  7 00:17 libuClibc-0.9.30.1.so
-rw-r--r-- 1 jakub jakub  253810 paź  7 00:42 libusb-1.0.a
-rwxr-xr-x 1 jakub jakub     944 paź  7 00:42 libusb-1.0.la
lrwxrwxrwx 1 jakub jakub      19 paź  7 16:52 libusb-1.0.so -> libusb-1.0.so.0.1.0
lrwxrwxrwx 1 jakub jakub      19 paź  7 16:52 libusb-1.0.so.0 -> libusb-1.0.so.0.1.0
-rwxr-xr-x 1 jakub jakub  187352 paź  7 00:42 libusb-1.0.so.0.1.0
-rw-r--r-- 1 jakub jakub    4808 paź  7 00:17 libutil-0.9.30.1.so
-rw-r--r-- 1 jakub jakub    9572 paź  7 00:17 libutil.a
lrwxrwxrwx 1 jakub jakub       9 paź  7 00:17 libutil_pic.a -> libutil.a
lrwxrwxrwx 1 jakub jakub      12 paź  7 00:17 libutil.so -> libutil.so.0
lrwxrwxrwx 1 jakub jakub      19 paź  7 00:17 libutil.so.0 -> libutil-0.9.30.1.so
drwxr-xr-x 2 jakub jakub    4096 paź  7 00:17 optinfo
drwxr-xr-x 2 root  root     4096 paź  7 00:42 pkgconfig
-rw-r--r-- 1 jakub jakub    1092 paź  7 00:17 Scrt1.o
-rw-r--r-- 1 jakub jakub    1216 paź  7 00:17 uclibc_nonshared.a
jakub@tplink:~/Dokumenty/Latest/pcsc-lite-1.8.8$


jakub@tplink:~/Dokumenty/Latest/pcsc-lite-1.8.8$ ls -l $TOOLCHAIN/include/libusb-1.0
razem 48
-rw-r--r-- 1 jakub jakub 48837 paź  7 00:42 libusb.h
jakub@tplink:~/Dokumenty/Latest/pcsc-lite-1.8.8$


Proszę o pomoc co jest nie tak, dlaczego pomimo poprawnej konfiguracji LIBUSB_LIBS w poleceniu ./configure PCSC nie widzi libusb pomimo że fizycznie istnieją tam gdzie należy. Oscam z libusb kompiluje się poprawnie.

Połączony z 25 październik 2013 19:12:16:
Nie udało mi się znaleźć przyczyny dlaczego PCSC nie widzi LIBUSB.
Ominąłem ten problem wyłączając LIBUSB. Rozwiązanie znalazłem w wątku na forum Digital Eliteboard "Oscam-PCSC-auf-DD-WRT-Build-18777-auf-Cisco-E3200"
http://www.digital-eliteboard.com/sho...isco-E3200

Prawidłowa instalacja PCSC powinna wyglądać następująco:

wget https://alioth.debian.org/frs/download.php/file/3695/pcsc-lite-1.8.2.tar.bz2
tar xvf pcsc-lite-1.8.2.tar.bz2
cd pcsc-lite-1.8.2
./configure --disable-libudev --host=mipsel-linux-uclibc --prefix=$TOOLCHAIN --exec-prefix=$TOOLCHAIN --disable-shared --disable-libusb
make
make install

Edytowany przez JakubVTT dnia 25-10-2013 19:12
TP-Link WDR-4300 v1.3 OpenWrt 12.09.1 (r38347) by obsy
Mój Dropbox https://www.dropbox.com/l/haRHycK8sfX...HVbQyqj8Hb
 
Przejdź do forum
Zaloguj
Wprowadź adres e-mail lub nazwę użytkownika

Hasło



Nie masz jeszcze konta? Zarejestruj się.

Zapomniałeś/aś hasła?
Aktualnie online
· Gości online: 72

· Użytkowników online: 0

· Łącznie użytkowników: 24,126
· Najnowszy użytkownik: goldi111
Czat
Musisz się zalogować, aby opublikować wiadomość.

Maniek91PL
15-05-2025 19:35
witam! było coś gdzieś o obsłudze asus mesh w tomato moze? chętnie bym przetestował u rodziców

servee
24-01-2025 18:18
Światłowód + mediakonwenter. Ekranowana skrętka nie jest wymagana, taką sytuację już zastałem. Zamierzam ją wymienić na zwykłą. Da to coś?

shibby
17-01-2025 07:45
a ta skrętka ekranowana o której piszesz to jakiś wkopany przewód do bramy/furtki/kamer
y zewn? Jak tak to jego też przez zabezpieczenie podepnij.

shibby
17-01-2025 07:43
no to pora zabezpieczyć kable LAN zabezpieczeniami przeciwprzepięciow
ymi - tanio nie będzie. Jak przychodzi ci internet? Skrętką czy światłem? Jak skrętką to zacząłbym od tego.

servee
12-01-2025 12:52
Ponownie padły mi wszystkie porty sieciowe w routerze - to już 3-ci w 6 m-cy. Podejrzany to ekranowana, nieuziemiona skrętka - 12mb. Czy jest to możliwe?

dawidt
21-12-2024 01:09
siema Grin

Maniek91PL
06-11-2024 22:37
dzięki !Grin

maxikaaz
29-10-2024 14:27
@Maniek91PL - Administration=> Admin Access, i tam masz "Allow Wireless Access" do zaznaczenia

Maniek91PL
26-10-2024 22:07
siemka! ktoś przypomni co się ustawiało jeśli nie mogę wejść od strony wifi do tomato? od lan działa

overflow2
04-10-2024 17:34
Kupowałem Asusy n10u albo n12d1 ale nie widzę ich, chyba już nie produkują, Chodzi o coś nowego i taniego. Transfery niewielkie.

117,376,726 unikalnych wizyt