LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-29-2021, 04:38 AM   #1
rima8eou
Member
 
Registered: Nov 2018
Location: Germany
Distribution: Xubuntu, Debian, CentOS
Posts: 31

Rep: Reputation: Disabled
Question `make image` not working


Hi guys,

I have this portable mobile Router, TP-Link TL-MR3020. I've already flashed the firmware with OpenWrt, because I'd like to use it as a print server, but it doesn't have enough disk space. I found this workaround:

http://dashohoxha.fs.al/recycle-tplink-router/

The problem is, that compiling with `make image...` is failing:

Code:
diotima@organon:~$ make image PROFILE=tl-mr3020-v1 PACKAGES="block-mount kmod-fs-ext4 kmod-usb-storage kmod-usb-ohci kmod-usb-uhci"


[...]

/home/diotima/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/staging_dir/host/bin/mksquashfs4: relocation error: /lib/x86_64-linux-gnu/libnss_files.so.2: symbol __libc_readline_unlocked, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference


make[3]: *** [/home/diotima/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/include/image.mk:310: /home/diotima/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/linux-ar71xx_generic/root.squashfs] Error 127


make[2]: *** [Makefile:178: build_image] Error 2


make[1]: *** [Makefile:118: _call_image] Error 2


make: *** [Makefile:203: image] Fehler 2
Code:
diotima@organon:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.2 LTS
Release:	20.04
Codename:	focal
Code:
diotima@organon:~$  ldd --version
ldd (Ubuntu GLIBC 2.31-0ubuntu9.2) 2.31
Please help me!
 
Old 06-29-2021, 06:55 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
So You have a router, you've flashed it with an unknown version of openwrt (which is what??) and you apparently you have some software which won't compile for whatever you're trying to compile it for?

Go on, knock yourself out. We haven't a clue about what you're doing, if your openwrt was compiled for the cpu/os your router uses. What you're doing sounds mad, and I presume you never kept a backup of your router software. I hope you get there but there's a lot of real detail required if we are going to even have a guess.
 
Old 06-29-2021, 07:00 AM   #3
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 4,862
Blog Entries: 1

Rep: Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869
You should verify the integrity of your shared objects:
Code:
dpkg -V libc6:amd64
 
1 members found this post helpful.
Old 06-29-2021, 08:07 AM   #4
rima8eou
Member
 
Registered: Nov 2018
Location: Germany
Distribution: Xubuntu, Debian, CentOS
Posts: 31

Original Poster
Rep: Reputation: Disabled
Thanks, NevemTeve, for your reply.

Code:
diotima@organon:~$ dpkg -V libc6:amd64
diotima@organon:~$
and OpenWrt Version is LEDE 17.01.7
 
Old 06-29-2021, 09:57 AM   #5
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 4,862
Blog Entries: 1

Rep: Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869
No answer means 'ok'. Still the error message suggests some conflict between two shared objects that are part of package 'libc6':

Code:
relocation error: /lib/x86_64-linux-gnu/libnss_files.so.2:
symbol __libc_readline_unlocked, version GLIBC_PRIVATE
not defined in file libc.so.6 with link time reference
BTW: google found something related: https://bugs.debian.org/cgi-bin/bugr...cgi?bug=928769

Maybe an `apt-get update` could fix this.
 
1 members found this post helpful.
Old 06-29-2021, 10:20 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Is this a 32bit & 64bit error? Looks like one. Just a hunch.

libc.so.6 is in every distro, but a 32bit libc.so.6 a 64bit libc.so.6.
 
Old 06-29-2021, 10:45 AM   #7
rima8eou
Member
 
Registered: Nov 2018
Location: Germany
Distribution: Xubuntu, Debian, CentOS
Posts: 31

Original Poster
Rep: Reputation: Disabled
Code:
sudo apt update
and
Code:
sudo apt dist-upgrade
did not succeed. I will run the `make image` command from a 32bit machine next week. I will report. Thanks a lot! *** I think the TP-Link-Router is a 32bit machine:

Code:
root@LEDE:~# cat /proc/cpuinfo
[...]
isa: mips1 mips2 mips32r1 mips32r2[...]
Bye
 
Old 06-29-2021, 11:38 AM   #8
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 4,862
Blog Entries: 1

