OpenWrt Forum Archive

Topic: Error compiling trunk

The content of this topic has been archived on 6 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

oconnor@(none):~/Desktop/trunk> make menuconfig
Collecting package info: package/madwifiERROR: please fix package/madwifi/Makefi
le
Collecting package info: doneing...
tmp/.config-target.in:1:warning: config symbol defined without type

tmp/.config-target.in:8:warning: config symbol defined without type

tmp/.config-target.in:13:warning: config symbol defined without type

target/linux/x86/image/Config.in:5:warning: 'select' used by config symbol 'X86_                              GRUB_IMAGES' refer to undefined symbol 'PACKAGE_grub'
tmp/.config-package.in:81:warning: 'select' used by config symbol 'PACKAGE_qos-s                              cripts' refer to undefined symbol 'PACKAGE_iptables-mod-conntrack'
tmp/.config-package.in:82:warning: 'select' used by config symbol 'PACKAGE_qos-s                              cripts' refer to undefined symbol 'PACKAGE_iptables-mod-ipopt'
tmp/.config-package.in:83:warning: 'select' used by config symbol 'PACKAGE_qos-s                              cripts' refer to undefined symbol 'PACKAGE_iptables-mod-imq'
tmp/.config-package.in:85:warning: 'select' used by config symbol 'PACKAGE_qos-s                              cripts' refer to undefined symbol 'PACKAGE_kmod-sched'
tmp/.config-package.in:86:warning: 'select' used by config symbol 'PACKAGE_qos-s                              cripts' refer to undefined symbol 'PACKAGE_iptables-mod-filter'
tmp/.config-package.in:219:warning: 'select' used by config symbol 'PACKAGE_comg                              t' refer to undefined symbol 'PACKAGE_chat'
tmp/.config-package.in:344:warning: 'select' used by config symbol 'PACKAGE_spca                              5xx-view' refer to undefined symbol 'PACKAGE_libpthread'
tmp/.config-package.in:345:warning: 'select' used by config symbol 'PACKAGE_spca                              5xx-view' refer to undefined symbol 'PACKAGE_kmod-video-spca5xx-le'
tmp/.config-package.in:555:warning: 'select' used by config symbol 'PACKAGE_arpt                              ables' refer to undefined symbol 'PACKAGE_kmod-arptables'

Config Menu looks like this

OpenWrt Kamikaze/r9422 Configuration
    Target Images  ---> 
[ ] Select all packages by default (NEW)
[ ] Advanced configuration options (for developers) (NEW)  --->
[ ] Buildsystem settings (NEW)  --->
[ ] Build the OpenWrt Image Builder (NEW)
[ ] Build the OpenWrt SDK (NEW)
[ ] Image configuration (NEW)  --->
    Base system  --->
    Utilities  --->
    Libraries  --->
    Network  --->

Target System and Target Profile are missing in the menu!

Does nobody has the same problem? I can't choose a target! I did a fresh checkout! And getting a bunch of errors!

