kernel headers
Hi,Debian_Server_jessie_PC2_V0_9_1.img.xz contains a kernel and it's modules, but no kernel headers.
So, It is not possible to build custom kernel driver.
Is there any place, where I can get kernel image, modules, headers, kbuild and so on ?
Thank you.
https://www.armbian.com/orange-pi-pc2/
headers by default, creating custom drivers works. igorpec replied at 2017-7-13 19:29
https://www.armbian.com/orange-pi-pc2/
headers by default, creating custom drivers works.
Hi.
I tried it, kernel part is ok.
But "asterisk" crash with an error in t.38 module
ERROR: astobj2.c:116 INTERNAL_OBJ: user_data is NULL
ERROR: astobj2.c:116 INTERNAL_OBJ: user_data is NULL
ERROR: astobj2.c:116 INTERNAL_OBJ: user_data is NULL
ERROR: res_pjsip_t38.c:865 load_module: Unable to register SDP handler for image stream type
ERROR: astobj2.c:116 INTERNAL_OBJ: user_data is NULL
Is there any other way to get both, kernel headers and asterisk ?
Well, perhaps this is an Asterix problem? From our perspective, things work as it should. Hiccups in kernels are ofc also possible since this is bleeding edge kernel. Not something with a history of stability.
I am not familiar with Asterix, sorry. igorpec replied at 2017-7-20 02:06
Well, perhaps this is an Asterix problem? From our perspective, things work as it should. Hiccups in ...
The same asterisk works in Debian_Server_jessie_PC2_V0_9_1.img.xz .
In Armbian it crash on module load, even before Asterisk try to load configuration.
This module can be processor dependant (as it do a lot of mathematics), if it was compiled with wrong processor type - it can be a reason...
I also failed to build a package...
dpkg-buildpackage -us -uc
dpkg-buildpackage: source package asterisk
dpkg-buildpackage: source version 1:13.1.0~dfsg-1.1ubuntu4.1
dpkg-buildpackage: source distribution xenial
dpkg-buildpackage: source changed by Nishanth Aravamudan <nish.aravamudan@canonical.com>
dpkg-buildpackage: host architecture arm64
dpkg-source --before-build asterisk-13.1.0~dfsg
dpkg-checkbuilddeps: error: Unmet build dependencies: dh-systemd libreadline-dev | libreadline5-dev libgsm1-dev libtonezone-dev (>= 1:2.0.0) libasound2-dev portaudio19-dev libpq-dev unixodbc-dev libmysqlclient-dev | libmysqlclient15-dev libbluetooth-dev libpri-dev (>= 1.4.12) libss7-dev libvpb-dev dahdi-source dh-autoreconf libnewt-dev libsqlite0-dev | libsqlite-dev libsqlite3-dev libspeex-dev libspeexdsp-dev libcurl4-openssl-dev | libcurl-dev libxml2-dev libpopt-dev libiksemel-dev libfreeradius-client-dev | libradiusclient-ng-dev freetds-dev libvorbis-dev libogg-dev libsnmp-dev libc-client2007e-dev | libc-client2007b-dev libgmime-2.6-dev libjack-dev liblua5.1-0-dev libcap-dev (>= 1:2.16-4) | libcap2-dev libspandsp-dev libopenr2-dev libresample1-dev libsrtp-dev libjansson-dev libldap-dev libxslt1-dev uuid-dev libpjproject-dev libncurses-dev libneon27-gnutls-dev | libneon27-dev libsdl2-dev libopencore-amrnb-dev libopencore-amrwb-dev libavformat-dev libv4l-dev libavutil-dev libswscale-dev libavcodec-dev libical-dev libsrtp0-dev libedit-dev binutils-dev
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)
This module can be processor dependant (as it do a lot of mathematics), if it was compiled with wrong processor type - it can be a reason...
Check kernel configuration to see if something critical is missing and try with self-build Jessie. No better idea ATM.
page:
[1]