From: bugzilla@busybox.net
To: buildroot@uclibc.org
Subject: [Buildroot] [Bug 14311] New: Cannot compile dahdi (part of Asterisk) for x86 (P1mmx).
Date: Mon, 01 Nov 2021 18:30:53 +0000 [thread overview]
Message-ID: <bug-14311-163@https.bugs.busybox.net/> (raw)
https://bugs.busybox.net/show_bug.cgi?id=14311
Bug ID: 14311
Summary: Cannot compile dahdi (part of Asterisk) for x86
(P1mmx).
Product: buildroot
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: blocker
Priority: P5
Component: Other
Assignee: unassigned@buildroot.uclibc.org
Reporter: ingineru_de_sistem@yahoo.com
CC: buildroot@uclibc.org
Target Milestone: ---
Tried to compile Asterisk for x86 (got an old PC which is the only one which I
can use for some older ZAPtel cards that need PCI without express).
1st bug got this -
In file included from
/home/qa/buildroot/output/build/dahdi-linux-3.0.0/drivers/dahdi/wctdm24xxp/base.c:73:
/home/qa/buildroot/output/build/dahdi-linux-3.0.0/include/dahdi/kernel.h:71:10:
fatal error: linux/pci-aspm.h: No such file or directory
71 | #include <linux/pci-aspm.h>
| ^~~~~~~~~~~~~~~~~~
compilation terminated.
Found a possible solution at
https://community.asterisk.org/t/dahdi-fails-fatal-error-linux-pci-aspm-h-no-such-file-or-directory/83561
, applied
git clone -b next git://git.asterisk.org/dahdi/linux dahdi-linux
on top of the one that buildroot downloaded, got past that point but now I get
this one:
ERROR: modpost: "__divmoddi4"
[/home/qa/buildroot/output/build/dahdi-linux-3.0.0/drivers/dahdi/xpp/xpp.ko]
undefined!
ERROR: modpost: "__divdi3"
[/home/qa/buildroot/output/build/dahdi-linux-3.0.0/drivers/dahdi/xpp/xpp.ko]
undefined!
ERROR: modpost: "_binary_dahdi_fw_oct6114_032_bin_start"
[/home/qa/buildroot/output/build/dahdi-linux-3.0.0/drivers/dahdi/wcaxx.ko]
undefined!
ERROR: modpost: "_binary_dahdi_fw_oct6114_032_bin_size"
[/home/qa/buildroot/output/build/dahdi-linux-3.0.0/drivers/dahdi/wcaxx.ko]
undefined!
ERROR: modpost: "_binary_dahdi_fw_oct6114_128_bin_start"
[/home/qa/buildroot/output/build/dahdi-linux-3.0.0/drivers/dahdi/wcte43x.ko]
undefined!
ERROR: modpost: "_binary_dahdi_fw_oct6114_064_bin_start"
[/home/qa/buildroot/output/build/dahdi-linux-3.0.0/drivers/dahdi/wcte43x.ko]
undefined!
ERROR: modpost: "_binary_dahdi_fw_oct6114_128_bin_size"
[/home/qa/buildroot/output/build/dahdi-linux-3.0.0/drivers/dahdi/wcte43x.ko]
undefined!
ERROR: modpost: "_binary_dahdi_fw_oct6114_064_bin_size"
[/home/qa/buildroot/output/build/dahdi-linux-3.0.0/drivers/dahdi/wcte43x.ko]
undefined!
ERROR: modpost: "_binary_dahdi_fw_oct6114_032_bin_start"
[/home/qa/buildroot/output/build/dahdi-linux-3.0.0/drivers/dahdi/wcte13xp.ko]
undefined!
ERROR: modpost: "_binary_dahdi_fw_oct6114_032_bin_size"
[/home/qa/buildroot/output/build/dahdi-linux-3.0.0/drivers/dahdi/wcte13xp.ko]
undefined!
make[3]: *** [scripts/Makefile.modpost:150:
/home/qa/buildroot/output/build/dahdi-linux-3.0.0/drivers/dahdi/Module.symvers]
Error 1
make[3]: *** Deleting file
'/home/qa/buildroot/output/build/dahdi-linux-3.0.0/drivers/dahdi/Module.symvers'
make[2]: *** [Makefile:1773: modules] Error 2
make[1]: *** [package/pkg-generic.mk:295:
/home/qa/buildroot/output/build/dahdi-linux-3.0.0/.stamp_built] Error 2
make: *** [Makefile:84: _all] Error 2
Not sure if the patch for the first error provoked the next or what.
Please advise.
Question 2) Can one selectively only compile the Asterisk HW drivers for the
current plaform and a selection of boards ? (i.e. don't try pci express or x64
stuff when compiling for x86_32 nor the Octasic boards since all I have and
need are some old Zaptel PCI boards, including a T1000P compatible - aka
ancient Intel WinModem)
P.S. there was a trivial error before that point:
--2021-10-29 15:34:29-- http://sources.buildroot.net/m4-1.4.19.tar.xz
Resolving sources.buildroot.net (sources.buildroot.net)... 172.67.72.56,
104.26.1.37, 104.26.0.37, ...
Connecting to sources.buildroot.net (sources.buildroot.net)|172.67.72.56|:80...
connected.
HTTP request sent, awaiting response... 404 Not Found
2021-10-29 15:34:29 ERROR 404: Not Found.
which I solved by using 1.4.18 instead which did exist on your server. No
biggie there, just reporting it in case anyone needs the report. Feel free to
ignore this one. The dahdi part is important.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next reply other threads:[~2021-11-01 18:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-01 18:30 bugzilla [this message]
2021-11-01 23:03 ` [Buildroot] [Bug 14311] Cannot compile dahdi (part of Asterisk) for x86 (P1mmx) bugzilla
2021-11-02 19:45 ` bugzilla
2021-11-02 20:22 ` bugzilla
2021-11-04 23:18 ` bugzilla
2021-11-10 12:04 ` bugzilla
2021-11-12 2:47 ` bugzilla
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-14311-163@https.bugs.busybox.net/ \
--to=bugzilla@busybox.net \
--cc=buildroot@uclibc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox