hyphop / miZy

miZy - tiny fast embedded linux

Home Page:https://hyphop.github.io/mizy/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

baresip segfault

probonopd opened this issue · comments

Added src telephony http://archive.openwrt.org/snapshots/trunk/sunxi/generic/packages/telephony/ to /etc/opkg/local.conf and ran

root@miZy:/# opkg update
root@miZy:/# opkg install baresip-mod-alsa
Installing baresip-mod-alsa (0.5.6-3) to root...
Downloading http://archive.openwrt.org/snapshots/trunk/sunxi/generic/packages/telephony//baresip-mod-alsa_0.5.6-3_sunxi.ipk.
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for baresip-mod-alsa:
 *      kmod-sound-core * 
 * opkg_install_cmd: Cannot install package baresip-mod-alsa.

How can I install it?

It woked after editing /etc/opkg/local.conf :

# local openwrt feeds
#
src telephony http://archive.openwrt.org/snapshots/trunk/sunxi/generic/packages/telephony/
src packages http://archive.openwrt.org/snapshots/trunk/sunxi/generic/packages/packages/
src base http://archive.openwrt.org/snapshots/trunk/sunxi/generic/packages/base/
src kernel http://archive.openwrt.org/snapshots/trunk/sunxi/generic/packages/kernel/
src luci http://archive.openwrt.org/snapshots/trunk/sunxi/generic/packages/luci/

But getting a segfault:

root@miZy:/# opkg install baresip-mod-alsa
Installing baresip-mod-alsa (0.5.6-3) to root...
Downloading http://archive.openwrt.org/snapshots/trunk/sunxi/generic/packages/telephony//baresip-mod-alsa_0.5.6-3_sunxi.ipk.
Installing baresip (0.5.6-3) to root...
Downloading http://archive.openwrt.org/snapshots/trunk/sunxi/generic/packages/telephony//baresip_0.5.6-3_sunxi.ipk.
Configuring baresip.
Segmentation fault
Configuring baresip-mod-alsa.
root@miZy:/# baresip 
Segmentation fault

not all openwrt packages work (
and never use opkg install

only opkg --nodeps install
because we no need openwrt kmod*

baresip-mod-alsa is not a kernel module but a plugin for baresip (a SIP phone client).

yes i know ! but if u install some package which need another packages for example kernel modules
u must be careful & i recommend install packages via opkg --nodeps - and after one by one solve deps

u can build any packages by himself https://github.com/hyphop/miZy-openwrt-sdk
its more true way