Rep: Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869
Sorry, actually it is
Code:
apt-get update
apt-get upgrade
as root user (`sudo bash` or similar)

Last edited by NevemTeve; 06-29-2021 at 11:40 AM.
 
Old 06-29-2021, 02:15 PM   #9
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
If apt-get update && apt-get upgrade did not succeede, did they error out? Or do you mean they didn't solve the issue?

If it needs a 32bit machine, start again on a 32bit machine. Don't just run 'make image.'
 
Old 07-05-2021, 05:52 AM   #10
rima8eou
Member
 
Registered: Nov 2018
Location: Germany
Distribution: Xubuntu, Debian, CentOS
Posts: 31

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
If apt-get update && apt-get upgrade did not succeede, did they error out? Or do you mean they didn't solve the issue?
I meant, they didn't solve the problem.
 
Old 07-05-2021, 06:04 AM   #11
rima8eou
Member
 
Registered: Nov 2018
Location: Germany
Distribution: Xubuntu, Debian, CentOS
Posts: 31

Original Poster
Rep: Reputation: Disabled
This is the output run from a 32bit machine:

Code:
make image PROFILE=tl-mr3020-v1 PACKAGES="block-mount kmod-fs-ext4 kmod-usb-storage kmod-usb-ohci kmod-usb-uhci" 2> /mnt/make-imag.log

/home/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/staging_dir/host/bin/find: line 5: /home/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/staging_dir/host/bin/../lib/ld-linux-x86-64.so.2: cannot execute binary file: Exec format error
/home/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/staging_dir/host/bin/find: line 5: /home/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/staging_dir/host/bin/../lib/ld-linux-x86-64.so.2: Success
/home/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/staging_dir/host/bin/opkg: line 5: /home/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/staging_dir/host/bin/../lib/ld-linux-x86-64.so.2: cannot execute binary file: Exec format error
/home/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/staging_dir/host/bin/opkg: line 5: /home/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/staging_dir/host/bin/../lib/ld-linux-x86-64.so.2: Success
/home/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/staging_dir/host/bin/opkg: line 5: /home/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/staging_dir/host/bin/../lib/ld-linux-x86-64.so.2: cannot execute binary file: Exec format error
/home/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/staging_dir/host/bin/opkg: line 5: /home/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/staging_dir/host/bin/../lib/ld-linux-x86-64.so.2: Success
make[2]: *** [Makefile:149: package_install] Error 126
make[1]: *** [Makefile:116: _call_image] Error 2
make: *** [Makefile:203: image] Error 2
All libraries and dependencies have been installed. I'm neither admin nor programmer, just user. I'd like to recycle this old router to a print server for a 10 year old hp laserprinter.
 
Old 07-05-2021, 12:06 PM   #12
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Fix this:
Code:
cannot execute binary file: Exec format error
make image is not a standard make target, so you will find that in the relevant Makefile.

Exec format error is what you get when you mix arm & x86, or x86_64. A 64 bit cpu will try to run a 32 bit binary, and if it can access the 32 bit libraries, it will work. You'll find more online.
 
Old 07-06-2021, 06:39 AM   #13
rima8eou
Member
 
Registered: Nov 2018
Location: Germany
Distribution: Xubuntu, Debian, CentOS
Posts: 31

Original Poster
Rep: Reputation: Disabled
Good news!

I have this old Xubuntu 18.4 LTS machine and running `make image` on it solved the problem! For those who are interested I have the complete terminal output of the compilation:

