This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 181557

Summary: Build fails on new "C/C++ Application" project
Product: cnd Reporter: soldatov <soldatov>
Component: -- Other --Assignee: nnnnnk <nnnnnk>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P1    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description soldatov 2010-03-05 03:05:42 UTC
Scenario:
- Create "C/C++ Application" project
- Build it
==> build fails

/usr/bin/make -f nbproject/Makefile-Debug.mk SUBPROJECTS= .clean-conf
nbproject/Makefile-Debug.mk:80: предупреждение: переопределение команд для цели `build/Debug/Cygwin-Windows/main.o'
nbproject/Makefile-Debug.mk:69: предупреждение: старые команды для цели `build/Debug/Cygwin-Windows/main.o' игнорируются
make[1]: Entering directory `/cygdrive/c/Documents and Settings/tester/My Documents/NetBeansProjects/CppApplication_2'
rm -f -r build/Debug
rm -f dist/Debug/Cygwin-Windows/cppapplication_2.exe
make[1]: Leaving directory `/cygdrive/c/Documents and Settings/tester/My Documents/NetBeansProjects/CppApplication_2'
CLEAN SUCCESSFUL (total time: 531ms)

/usr/bin/make -f nbproject/Makefile-Debug.mk SUBPROJECTS= .build-conf
make[1]: Entering directory `/cygdrive/c/Documents and Settings/tester/My Documents/NetBeansProjects/CppApplication_2'
nbproject/Makefile-Debug.mk:80: предупреждение: переопределение команд для цели `build/Debug/Cygwin-Windows/main.o'
nbproject/Makefile-Debug.mk:69: предупреждение: старые команды для цели `build/Debug/Cygwin-Windows/main.o' игнорируются
/usr/bin/make  -f nbproject/Makefile-Debug.mk dist/Debug/Cygwin-Windows/cppapplication_2.exe
make[2]: Entering directory `/cygdrive/c/Documents and Settings/tester/My Documents/NetBeansProjects/CppApplication_2'
nbproject/Makefile-Debug.mk:80: предупреждение: переопределение команд для цели `build/Debug/Cygwin-Windows/main.o'
nbproject/Makefile-Debug.mk:69: предупреждение: старые команды для цели `build/Debug/Cygwin-Windows/main.o' игнорируются
mkdir -p build/Debug/Cygwin-Windows
make[2]: Циклическая зависимость build/Debug/Cygwin-Windows/main.o <- build/Debug/Cygwin-Windows/main.o пропущена.
nm: 'build/Debug/Cygwin-Windows/main.o': Нет такого файла
make[2]: Leaving directory `/cygdrive/c/Documents and Settings/tester/My Documents/NetBeansProjects/CppApplication_2'
make[1]: Leaving directory `/cygdrive/c/Documents and Settings/tester/My Documents/NetBeansProjects/CppApplication_2'
cp: невозможно выполнить stat для `build/Debug/Cygwin-Windows/main.o': No such file or directory
make[2]: *** [build/Debug/Cygwin-Windows/main.o] Ошибка 1
make[1]: *** [.build-conf] Ошибка 2
make: *** [.build-impl] Ошибка 2
BUILD FAILED (exit value 2, total time: 843ms)
Comment 2 nnnnnk 2010-03-05 10:02:03 UTC
fixed