ahh bon, sur Raspberry aussi?
pour moi il trouvait pas phtsem sans cette commande d'établissement des liens de bibiothèque
La compilation de bcusdk foirait:
Compilation de pthsem:
wget
http://www.auto.tuwien.ac.at/~mkoegler/p...0.8.tar.gz
tar xvfz pthsem_2.0.8.tar.gz
cd pthsem-2.0.8
./configure –with-mctx-mth=sjlj –with-mctx-dsp=ssjlj –with-mctx-stk=sas –disable-shared
make
sudo make install
cd ..
ICI j'ai du ajouter un sudo ldconfig
Compilation de eibd:
wget
http://www.auto.tuwien.ac.at/~mkoegler/e...0.5.tar.gz
tar xvfz bcusdk_0.0.5.tar.gz
cd bcusdk-0.0.5
./configure –without-pth-test –enable-onlyeibd –enable-eibnetip –enable-eibnetiptunnel –enable-eibnetipserver –enable-groupcache –enable-usb
make
sudo make install
cd ..
ci joint mon daemon eib modifié.
C'est pas gd chose mais dans la partie demarrage du daemon j'ai ajouté un mkdir /tmp/eib, car il disparait a chaque reboot. C'est peut etre pas elegant mais ca marche
#
# Function that starts the daemon/service
#
do_start()
{
mkdir /tmp/eib
route add 224.0.23.12 dev eth0
#echo "DEBUG args: $DAEMON_ARGS eibdi: $EIBD_I eibdt: $EIBD_T eibdr: $EIBD_R backend: $EIBD_BACKEND url: $EIBD_URL port: $EIBD_PORT addrtab: $EIBD_BCUADDRTAB"
# Return
# 0 if daemon has been started
# 1 if daemon was already running
# 2 if daemon could not be started
start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \
|| return 1
do_init
echo "*** Starting $DESC: $NAME using $EIBD_URL"
start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \
$DAEMON_ARGS \
|| return 2
# Add code here, if necessary, that waits for the process to be ready
# to handle requests from services started subsequently which depend
# on this one. As a last resort, sleep for some time.
sleep 2
chmod a+rw /tmp/eib
}