Code:
rimatheou@blackjack:~/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64$ make image PROFILE=tl-mr3020-v1 PACKAGES="block-mount kmod-fs-ext4 kmod-usb-storage kmod-usb-ohci kmod-usb-uhci"
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'proper-umask'... ok.
Checking 'gcc'... ok.
Checking 'working-gcc'... ok.
Checking 'g++'... ok.
Checking 'working-g++'... ok.
Checking 'ncurses'... ok.
Checking 'zlib'... ok.
Checking 'perl-thread-queue'... ok.
Checking 'tar'... ok.
Checking 'find'... ok.
Checking 'bash'... ok.
Checking 'patch'... ok.
Checking 'diff'... ok.
Checking 'cp'... ok.
Checking 'seq'... ok.
Checking 'awk'... ok.
Checking 'grep'... ok.
Checking 'getopt'... ok.
Checking 'stat'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'wget'... ok.
Checking 'perl'... ok.
Checking 'python'... ok.
Checking 'git'... ok.
Checking 'file'... ok.
Checking 'ldconfig-stub'... ok.
Building images for ar71xx - TP-LINK TL-MR3020
Packages: block-mount kmod-fs-ext4 kmod-usb-storage kmod-usb-ohci kmod-usb-uhci base-files busybox dnsmasq dropbear firewall fstools ip6tables iptables kernel kmod-ath9k kmod-gpio-button-hotplug kmod-usb-core kmod-usb-ledtrig-usbport kmod-usb2 libc libgcc logd mtd netifd odhcp6c odhcpd opkg ppp ppp-mod-pppoe swconfig uboot-envtools uci uclient-fetch wpad-mini

Package list missing or not up-to-date, generating it.

Building package index...
Downloading http://downloads.lede-project.org/releases/17.01.5/targets/ar71xx/generic/packages/Packages.gz
Updated list of available packages in /home/rimatheou/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/root-ar71xx/../../../../../../../home/rimatheou/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/reboot_core
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/base/Packages.gz
Updated list of available packages in /home/rimatheou/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/root-ar71xx/../../../../../../../home/rimatheou/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/reboot_base
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/luci/Packages.gz
Updated list of available packages in /home/rimatheou/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/root-ar71xx/../../../../../../../home/rimatheou/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/reboot_luci
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/packages/Packages.gz
Updated list of available packages in /home/rimatheou/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/root-ar71xx/../../../../../../../home/rimatheou/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/reboot_packages
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/routing/Packages.gz
Updated list of available packages in /home/rimatheou/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/root-ar71xx/../../../../../../../home/rimatheou/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/reboot_routing
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/telephony/Packages.gz
Updated list of available packages in /home/rimatheou/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/root-ar71xx/../../../../../../../home/rimatheou/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/reboot_telephony
Downloading file:packages/Packages
Updated list of available packages in /home/rimatheou/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/root-ar71xx/../../../../../../../home/rimatheou/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/dl/imagebuilder