oconnor@(none):~/Desktop>svn co https://svn.openwrt.org/openwrt/trunk/
...
Ausgecheckt, Revision 9479.
oconnor@(none):~/Desktop> cd trunk/
oconnor@(none):~/Desktop/trunk> make menuconfig
Checking 'non-root'... ok.
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'working-gcc'... ok.
Checking 'working-g++'... ok.
Checking 'ncurses'... ok.
Checking 'zlib'... ok.
Checking 'gawk'... ok.
Checking 'bison'... ok.
Checking 'flex'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'patch'... ok.
Checking 'perl'... ok.
Checking 'wget'... ok.
Checking 'gnutar'... ok.
Checking 'autoconf'... ok.
make[2]: *** No rule to make target `.config', needed by `/home/oconnor/Desktop/
trunk/staging_dir/toolchain-_gcc/info.mk'.  Stop.
Collecting package info: package/nw802-2.4ERROR: please fix package/nw802-2.4/Ma
kefile
Collecting package info: package/aodv-uuERROR: please fix package/aodv-uu/Makefi
le
Collecting package info: package/mtdERROR: please fix package/mtd/Makefile
Collecting package info: package/broadcom-diagERROR: please fix package/broadcom
-diag/Makefile
Collecting package info: package/linux-uvcERROR: please fix package/linux-uvc/Ma
kefile
Collecting package info: package/fuseERROR: please fix package/fuse/Makefile
Collecting package info: package/iptablesERROR: please fix package/iptables/Make
file
Collecting package info: package/shfsERROR: please fix package/shfs/Makefile
Collecting package info: package/ar7-atmERROR: please fix package/ar7-atm/Makefi
le
Collecting package info: package/base-filesERROR: please fix package/base-files/
Makefile
Collecting package info: package/openswanERROR: please fix package/openswan/Make
file
Collecting package info: package/pcmcia-csERROR: please fix package/pcmcia-cs/Ma
kefile
Collecting package info: package/broadcom-mmcERROR: please fix package/broadcom-
mmc/Makefile
Collecting package info: package/switchERROR: please fix package/switch/Makefile
Collecting package info: package/kernelERROR: please fix package/kernel/Makefile
Collecting package info: package/b43ERROR: please fix package/b43/Makefile
Collecting package info: package/mac80211ERROR: please fix package/mac80211/Make
file
Collecting package info: package/rt61ERROR: please fix package/rt61/Makefile
Collecting package info: package/pppERROR: please fix package/ppp/Makefile
Collecting package info: package/ipsec-toolsERROR: please fix package/ipsec-tool
s/Makefile
Collecting package info: package/rt2570ERROR: please fix package/rt2570/Makefile
Collecting package info: package/acx-mac80211ERROR: please fix package/acx-mac80
211/Makefile
Collecting package info: package/broadcom-wlERROR: please fix package/broadcom-w
l/Makefile
Collecting package info: package/acxERROR: please fix package/acx/Makefile
Collecting package info: package/madwifiERROR: please fix package/madwifi/Makefi
le
Collecting package info: package/alsaERROR: please fix package/alsa/Makefile
Collecting package info: package/wlcompatERROR: please fix package/wlcompat/Make
file
Collecting package info: package/hostap-driverERROR: please fix package/hostap-d
river/Makefile
Collecting package info: package/isakmpdERROR: please fix package/isakmpd/Makefi
le
Collecting package info: package/spca5xx-leERROR: please fix package/spca5xx-le/
Makefile
Collecting package info: package/qc-usbERROR: please fix package/qc-usb/Makefile
Collecting package info: package/bridge-utilsERROR: please fix package/bridge-ut
ils/Makefile
Collecting package info: package/rt2500ERROR: please fix package/rt2500/Makefile
Collecting package info: package/grubERROR: please fix package/grub/Makefile
Collecting package info: package/rt2x00ERROR: please fix package/rt2x00/Makefile
Collecting package info: package/fonera-mp3-drvERROR: please fix package/fonera-
mp3-drv/Makefile
Collecting package info: package/gspcav1ERROR: please fix package/gspcav1/Makefi
le
Collecting package info: package/ov51x-jpegERROR: please fix package/ov51x-jpeg/
Makefile
Collecting package info: package/strongswanERROR: please fix package/strongswan/
Makefile
Collecting package info: package/p54ERROR: please fix package/p54/Makefile
Collecting package info: package/nozomiERROR: please fix package/nozomi/Makefile
Collecting package info: package/ifenslaveERROR: please fix package/ifenslave/Ma
kefile
Collecting package info: doneing...
make[2]: *** No rule to make target `.config', needed by `/home/oconnor/Desktop/
trunk/staging_dir/toolchain-_gcc/info.mk'.  Stop.
Collecting target info: target/linux/etraxERROR: please fix target/linux/etrax/M
akefile
Collecting target info: target/linux/iop32xERROR: please fix target/linux/iop32x
/Makefile
Collecting target info: target/linux/brcm-2.4ERROR: please fix target/linux/brcm
-2.4/Makefile
Collecting target info: target/linux/amazonERROR: please fix target/linux/amazon
/Makefile
Collecting target info: target/linux/x86ERROR: please fix target/linux/x86/Makef
ile
Collecting target info: target/linux/pxaERROR: please fix target/linux/pxa/Makef
ile
Collecting target info: target/linux/ar7ERROR: please fix target/linux/ar7/Makef
ile
Collecting target info: target/linux/magicboxERROR: please fix target/linux/magi
cbox/Makefile
Collecting target info: target/linux/avr32ERROR: please fix target/linux/avr32/M
akefile
Collecting target info: target/linux/olpcERROR: please fix target/linux/olpc/Mak
efile
Collecting target info: target/linux/rb532ERROR: please fix target/linux/rb532/M
akefile
Collecting target info: target/linux/umlERROR: please fix target/linux/uml/Makef
ile
Collecting target info: target/linux/sibyteERROR: please fix target/linux/sibyte
/Makefile
Collecting target info: target/linux/amccERROR: please fix target/linux/amcc/Mak
efile
Collecting target info: target/linux/ixp4xxERROR: please fix target/linux/ixp4xx
/Makefile
Collecting target info: target/linux/atherosERROR: please fix target/linux/ather
os/Makefile
Collecting target info: target/linux/ps3ERROR: please fix target/linux/ps3/Makef
ile
Collecting target info: target/linux/au1000ERROR: please fix target/linux/au1000
/Makefile
Collecting target info: target/linux/rdcERROR: please fix target/linux/rdc/Makef
ile
Collecting target info: target/linux/adm5120ERROR: please fix target/linux/adm51
20/Makefile
Collecting target info: target/linux/brcm63xxERROR: please fix target/linux/brcm
63xx/Makefile
Collecting target info: target/linux/brcm47xxERROR: please fix target/linux/brcm
47xx/Makefile
Collecting target info: target/linux/at91ERROR: please fix target/linux/at91/Mak
efile
Collecting target info: doneing...
tmp/.config-target.in:1:warning: config symbol defined without type

