Dear deal.II community, I ran into error while compilation which I am not able to decipher in which case I look forward to your help . The output I encountered on executing "make all" :
15:24:23 **** Build of project step-26-Debug@step-26 **** /usr/bin/make all /snap/cmake/715/bin/cmake -S/home/pushkar/examples/step-26 -B/home/pushkar/examples/step-26 --check-build-system CMakeFiles/Makefile.cmake 0 /snap/cmake/715/bin/cmake -E cmake_progress_start /home/pushkar/examples/step-26/CMakeFiles /home/pushkar/examples/step-26//CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/home/pushkar/examples/step-26' /usr/bin/make -f CMakeFiles/step-26.dir/build.make CMakeFiles/step-26.dir/depend make[2]: Entering directory '/home/pushkar/examples/step-26' cd /home/pushkar/examples/step-26 && /snap/cmake/715/bin/cmake -E cmake_depends "Unix Makefiles" /home/pushkar/examples/step-26 /home/pushkar/examples/step-26 /home/pushkar/examples/step-26 /home/pushkar/examples/step-26 /home/pushkar/examples/step-26/CMakeFiles/step-26.dir/DependInfo.cmake --color= make[2]: Leaving directory '/home/pushkar/examples/step-26' /usr/bin/make -f CMakeFiles/step-26.dir/build.make CMakeFiles/step-26.dir/build make[2]: Entering directory '/home/pushkar/examples/step-26' [ 50%] Linking CXX executable step-26 /snap/cmake/715/bin/cmake -E cmake_link_script CMakeFiles/step-26.dir/link.txt --verbose=1 /usr/bin/c++ -rdynamic -rdynamic -fuse-ld=gold -pthread -ggdb CMakeFiles/step-26.dir/step-26.cc.o -o step-26 -Wl,-rpath,/usr/local/lib /usr/local/lib/libdeal_II.g.so.9.0.0 -lpthread -lm -ldl -lopenblas -lgfortran -lquadmath -lm -lc -lgcc_s -lgcc -ldl -lz -lrt /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o:function _start: error: undefined reference to 'main' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/step-26.dir/build.make:106: step-26] Error 1 make[1]: *** [CMakeFiles/Makefile2:183: CMakeFiles/step-26.dir/all] Error 2 make: *** [Makefile:103: all] Error 2 make[2]: Leaving directory '/home/pushkar/examples/step-26' make[1]: Leaving directory '/home/pushkar/examples/step-26' "/usr/bin/make all" terminated with exit code 2. Build might be incomplete. 15:24:23 Build Failed. 3 errors, 0 warnings. (took 615ms) Any help in this regard will be beneficial Regards Pushkar -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/72bfcdd4-ba69-4cb4-a1d9-6627c26874dbn%40googlegroups.com.