Installing packages...
Installing libc (1.1.16-1) to root...
Installing libgcc (5.4.0-1) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/targets/ar71xx/generic/packages/libgcc_5.4.0-1_mips_24kc.ipk
Configuring libgcc.
Configuring libc.
Installing kernel (4.4.140-1-33d452ad71ac13bc6dc71df37efa5ec7) to root...
Configuring kernel.
Installing block-mount (2018-04-16-6609e98a-1) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/targets/ar71xx/generic/packages/block-mount_2018-04-16-6609e98a-1_mips_24kc.ipk
Installing libubox (2018-11-16-4382c76d-1) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/base/libubox_2018-11-16-4382c76d-1_mips_24kc.ipk
Installing libjson-c (0.12.1-1) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/base/libjson-c_0.12.1-1_mips_24kc.ipk
Installing libblobmsg-json (2018-11-16-4382c76d-1) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/base/libblobmsg-json_2018-11-16-4382c76d-1_mips_24kc.ipk
Installing ubusd (2017-02-18-34c6e818-1) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/base/ubusd_2017-02-18-34c6e818-1_mips_24kc.ipk
Installing libubus (2017-02-18-34c6e818-1) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/base/libubus_2017-02-18-34c6e818-1_mips_24kc.ipk
Installing ubus (2017-02-18-34c6e818-1) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/base/ubus_2017-02-18-34c6e818-1_mips_24kc.ipk
Installing libuci (2018-01-01-141b64ef-1) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/base/libuci_2018-01-01-141b64ef-1_mips_24kc.ipk
Installing ubox (2017-03-10-16f7e161-1) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/base/ubox_2017-03-10-16f7e161-1_mips_24kc.ipk
Installing kmod-fs-ext4 (4.4.140-1) to root...
Downloading file:packages/kmod-fs-ext4_4.4.140-1_mips_24kc.ipk
Installing kmod-lib-crc16 (4.4.140-1) to root...
Downloading file:packages/kmod-lib-crc16_4.4.140-1_mips_24kc.ipk
Installing kmod-crypto-hash (4.4.140-1) to root...
Downloading file:packages/kmod-crypto-hash_4.4.140-1_mips_24kc.ipk
Installing kmod-crypto-crc32c (4.4.140-1) to root...
Downloading file:packages/kmod-crypto-crc32c_4.4.140-1_mips_24kc.ipk
Installing kmod-usb-storage (4.4.140-1) to root...
Downloading file:packages/kmod-usb-storage_4.4.140-1_mips_24kc.ipk
Installing kmod-scsi-core (4.4.140-1) to root...
Downloading file:packages/kmod-scsi-core_4.4.140-1_mips_24kc.ipk
Installing kmod-nls-base (4.4.140-1) to root...
Downloading file:packages/kmod-nls-base_4.4.140-1_mips_24kc.ipk
Installing kmod-usb-core (4.4.140-1) to root...
Downloading file:packages/kmod-usb-core_4.4.140-1_mips_24kc.ipk
Installing kmod-usb-ohci (4.4.140-1) to root...
Downloading file:packages/kmod-usb-ohci_4.4.140-1_mips_24kc.ipk
Installing kmod-usb-uhci (4.4.140-1) to root...
Downloading file:packages/kmod-usb-uhci_4.4.140-1_mips_24kc.ipk
Installing base-files (173.6-r3919-38e704be71) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/targets/ar71xx/generic/packages/base-files_173.6-r3919-38e704be71_mips_24kc.ipk
Installing libnl-tiny (0.1-5) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/base/libnl-tiny_0.1-5_mips_24kc.ipk
Installing jshn (2018-11-16-4382c76d-1) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/base/jshn_2018-11-16-4382c76d-1_mips_24kc.ipk
Installing netifd (2017-01-25-650758b1-1) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/base/netifd_2017-01-25-650758b1-1_mips_24kc.ipk
Installing libjson-script (2018-11-16-4382c76d-1) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/base/libjson-script_2018-11-16-4382c76d-1_mips_24kc.ipk
Installing procd (2018-01-22-9a4036fb-1) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/targets/ar71xx/generic/packages/procd_2018-01-22-9a4036fb-1_mips_24kc.ipk
Installing jsonfilter (2016-07-02-dea067ad-1) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/base/jsonfilter_2016-07-02-dea067ad-1_mips_24kc.ipk
Installing usign (2019-08-06-5a52b379-1) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/base/usign_2019-08-06-5a52b379-1_mips_24kc.ipk
Installing lede-keyring (2017-01-20-a50b7529-1) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/base/lede-keyring_2017-01-20-a50b7529-1_mips_24kc.ipk
Installing fstools (2018-04-16-6609e98a-1) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/targets/ar71xx/generic/packages/fstools_2018-04-16-6609e98a-1_mips_24kc.ipk
Installing fwtool (1) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/targets/ar71xx/generic/packages/fwtool_1_mips_24kc.ipk
Installing busybox (1.25.1-4) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/base/busybox_1.25.1-4_mips_24kc.ipk
Installing dnsmasq (2.78-6) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/base/dnsmasq_2.78-6_mips_24kc.ipk
Installing dropbear (2017.75-5) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/base/dropbear_2017.75-5_mips_24kc.ipk
Installing firewall (2017-05-27-a4d98aea-1) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/base/firewall_2017-05-27-a4d98aea-1_mips_24kc.ipk
Installing libxtables (1.4.21-3) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/base/libxtables_1.4.21-3_mips_24kc.ipk
Installing libip4tc (1.4.21-3) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/base/libip4tc_1.4.21-3_mips_24kc.ipk
Installing libip6tc (1.4.21-3) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/base/libip6tc_1.4.21-3_mips_24kc.ipk
Installing kmod-nf-ipt (4.4.140-1) to root...
Downloading file:packages/kmod-nf-ipt_4.4.140-1_mips_24kc.ipk
Installing kmod-ipt-core (4.4.140-1) to root...
Downloading file:packages/kmod-ipt-core_4.4.140-1_mips_24kc.ipk
Installing kmod-nf-conntrack (4.4.140-1) to root...
Downloading file:packages/kmod-nf-conntrack_4.4.140-1_mips_24kc.ipk
Installing kmod-ipt-conntrack (4.4.140-1) to root...
Downloading file:packages/kmod-ipt-conntrack_4.4.140-1_mips_24kc.ipk
Installing kmod-nf-nat (4.4.140-1) to root...
Downloading file:packages/kmod-nf-nat_4.4.140-1_mips_24kc.ipk
Installing kmod-ipt-nat (4.4.140-1) to root...
Downloading file:packages/kmod-ipt-nat_4.4.140-1_mips_24kc.ipk
Package fstools (2018-04-16-6609e98a-1) installed in root is up to date.
Installing ip6tables (1.4.21-3) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/base/ip6tables_1.4.21-3_mips_24kc.ipk
Installing kmod-nf-conntrack6 (4.4.140-1) to root...
Downloading file:packages/kmod-nf-conntrack6_4.4.140-1_mips_24kc.ipk
Installing kmod-nf-ipt6 (4.4.140-1) to root...
Downloading file:packages/kmod-nf-ipt6_4.4.140-1_mips_24kc.ipk
Installing kmod-ip6tables (4.4.140-1) to root...
Downloading file:packages/kmod-ip6tables_4.4.140-1_mips_24kc.ipk
Installing iptables (1.4.21-3) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/base/iptables_1.4.21-3_mips_24kc.ipk
Package iptables (1.4.21-3) installed in root is up to date.
Package kernel (4.4.140-1-33d452ad71ac13bc6dc71df37efa5ec7) installed in root is up to date.
Installing kmod-ath9k (4.4.140+2017-01-31-5) to root...
Downloading file:packages/kmod-ath9k_4.4.140%2b2017-01-31-5_mips_24kc.ipk
Installing iw (4.9-1) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/base/iw_4.9-1_mips_24kc.ipk
Installing kmod-cfg80211 (4.4.140+2017-01-31-5) to root...
Downloading file:packages/kmod-cfg80211_4.4.140%2b2017-01-31-5_mips_24kc.ipk
Installing hostapd-common (2016-12-19-ad02e79d-7) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/base/hostapd-common_2016-12-19-ad02e79d-7_mips_24kc.ipk
Installing kmod-mac80211 (4.4.140+2017-01-31-5) to root...
Downloading file:packages/kmod-mac80211_4.4.140%2b2017-01-31-5_mips_24kc.ipk
Installing kmod-ath (4.4.140+2017-01-31-5) to root...
Downloading file:packages/kmod-ath_4.4.140%2b2017-01-31-5_mips_24kc.ipk
Installing kmod-ath9k-common (4.4.140+2017-01-31-5) to root...
Downloading file:packages/kmod-ath9k-common_4.4.140%2b2017-01-31-5_mips_24kc.ipk
Installing kmod-gpio-button-hotplug (4.4.140-2) to root...
Downloading file:packages/kmod-gpio-button-hotplug_4.4.140-2_mips_24kc.ipk
Package kmod-usb-core (4.4.140-1) installed in root is up to date.
Installing kmod-usb-ledtrig-usbport (4.4.140-1) to root...
Downloading file:packages/kmod-usb-ledtrig-usbport_4.4.140-1_mips_24kc.ipk
Installing kmod-usb2 (4.4.140-1) to root...
Downloading file:packages/kmod-usb2_4.4.140-1_mips_24kc.ipk
Package libc (1.1.16-1) installed in root is up to date.
Package libgcc (5.4.0-1) installed in root is up to date.
Installing logd (2017-03-10-16f7e161-1) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/base/logd_2017-03-10-16f7e161-1_mips_24kc.ipk
Installing mtd (23) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/base/mtd_23_mips_24kc.ipk
Package netifd (2017-01-25-650758b1-1) installed in root is up to date.
Installing odhcp6c (2017-01-30-c13b6a05-2) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/base/odhcp6c_2017-01-30-c13b6a05-2_mips_24kc.ipk
Installing odhcpd (2018-05-27-59339a76-4) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/base/odhcpd_2018-05-27-59339a76-4_mips_24kc.ipk
Installing opkg (2017-12-08-9f61f7ac-1) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/targets/ar71xx/generic/packages/opkg_2017-12-08-9f61f7ac-1_mips_24kc.ipk
Installing libuclient (2018-11-24-3ba74ebc-1) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/base/libuclient_2018-11-24-3ba74ebc-1_mips_24kc.ipk
Installing uclient-fetch (2018-11-24-3ba74ebc-1) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/base/uclient-fetch_2018-11-24-3ba74ebc-1_mips_24kc.ipk
Installing libpthread (1.1.16-1) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/targets/ar71xx/generic/packages/libpthread_1.1.16-1_mips_24kc.ipk
Installing ppp (2.4.7-12) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/base/ppp_2.4.7-12_mips_24kc.ipk
Installing kmod-lib-crc-ccitt (4.4.140-1) to root...
Downloading file:packages/kmod-lib-crc-ccitt_4.4.140-1_mips_24kc.ipk
Installing kmod-slhc (4.4.140-1) to root...
Downloading file:packages/kmod-slhc_4.4.140-1_mips_24kc.ipk
Installing kmod-ppp (4.4.140-1) to root...
Downloading file:packages/kmod-ppp_4.4.140-1_mips_24kc.ipk
Installing ppp-mod-pppoe (2.4.7-12) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/base/ppp-mod-pppoe_2.4.7-12_mips_24kc.ipk
Installing kmod-pppox (4.4.140-1) to root...
Downloading file:packages/kmod-pppox_4.4.140-1_mips_24kc.ipk
Installing kmod-pppoe (4.4.140-1) to root...
Downloading file:packages/kmod-pppoe_4.4.140-1_mips_24kc.ipk
Installing swconfig (11) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/base/swconfig_11_mips_24kc.ipk
Installing uboot-envtools (2015.10-1) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/targets/ar71xx/generic/packages/uboot-envtools_2015.10-1_mips_24kc.ipk
Installing uci (2018-01-01-141b64ef-1) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/base/uci_2018-01-01-141b64ef-1_mips_24kc.ipk
Package uclient-fetch (2018-11-24-3ba74ebc-1) installed in root is up to date.
Installing wpad-mini (2016-12-19-ad02e79d-7) to root...
Downloading http://downloads.lede-project.org/releases/17.01.5/packages/mips_24kc/base/wpad-mini_2016-12-19-ad02e79d-7_mips_24kc.ipk
Configuring kmod-scsi-core.
Configuring kmod-nls-base.
Configuring kmod-usb-core.
Configuring kmod-usb-storage.
Configuring libubox.
Configuring libuclient.
Configuring uclient-fetch.
Configuring libpthread.
Configuring opkg.
Configuring libubus.
Configuring libjson-c.
Configuring libblobmsg-json.
Configuring ubusd.
Configuring ubus.
Configuring libnl-tiny.
Configuring iw.
Configuring busybox.
Configuring libuci.
Configuring odhcpd.
Configuring kmod-crypto-hash.
Configuring swconfig.
Configuring kmod-lib-crc-ccitt.
Configuring kmod-slhc.
Configuring kmod-ppp.
Configuring kmod-pppox.
Configuring kmod-pppoe.
Configuring kmod-nf-ipt.
Configuring kmod-ipt-core.
Configuring kmod-nf-conntrack.
Configuring kmod-ipt-conntrack.
Configuring jshn.
Configuring netifd.
Configuring libjson-script.
Configuring ubox.
Configuring procd.
Configuring jsonfilter.
Configuring usign.
Configuring lede-keyring.
Configuring fstools.
Configuring fwtool.
Configuring base-files.
Configuring kmod-lib-crc16.
Configuring kmod-nf-nat.
Configuring kmod-crypto-crc32c.
Configuring uboot-envtools.
Configuring kmod-usb-ohci.
Configuring dnsmasq.
Configuring block-mount.
Configuring kmod-usb2.
Configuring libxtables.
Configuring libip4tc.
Configuring libip6tc.
Configuring kmod-ipt-nat.
Configuring firewall.
Configuring kmod-nf-conntrack6.
Configuring kmod-nf-ipt6.
Configuring kmod-ip6tables.
Configuring odhcp6c.
Configuring kmod-cfg80211.
Configuring hostapd-common.
Configuring kmod-mac80211.
Configuring kmod-ath.
Configuring kmod-ath9k-common.
Configuring kmod-ath9k.
Configuring uci.
Configuring kmod-fs-ext4.
Configuring wpad-mini.
Configuring dropbear.
Configuring mtd.
Configuring ppp.
Configuring kmod-gpio-button-hotplug.
Configuring logd.
Configuring iptables.
Configuring ip6tables.
Configuring kmod-usb-ledtrig-usbport.
Configuring kmod-usb-uhci.
Configuring ppp-mod-pppoe.

