Unknow build error with OpenWrt

4.2k views Asked by At

my operation system is centos 7 64bit on vitrual box i'm try to build openwrt but faild

when i run make menuconfig command this is my result

[openwrt@localhost openwrt]$ make menuconfig
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... failed.
Checking 'gcc'... ok.
Checking 'working-gcc'... ok.
Checking 'g++'... ok.
Checking 'working-g++'... ok.
Checking 'ncurses'... ok.
Checking 'zlib'... ok.
Checking 'libssl'... 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 'md5sum'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'wget'... ok.
Checking 'perl'... ok.
Checking 'python'... ok.
Checking 'svn'... ok.
Checking 'git'... ok.
Checking 'file'... ok.
Checking 'openssl'... ok.
Checking 'ldconfig-stub'... ok.

Build dependency: OpenWrt can only be built on a case-sensitive filesystem

Prerequisite check failed. Use FORCE=1 to override.
make: *** [staging_dir/host/.prereq-build] Error 1
2

There are 2 answers

0
Devidas On

I know it has been year but even now you are stuck here is answer

You might be using Windows as host and NTFS as file system

so NTFS is non case sensitive FS according to wiki

In Unix filesystems, filenames are usually case-sensitive. Old Windows filesystems (VFAT, FAT32) are not case-sensitive (there cannot be a readme.txt and a Readme.txt in the same directory) but are case-preserving, i.e. remembering the case of the letters. The original FAT12 filesystem was case-insensitive.[7] Current Windows file systems, like NTFS, are case-sensitive; that is a readme.txt and a Readme.txt can exist in the same directory.

so there is chance that you have shared your folder with virtual box. and compiling same source. so copy source on EXT4 partition and compile. safest way is get fresh source directly on EXT4 partition and let me know. I think this should solve your problem.

1
Eric On

I was also having the same issue. I runned centos by vagrant on Mac OSX. it was ok if mv the openwrt source dir to other than /vagrant.