OpenWrt Forum Archive

Topic: Compile Error for APU1C4 image

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.

Hi,
I tried to compile OpenWrt barrier breaker for my APU1C4 but it fails (obviously, my first doing something like this).
I started from the x86 generic config file in the download section and enabled 64 bit support and SMP (symmetrc multi-processing)
The strange part is that the error says this (I checked, "loadable module support" should be enabled):

#################################################################
INSTALL include/scsi (3 files)
  INSTALL include/sound (10 files)
  INSTALL include/video (3 files)
  INSTALL include/xen (2 files)
  INSTALL include/uapi (0 file)
  INSTALL include/asm (64 files)
make[5]: Leaving directory `/home/simon/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/linux-x86_generic/linux-3.10.49'
. /home/simon/openwrt/include/shell.sh; grep '=[ym]' /home/simon/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/linux-x86_generic/linux-3.10.49/.config | LC_ALL=C sort | md5s > /home/simon/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/linux-x86_generic/linux-3.10.49/.vermagic
touch /home/simon/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/linux-x86_generic/linux-3.10.49/.configured
rm -f /home/simon/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/linux-x86_generic/linux-3.10.49/vmlinux /home/simon/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/linux-x86_generic/linux-3.10.49/System.map
make -C /home/simon/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/linux-x86_generic/linux-3.10.49 HOSTCFLAGS="-O2 -I/home/simon/openwrt/staging_dir/host/include -Wall -Wmissing-prototypes -Wstrict-prototypes" CROSS_COMPILE="i486-openwrt-linux-uclibc-" ARCH="x86" KBUILD_HAVE_NLS=no CONFIG_SHELL="/bin/bash" V='' CC="ccache_cc" modules
make[5]: Entering directory `/home/simon/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/linux-x86_generic/linux-3.10.49'
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf --silentoldconfig Kconfig
net/sched/Kconfig:43: warning: menuconfig statement without prompt
.config:3995:warning: override: SPARSEMEM_MANUAL changes choice state
.config:4204:warning: override: TREE_RCU changes choice state
*
* Restart config...
*
*
* x86 CPU frequency scaling drivers
*
Intel P state control (X86_INTEL_PSTATE) [N/y/?] n
Processor Clocking Control interface driver (X86_PCC_CPUFREQ) [N/m/y/?] n
ACPI Processor P-States driver (X86_ACPI_CPUFREQ) [N/m/y/?] n
Intel Enhanced SpeedStep (deprecated) (X86_SPEEDSTEP_CENTRINO) [N/m/y/?] (NEW) aborted!

Console input/output is redirected. Run 'make oldconfig' to update configuration.

make[7]: *** [silentoldconfig] Error 1
make[6]: *** [silentoldconfig] Error 2

The present kernel configuration has modules disabled.
Type 'make config' and enable loadable module support.
Then build a kernel with module support enabled.

make[5]: *** [modules] Error 1
make[5]: Leaving directory `/home/simon/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/linux-x86_generic/linux-3.10.49'
make[4]: *** [/home/simon/openwrt/build_dir/target-i386_i486_uClibc-0.9.33.2/linux-x86_generic/linux-3.10.49/.modules] Error 2
make[4]: Leaving directory `/home/simon/openwrt/target/linux/x86'
make[3]: *** [compile] Error 2
make[3]: Leaving directory `/home/simon/openwrt/target/linux'
make[2]: *** [target/linux/compile] Error 2
make[2]: Leaving directory `/home/simon/openwrt'
make[1]: *** [/home/simon/openwrt/staging_dir/target-i386_i486_uClibc-0.9.33.2/stamp/.target_compile] Error 2
make[1]: Leaving directory `/home/simon/openwrt'
make: *** [world] Fehler 2
########################################################

I hope someone can help me with this. I'm really a newbie here and have no idea where to start looking (except "make menuconfig" and "make kernel_menuconfig")

I would upload the my config file, but I can't find the upload button in this forum.

I have errors like this , I do not know how to overcome it.
NFSv4.1 Implementation ID Domain (NFS_V4_1_IMPLEMENTATION_ID_DOMAIN) [kernel.org] (NEW) aborted!

log bellow:

Network File Systems (NETWORK_FILESYSTEMS) [Y/n/?] y
  NFS client support (NFS_FS) [M/n/y/?] m
    NFS client support for NFS version 2 (NFS_V2) [N/m/?] n
    NFS client support for NFS version 3 (NFS_V3) [M/n/?] m
      NFS client support for the NFSv3 ACL protocol extension (NFS_V3_ACL) [N/y/?] n
    NFS client support for NFS version 4 (NFS_V4) [M/n/?] m
    Provide swap over NFS support (NFS_SWAP) [N/y/?] n
  NFS client support for NFSv4.1 (NFS_V4_1) [Y/n/?] y
   
NFSv4.1 Implementation ID Domain (NFS_V4_1_IMPLEMENTATION_ID_DOMAIN) [kernel.org] (NEW) aborted!

Console input/output is redirected. Run 'make oldconfig' to update configuration.

make[7]: *** [silentoldconfig] Error 1
make[6]: *** [silentoldconfig] Error 2
make[6]: Nothing to be done for `all'.
make[6]: Nothing to be done for `relocs'.
make[5]: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'.  Stop.
make[5]: Leaving directory `/home/vip/openwrt/barrier_breaker/build_dir/target-i386_i486_uClibc-0.9.33.2/linux-x86_generic/linux-3.10.49'
make[4]: *** [/home/vip/openwrt/barrier_breaker/build_dir/target-i386_i486_uClibc-0.9.33.2/linux-x86_generic/linux-3.10.49/.modules] Error 2
make[4]: Leaving directory `/home/vip/openwrt/barrier_breaker/target/linux/x86'
make[3]: *** [compile] Error 2
make[3]: Leaving directory `/home/vip/openwrt/barrier_breaker/target/linux'
make[2]: *** [target/linux/compile] Error 2
make[2]: Leaving directory `/home/vip/openwrt/barrier_breaker'
make[1]: *** [/home/vip/openwrt/barrier_breaker/staging_dir/target-i386_i486_uClibc-0.9.33.2/stamp/.target_compile] Error 2
make[1]: Leaving directory `/home/vip/openwrt/barrier_breaker'
make: *** [world] Error 2

(Last edited by maplewang on 6 Dec 2014, 07:23)

OpenWrt creates Kernel config files from defaults at
- target/linux/generic/config-(kernel_version)
- target/linux/x86/config-(kernel_version)
or at other locations (package/kernel/linux/modules ...)

Those errors are missing symbols in one of these two files (or at another location).
there should be a line "CONFIG_NFS_V3=y" in a generic/config-... file
(afaik corresponding to your log "NFS client support for NFS version 3 (NFS_V3) [M/n/?] m")
but a line with

# CONFIG_NFS_V4_1_IMPLEMENTATION_ID_DOMAIN is not set

is missing

The discussion might have continued from here.