g++ -c -pipe -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DUSE_LIB64_PATHES -fno-strict-aliasing -Wall -W -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -DUSE_LIB64_PATHES -fno-strict-aliasing -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -DQT_THREAD_SUPPORT -I/usr/lib/qt3/mkspecs/default -I. -I. -I/usr/include -I/usr/lib/qt3/include -o calc1.o calc1.cpp
In file included from calc1.cpp:17:
calc1.ui.h: In member function ‘virtual void Form1::n_b_click()’:
calc1.ui.h:78: warning: suggest parentheses around assignment used as truth value
g++ -o bin calc1.o moc_calc1.o -L/usr/lib64/ -L/usr/lib/qt3/lib64/ -L/usr/X11R6/lib64/ -lqt-mt -lXext -lX11 -lm
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../lib64/crt1.o: In function `_start':
/usr/src/packages/BUILD/glibc-2.9/csu/../sysdeps/x86_64/elf/start.S:109: undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [bin] Ошибка 1
Прикрепляю файлы, за кривость кода прошу не ругать, ибо только начинаю и, пока что гораздо важнее, чтоб работало. smile Спасибо за внимание.
З.Ы. В гугле был, сорри, если тема уже тут поднималась.