SBo scripts not building on current (read 1st post, pls)
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
-O2 -fPIC -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC -O2 -MD -MT pri_facility.o -MF .pri_facility.o.d -MP -c -o pri_facility.o pri_facility.c
q921.c: In function ‘q921_receive’:
q921.c:1501:20: error: array subscript 0 is outside the bounds of an interior zero-length array ‘u_int8_t[0]’ {aka ‘unsigned char[]’} [-Werror=zero-length-bounds]
1501 | if (h->data[0] != 0x0f) {
| ~~~~~~~^~~
In file included from pri_internal.h:35,
from q921.c:38:
pri_q921.h:136:18: note: while referencing ‘data’
136 | u_int8_t data[0]; /* Any further data */
| ^~~~
q921.c:1510:20: error: array subscript 3 is outside the bounds of an interior zero-length array ‘u_int8_t[0]’ {aka ‘unsigned char[]’} [-Werror=zero-length-bounds]
1510 | if (h->data[3] != Q921_TEI_IDENTITY_CHECK_RESPONSE
| ~~~~~~~^~~
In file included from pri_internal.h:35,
from q921.c:38:
pri_q921.h:136:18: note: while referencing ‘data’
136 | u_int8_t data[0]; /* Any further data */
| ^~~~
q921.c:1511:29: error: array subscript 4 is outside the bounds of an interior zero-length array ‘u_int8_t[0]’ {aka ‘unsigned char[]’} [-Werror=zero-length-bounds]
1511 | && !(h->data[4] & 0x01)) {
| ~~~~~~~^~~
In file included from pri_internal.h:35,
from q921.c:38:
pri_q921.h:136:18: note: while referencing ‘data’
136 | u_int8_t data[0]; /* Any further data */
| ^~~~
q921.c:1528:22: error: array subscript 1 is outside the bounds of an interior zero-length array ‘u_int8_t[0]’ {aka ‘unsigned char[]’} [-Werror=zero-length-bounds]
1528 | ri = (h->data[1] << 8) | h->data[2];
| ~~~~~~~^~~
In file included from pri_internal.h:35,
from q921.c:38:
pri_q921.h:136:18: note: while referencing ‘data’
136 | u_int8_t data[0]; /* Any further data */
| ^~~~
q921.c:1528:41: error: array subscript 2 is outside the bounds of an interior zero-length array ‘u_int8_t[0]’ {aka ‘unsigned char[]’} [-Werror=zero-length-bounds]
1528 | ri = (h->data[1] << 8) | h->data[2];
| ~~~~~~~^~~
In file included from pri_internal.h:35,
from q921.c:38:
pri_q921.h:136:18: note: while referencing ‘data’
136 | u_int8_t data[0]; /* Any further data */
| ^~~~
q921.c:1529:23: error: array subscript 4 is outside the bounds of an interior zero-length array ‘u_int8_t[0]’ {aka ‘unsigned char[]’} [-Werror=zero-length-bounds]
1529 | tei = (h->data[4] >> 1);
| ~~~~~~~^~~
In file included from pri_internal.h:35,
from q921.c:38:
pri_q921.h:136:18: note: while referencing ‘data’
136 | u_int8_t data[0]; /* Any further data */
| ^~~~
q921.c:1531:24: error: array subscript 3 is outside the bounds of an interior zero-length array ‘u_int8_t[0]’ {aka ‘unsigned char[]’} [-Werror=zero-length-bounds]
1531 | switch (h->data[3]) {
| ~~~~~~~^~~
In file included from pri_internal.h:35,
from q921.c:38:
pri_q921.h:136:18: note: while referencing ‘data’
136 | u_int8_t data[0]; /* Any further data */
| ^~~~
q921.c:1606:26: error: array subscript 4 is outside the bounds of an interior zero-length array ‘u_int8_t[0]’ {aka ‘unsigned char[]’} [-Werror=zero-length-bounds]
1606 | action = &h->data[4];
| ^~~~~~~~~~~
In file included from pri_internal.h:35,
from q921.c:38:
pri_q921.h:136:18: note: while referencing ‘data’
136 | u_int8_t data[0]; /* Any further data */
| ^~~~
cc1: all warnings being treated as errors
make: *** [Makefile:190: q921.o] Error 1
make: *** Waiting for unfinished jobs....
q931.c: In function ‘q931_receive’:
q931.c:7688:46: error: array subscript 17 is outside the bounds of an interior zero-length array ‘unsigned char[0]’ [-Werror=zero-length-bounds]
7688 | h->raw[h->crlen + 2] -= 0x8;
| ^~
In file included from pri_internal.h:36,
from q931.c:32:
pri_q931.h:40:23: note: while referencing ‘raw’
40 | unsigned char raw[0];
| ^~~
q931.c:7688:46: error: array subscript 17 is outside the bounds of an interior zero-length array ‘unsigned char[0]’ [-Werror=zero-length-bounds]
7688 | h->raw[h->crlen + 2] -= 0x8;
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~
In file included from pri_internal.h:36,
from q931.c:32:
pri_q931.h:40:23: note: while referencing ‘raw’
40 | unsigned char raw[0];
| ^~~
cc1: all warnings being treated as errors
make: *** [Makefile:190: q931.o] Error 1
I'm asking because cloning the git repositories doesn't seem to get the firmware files, that are present instead in the released 3.1.0 tarball, so I'm not sure it can work for hardware needing its firmware files.
EDIT: looking better it seems to download the firmware files at build time and that's actually a no-no...
well, I solved this running "make" in the firmware directory before preparing the dahdi-complete sources tarball, so that all the firmware blobs are included.
Hi, intrigued by the slackware-jammer, I tried to compile jamulus but it fails because it is still looking for qt4:
Quote:
# jamulus can be built with either qt4 or qt5. Let's stick with
# qt4 until Slackware starts shipping qt5... for paranoia's sake,
# remove all references to qt5 and/or qt3 from the environment.
unset QTDIR
unset QT5DIR
PATH=/bin:/sbin:/usr/bin:/usr/sbin
source /etc/profile.d/qt4.sh
QTDIR=$QT4DIR
export QTDIR QT5DIR
uncommenting/removing this block in the jamulus.SlackBuild allows compilation.
SUMMARY LOG
Using the UNSUPPORTED SBo git repository for -current
Queue Process: Download, build, and install
asterisk:
MD5SUM check for asterisk-16.15.0.tar.gz ... OK
MD5SUM check for asterisk-core-sounds-en-alaw-1.6.1.tar.gz ... OK
MD5SUM check for asterisk-core-sounds-en-alaw-1.6.1.tar.gz.sha1 ... OK
MD5SUM check for asterisk-core-sounds-en-alaw-1.6.1.tar.gz.sha1 ... FAILED!
Expected: e4a9ee348028fc0e47148f783e7f945b
Found: 3c071029c1ab648367666d1e384394bb
Source deleted.
Error occurred with build. Please check the log.
I actually went for the latest version (3.8.0) and this did work well/better with servers out there. The Slackbuild needs to be adapted (see attached) but maybe the maintainer might want to check/do this. I sent him an email.
The most current linuxsampler-2.2.0 builds, the one in ponce's current-git, 1.7.2, stalls.
Also this needs an update of dependency libgig to version 0.4.3 (now 0.4.2)
Hi , im not sure why , but avahi have bad header to call interpreter on python files...
avahi-discover
fist line -->
Quote:
#!python3
avahi-bookmarks have same issue , if try execute some of this , message say python3 no such file ... bla bla bla... but its for bad enviroment on executables from avahi.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.