Cleaning up

Activating init scripts

Building images...
19+1 records in
20+0 records out
1310720 bytes (1.3 MB, 1.2 MiB) copied, 0.00319696 s, 410 MB/s
Image Name:   MIPS OpenWrt Linux-4.4.140
Created:      Tue Jul  6 13:20:22 2021
Image Type:   MIPS Linux Kernel Image (lzma compressed)
Data Size:    1272581 Bytes = 1242.75 kB = 1.21 MB
Load Address: 80060000
Entry Point:  80060000
Parallel mksquashfs: Using 1 processor
Creating 4.0 filesystem on /home/rimatheou/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/linux-ar71xx_generic/root.squashfs, block size 262144.
Pseudo file "/dev" exists in source filesystem "/home/rimatheou/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/root-ar71xx/dev".
Ignoring, exclude it (-e/-ef) to override.
[==========================================================================================================================================\] 600/600 100%
Exportable Squashfs 4.0 filesystem, xz compressed, data block size 262144
	compressed data, compressed metadata, compressed fragments, no xattrs
	duplicates are removed
Filesystem size 2173.00 Kbytes (2.12 Mbytes)
	34.88% of uncompressed filesystem size (6230.47 Kbytes)
Inode table size 6432 bytes (6.28 Kbytes)
	22.64% of uncompressed inode table size (28404 bytes)