tmp/.config-target.in:8:warning: config symbol defined without type

tmp/.config-target.in:13:warning: config symbol defined without type

target/linux/olpc/image/Config.in:5:warning: 'select' used by config symbol 'OLP
C_GRUB_IMAGES' refer to undefined symbol 'PACKAGE_grub'
target/linux/x86/image/Config.in:5:warning: 'select' used by config symbol 'X86_
GRUB_IMAGES' refer to undefined symbol 'PACKAGE_grub'
tmp/.config-package.in:81:warning: 'select' used by config symbol 'PACKAGE_qos-s                              cripts' refer to undefined symbol 'PACKAGE_iptables-mod-conntrack'
tmp/.config-package.in:82:warning: 'select' used by config symbol 'PACKAGE_qos-s                              cripts' refer to undefined symbol 'PACKAGE_iptables-mod-ipopt'
tmp/.config-package.in:83:warning: 'select' used by config symbol 'PACKAGE_qos-s                              cripts' refer to undefined symbol 'PACKAGE_iptables-mod-imq'
tmp/.config-package.in:85:warning: 'select' used by config symbol 'PACKAGE_qos-s                              cripts' refer to undefined symbol 'PACKAGE_kmod-sched'
tmp/.config-package.in:86:warning: 'select' used by config symbol 'PACKAGE_qos-s                              cripts' refer to undefined symbol 'PACKAGE_iptables-mod-filter'
tmp/.config-package.in:219:warning: 'select' used by config symbol 'PACKAGE_comg                              t' refer to undefined symbol 'PACKAGE_chat'
tmp/.config-package.in:344:warning: 'select' used by config symbol 'PACKAGE_spca                              5xx-view' refer to undefined symbol 'PACKAGE_libpthread'
tmp/.config-package.in:345:warning: 'select' used by config symbol 'PACKAGE_spca                              5xx-view' refer to undefined symbol 'PACKAGE_kmod-video-spca5xx-le'
tmp/.config-package.in:555:warning: 'select' used by config symbol 'PACKAGE_arpt                              ables' refer to undefined symbol 'PACKAGE_kmod-arptables'


Your configuration changes were NOT saved.

oconnor@(none):~/Desktop/trunk>

Yeah, trunk really sucks atm...

Right. You need GNU make 3.81.
However, this didn't bring up the missing menuconfig options for me until I did a fresh co of the trunk.
Making the menuconfig with GNU make 3.80 obviously builds something that runs but is broken.

Also, you need Python AND the Python devel libs.
The 2.4.1 Python that came with OpenSuSE worked for me.
Probably the prereq check should check for python, too.....I wonder why it doesn't.

The discussion might have continued from here.