I have been reading the developer guide to building images on a Ubuntu 22.04 server on VMware,
I have been trying to create a 86/64 bit version of Openwrt and am totally lost, reading the documentation from the wiki I installed all the below packages.
asciidoc bash binutils build-essential bzip2 flex g++ gawk gcc gettext git gzip help2man intltool libelf-dev libncurses-dev libssl-dev libthread-queue-any-perl patch perl-modules python2-dev python3 python3-dev rsync time unzip util-linux wget xsltproc zlib1g-dev
Then followed this page https://openwrt.org/docs/guide-developer/toolchain/use-buildsystem and used these commands.
git clone https://git.openwrt.org/openwrt/openwrt.git
cd openwrt
git pull
git branch -a
git tag
git checkout v23.05.2
./scripts/feeds update -a
./scripts/feeds install -a
make menuconfig
make -j$(nproc) defconfig download clean world
In make menu config I selected the 86/64 bit version and added nothing just selected the 64 bit versionand saved it then went to the last command and while it was building I noticed that instead of 64 bit it was building ath79 version, Some of the below errors were before during and after my attempt.
Can anyone help me sort this out
Thank you for your time and hopefully patience.
nextpc@nextpc:~/openwrt$ git checkout v23.05.2
Note: switching to 'v23.05.2'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at 1c26bcb108 OpenWrt v23.05.2: adjust config defaults
nextpc@nextpc:~/openwrt$ git checkout v23.05.2
Note: switching to 'v23.05.2'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at 1c26bcb108 OpenWrt v23.05.2: adjust config defaults
nextpc@nextpc:~/openwrt$ ./scripts/feeds install -a
Collecting package info: done
Collecting target info: done
WARNING: Makefile 'package/utils/busybox/Makefile' has a dependency on 'libpam', which does not exist
WARNING: Makefile 'package/utils/busybox/Makefile' has a dependency on 'libpam', which does not exist
WARNING: Makefile 'package/utils/busybox/Makefile' has a build dependency on 'libpam', which does not exist
WARNING: Makefile 'package/boot/kexec-tools/Makefile' has a dependency on 'liblzma', which does not exist
WARNING: Makefile 'package/network/services/lldpd/Makefile' has a dependency on 'libnetsnmp', which does not exist
WARNING: Makefile 'package/utils/policycoreutils/Makefile' has a dependency on 'libpam', which does not exist
WARNING: Makefile 'package/utils/policycoreutils/Makefile' has a dependency on 'libpam', which does not exist
WARNING: Makefile 'package/utils/policycoreutils/Makefile' has a build dependency on 'libpam', which does not exist
ERROR: package/feeds/telephony/pcapsipdump failed to build.
make package/download: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what's going on
Some pictures