Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build problems with debian #156

Open
DuaneEllis-TI opened this issue Apr 24, 2017 · 2 comments
Open

Build problems with debian #156

DuaneEllis-TI opened this issue Apr 24, 2017 · 2 comments

Comments

@DuaneEllis-TI
Copy link

DuaneEllis-TI commented Apr 24, 2017

this is a documentation problem/bug not a SW bug.

Debian in my case means: "jessie" Beagle Bone Black Image.

  1. apt-get install dbus libreadline-dev

NOT: libreadline (plain) does not work.

  1. apt-get install autoconf-archive

Is also required.

@DuaneEllis-TI DuaneEllis-TI changed the title if /bin/sh = dash, configure fails Build problems with debian Apr 24, 2017
@embeddedRSA
Copy link

This is also the case for Ubuntu 18.05 bionic... I suspect that libreadline and libreadline-dev used to be too separate packages.. either way my wpantund says that libreadline is active by just getting libreadline-dev.

@silver2row
Copy link

silver2row commented Feb 14, 2022

Hello...

I am building on a similar armhf board: BBGG. Also from beagleboard.org but here is my issue:


wpanctl:wpan0> status
wpan0 => [
	"NCP:State" => "uninitialized:fault"
	"Daemon:Enabled" => true
	"NCP:Version" => ""
	"Daemon:Version" => "0.08.00d (0.07.01-363-ga8f3f76; Feb 14 2022 18:48:16)"
	"Config:NCP:DriverName" => "spinel"
	"NCP:HardwareAddress" => [0000000000000000]
]

I believe this is due to this reasoning:


sudo /usr/local/sbin/wpantund -o WPANInterfaceName wpan0
wpantund[1420]: Starting wpantund 0.08.00d (Feb 14 2022 18:48:16) . . .
wpantund[1420]: 	SOURCE_VERSION = 0.07.01-363-ga8f3f76
wpantund[1420]: 	BUILD_VERSION = 0.07.01-363-ga8f3f76
wpantund[1420]: Configuration file "/usr/local/etc/wpantund.conf" read.
wpantund[1420]: CONFIGURATION PROPERTY "WPANInterfaceName" IS DEPRECATED. Please use "Config:TUN:InterfaceName" instead.
wpantund[1420]: Ready. Using DBUS bus ":1.12"
wpantund[1420]: Running as root without dropping privileges!
wpantund[1420]: SpinelNCPInstance-Protothreads.cpp:412: Requirement Failed (IS_EVENT_FROM_NCP(event) && GetInstance(this)->mInboundHeader == mLastHeader)
wpantund[1420]: Resetting and trying again... (retry 1)
wpantund[1420]: SpinelNCPInstance-Protothreads.cpp:391: Requirement Failed (Timed out while trying to send command)
wpantund[1420]: Resetting and trying again... (retry 2)
wpantund[1420]: NCPInstanceBase-AsyncIO.cpp:99: Check Failed (Operation not permitted)
wpantund[1420]: NCPInstanceBase-AsyncIO.cpp:114: Check Failed (Operation not permitted)
wpantund[1420]: SpinelNCPInstance-Protothreads.cpp:396: Requirement Failed (event == EVENT_NCP_RESET)
wpantund[1420]: Resetting and trying again... (retry 3)
wpantund[1420]: SpinelNCPInstance-Protothreads.cpp:389: Requirement Failed (Timed out while waiting 5 seconds for empty outbound buffer)
wpantund[1420]: The NCP is misbehaving: Repeatedly unable to initialize NCP. Entering fault state.
wpantund[1420]: State change: "uninitialized" -> "uninitialized:fault"
wpantund[1420]: PropSet: Property "NetworkKey" is deprecated. Please use "Network:Key" instead.
wpantund[1420]: PropSet: Property "enabled" is deprecated. Please use "Daemon:Enabled" instead.
wpantund[1420]: PropSet: Property "NetworkKey" is deprecated. Please use "Network:Key" instead.
wpantund[1420]: Experiencing extended insomnia. Resetting internal state.
wpantund[1420]: NCPInstanceBase-AsyncIO.cpp:99: Check Failed (Operation not permitted)
wpantund[1420]: NCPInstanceBase-AsyncIO.cpp:114: Check Failed (Operation not permitted)
wpantund[1420]: State change: "uninitialized:fault" -> "uninitialized"
wpantund[1420]: NCPInstanceBase-AsyncIO.cpp:99: Check Failed (Operation not permitted)
wpantund[1420]: NCPInstanceBase-AsyncIO.cpp:114: Check Failed (Operation not permitted)
wpantund[1420]: NCPInstance: error 0
wpantund[1420]: Resetting and trying again... (retry 1)
wpantund[1420]: SpinelNCPInstance-Protothreads.cpp:391: Requirement Failed (Timed out while trying to send command)
wpantund[1420]: Resetting and trying again... (retry 2)
wpantund[1420]: NCPInstanceBase-AsyncIO.cpp:99: Check Failed (Operation not permitted)
wpantund[1420]: NCPInstanceBase-AsyncIO.cpp:114: Check Failed (Operation not permitted)
wpantund[1420]: SpinelNCPInstance-Protothreads.cpp:396: Requirement Failed (event == EVENT_NCP_RESET)
wpantund[1420]: Resetting and trying again... (retry 3)
wpantund[1420]: SpinelNCPInstance-Protothreads.cpp:389: Requirement Failed (Timed out while waiting 5 seconds for empty outbound buffer)
wpantund[1420]: The NCP is misbehaving: Repeatedly unable to initialize NCP. Entering fault state.
wpantund[1420]: State change: "uninitialized" -> "uninitialized:fault"

If you know of any reasons why this may be taking place, please contact me. I built the lib. on a BBGG and can access ideas but have been getting negative feedback so far.

Seth

P.S. Thank you for replying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants