Hello friends,
I am new with Fedora 21 but I am trying to learn C++ as well. So, in my compilation command of
"g++ -Wall `root-config --cflags --ldflags --libs` example.cpp" I am receiving the error message
"/usr/lib/gcc/i686-redhat-linux/4.9.2/../../../crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: error: ld returned 1 exit status"