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 - Build fails on new "C/C++ Application" project
Summary: Build fails on new "C/C++ Application" project
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P1 normal (vote)
Assignee: nnnnnk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-05 03:05 UTC by soldatov
Modified: 2010-06-17 10:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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