hyphop / miZy

miZy - tiny fast embedded linux
https://hyphop.github.io/mizy/
107 stars 12 forks source link

baresip segfault #8

Closed probonopd closed 6 years ago

probonopd commented 6 years ago

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?

probonopd commented 6 years ago

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/
probonopd commented 6 years ago

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
hyphop commented 6 years ago

not all openwrt packages work ( and never use opkg install

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

probonopd commented 6 years ago

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

hyphop commented 6 years ago

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

hyphop commented 6 years ago

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