Пока на этапе начальных экспериментов решил не городить полноценный сервак, а использовать то, что уже и так крутится постоянно - NAS Synology, благо в нем все есть что надо - MySQL, Apache, PHP, USB и т.д. Готового пакета owfs под ARM процессор нет, есть только пакет с Digitemp. Скачал owfs-2.8p14 и fuse-2.8.7 и начал собирать... fuse-2.8.7 - ./configure отработала нормально, а вот на этапе MAKE вылезла ошибка:
Код: Выделить всё
make[1]: Entering directory `/root/fuse-2.8.7/include'
make all-am
make[2]: Entering directory `/root/fuse-2.8.7/include'
make[2]: Leaving directory `/root/fuse-2.8.7/include'
make[1]: Leaving directory `/root/fuse-2.8.7/include'
Making all in lib
make[1]: Entering directory `/root/fuse-2.8.7/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/fuse-2.8.7/lib'
Making all in util
make[1]: Entering directory `/root/fuse-2.8.7/util'
/bin/ash ../libtool --tag=CC --mode=link gcc -Wall -W -Wno-sign-compare -Wstrict-prototypes -Wmissing-declarations -Wwrite-strings -g -O2 -fno-strict-aliasing -pthread -o ulockmgr_server ulockmgr_server-ulockmgr_server.o
libtool: link: gcc -Wall -W -Wno-sign-compare -Wstrict-prototypes -Wmissing-declarations -Wwrite-strings -g -O2 -fno-strict-aliasing -pthread -o ulockmgr_server ulockmgr_server-ulockmgr_server.o -pthread
/opt/lib/gcc/arm-none-linux-gnueabi/4.2.3/../../../../arm-none-linux-gnueabi/lib/libpthread.so: undefined reference to `__default_sa_restorer_v2@GLIBC_PRIVATE'
/opt/lib/gcc/arm-none-linux-gnueabi/4.2.3/../../../../arm-none-linux-gnueabi/lib/libpthread.so: undefined reference to `__default_rt_sa_restorer_v2@GLIBC_PRIVATE'
/opt/lib/gcc/arm-none-linux-gnueabi/4.2.3/../../../../arm-none-linux-gnueabi/lib/libpthread.so: undefined reference to `__default_rt_sa_restorer_v1@GLIBC_PRIVATE'
/opt/lib/gcc/arm-none-linux-gnueabi/4.2.3/../../../../arm-none-linux-gnueabi/lib/libpthread.so: undefined reference to `__default_sa_restorer_v1@GLIBC_PRIVATE'
collect2: ld returned 1 exit status
make[1]: *** [ulockmgr_server] Error 1
make[1]: Leaving directory `/root/fuse-2.8.7/util'
make: *** [all-recursive] Error 1
тем более на такой железке на форуме вроде никто еще не делал, для опыта пригодиться.
Сборка owfs пока на этапе ./configure, потому как
Код: Выделить всё
Current configuration:
Deployment location: /opt/owfs
Compile-time options:
Caching is enabled
USB is enabled
I2C is enabled
HA7Net is enabled
W1 is enabled
Multithreading is DISABLED
Parallel port DS1410E is enabled
TAI8570 barometer is enabled
Thermocouple is enabled
Zeroconf/Bonjour is enabled
Debug-output is enabled
Profiling is DISABLED
Tracing memory allocation is DISABLED
1wire bus traffic reports is DISABLED
Module configuration:
owlib is enabled
owshell is enabled
owfs is DISABLED
owhttpd is enabled
owftpd is DISABLED
owserver is enabled
ownet is enabled
ownetlib is enabled
owtap is enabled
owmon is enabled
owcapi is enabled
swig is DISABLED
owperl is DISABLED
owphp is DISABLED
owpython is DISABLED
owtcl is DISABLED
З.Ы. Пока разберусь с софтом и железки приедут, потом начну эксперименты на NAS и на FreeBSD 9 (на последней кстати owfs собрался почти без проблем (libtool пришлось даунгрейднуть на предпоследнюю версию) а fuse так и вообще в портах есть, встал с полпинка).