I have downloaded a framework F2MD from git repository https://github.com/josephkamel/F2MD.git which integrates VEINS framework. I am using Sumo 1.5.0 and Omnet++ 5.6.1 on Ubuntu 18.04. This framework had some submodules. I am getting an error while building the one of the submodules veins-f2md by using the following command:
./configure && make -j$(nproc) MODE=release all**
This command gives an error message:
Creating Makefile in /home/rukhsar/F2MD-master/F2MD/veins-f2md/src...
/home/rukhsar/Downloads/omnetpp-5.6.1/bin/opp_makemake: error: too many subdirs for --deep
Traceback (most recent call last):
File "./configure", line 78, in <module>
subprocess.check_call(['env', 'opp_makemake'] + makemake_flags, cwd='src')
File "/usr/lib/python3.6/subprocess.py", line 311, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['env', 'opp_makemake', '-f', '--deep', '--no-deep-includes', '--make-so', '-I', '.', '-o', 'veins', '-O', 'out', '-p', 'VEINS']' returned non-zero exit status 1.
The following is a part of code written in opp_makemake file from where this error occurs:
# collect source files
if ($isDeep) {
my @allExcludedDirs = ();
push(@allExcludedDirs, $outDir);
push(@allExcludedDirs, @exceptSubdirs);
push(@allExcludedDirs, @submakeDirs);
@sourceDirs = collectDirs(".", \@allExcludedDirs);
error("too many subdirs for --deep") if (@sourceDirs > 1000);
} else {
@sourceDirs = ();
if (isGoodDir(".", \@exceptSubdirs)) {
@sourceDirs = (".");
}
}
I am unable to understand that which directories or files are for --deep. I have not used these frameworks and simulators before. Please give a solution so that I can fixed this issue and build the framework successfully.