Directory table size 8470 bytes (8.27 Kbytes)
	48.23% of uncompressed directory table size (17562 bytes)
Number of duplicate files found 82
Number of inodes 849
Number of files 595
Number of fragments 15
Number of symbolic links  191
Number of device nodes 1
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 62
Number of ids (unique uids + gids) 1
Number of uids 1
	root (0)
Number of gids 1
	root (0)
4345+1 records in
4345+1 records out
2225150 bytes (2.2 MB, 2.1 MiB) copied, 0.0389188 s, 57.2 MB/s
[mktplinkfw] kernel length aligned to 1272624
[mktplinkfw] firmware file "/home/rimatheou/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/linux-ar71xx_generic/tmp/lede-17.01.5-ar71xx-generic-tl-mr3020-v1-squashfs-sysupgrade.bin.new" completed
4345+1 records in
4345+1 records out
2225150 bytes (2.2 MB, 2.1 MiB) copied, 0.0403064 s, 55.2 MB/s
[mktplinkfw] kernel length aligned to 1272624
[mktplinkfw] firmware file "/home/rimatheou/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64/build_dir/target-mips_24kc_musl-1.1.16/linux-ar71xx_generic/tmp/lede-17.01.5-ar71xx-generic-tl-mr3020-v1-squashfs-factory.bin.new" completed
padding image to 00220000
padding image to 00220000
padding image to 00240000
18+1 records in
19+0 records out
2490368 bytes (2.5 MB, 2.4 MiB) copied, 0.00664993 s, 374 MB/s

Calculating checksums...
rimatheou@blackjack:~/Downloads/lede-imagebuilder-17.01.5-ar71xx-generic.Linux-x86_64$
Thanks for your soccur!
 
Old 07-06-2021, 08:23 AM   #14
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Mark this thread solved then. Only the OP has that option
 
  


Reply

Tags
make



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Slackware 14.1 32bit system tarball/stage3 image/chroot image/bootstrap image vinipsmaker Slackware 20 05-14-2014 01:41 AM
Redirect make output to file, make | tee not working jiobo Linux - Software 5 05-11-2014 10:43 AM
java applet not loading image with relative path but loads image with absolute path amolgupta Programming 2 07-20-2009 01:58 PM
these commands are not working on my server (./configure, make, make install) Anil Kumar K Linux - Software 3 07-02-2007 07:23 AM
PHP: how can I return an image - not the html img src tag, but the image data BrianK Programming 3 05-18-2007 02:28 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration