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 93496 - Cannot build sample project Quote
Summary: Cannot build sample project Quote
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: Sun All
: P1 blocker (vote)
Assignee: Thomas Preisler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-30 02:39 UTC by Nikolay Molchanov
Modified: 2007-11-02 16:53 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 Nikolay Molchanov 2007-01-30 02:39:08 UTC
I cannot build sample project Quote on Solaris SPARC 64 with SS12.
This is a P1 issue because we plan to support SS12 compilers in 5.5.1 release.
I used compilers from /set/mars/dist/sparc-S2/bin:

% which CC\n"
/set/mars/dist/sparc-S2/bin/CC
% CC -V
CC: Sun C++ 5.9 SunOS_sparc Build40_0 2007/01/29

Here is the log file:

Running "make -f Makefile CONF=Debug" in
/home/nikm/SunStudioProjects/Quote1-SS12-Solaris-SPARC-m64-gdb6.3.50

make -f nbproject/Makefile-Debug.mk SUBPROJECTS= .build-conf
mkdir -p build/Debug/Sun-Solaris-Sparc
CC -m64   -c -g +w -o build/Debug/Sun-Solaris-Sparc/disk.o disk.cc
(/home/nikm/SunStudioProjects/Quote1-SS12-Solaris-SPARC-m64-gdb6.3.50)disk.cc:
"disk.cc", line 22: Warning: Last line in file "disk.h" is not terminated with a
newline.
"disk.h", line 1: Error: A declaration was expected instead of "include".
"disk.h", line 1: Error: defined is not defined.
"disk.h", line 1: Warning: Implicit int is not supported in C++.
"disk.h", line 1: Error: "," expected instead of "DISK_H".
"disk.h", line 1: Error: Use ";" to terminate declarations.
"disk.h", line 1: Error: A declaration was expected instead of ",".
"disk.h", line 1: Warning: Implicit int is not supported in C++.
"disk.h", line 1: Error: "," expected instead of "}".
"disk.cc", line 25: Error: Disk is not defined.
"disk.cc", line 25: Error: Disk is not defined.
"disk.cc", line 26: Error: There must be an identifier to declare.
"disk.cc", line 28: Warning: Implicit int is not supported in C++.
"disk.cc", line 28: Error: Cannot use char* to initialize int.
"disk.cc", line 29: Error: tsingle is not defined.
"disk.cc", line 30: Error: t100 is not defined.
"disk.cc", line 31: Warning: Implicit int is not supported in C++.
"disk.cc", line 32: Warning: Implicit int is not supported in C++.
"disk.cc", line 33: Error: A declaration was expected instead of "}".
"disk.cc", line 35: Error: Disk is not defined.
"disk.cc", line 35: Error: Disk is not defined.
"disk.cc", line 35: Error: No direct declarator preceding "(".
"disk.cc", line 38: Warning: Implicit int is not supported in C++.
"disk.cc", line 38: Error: Multiple declaration for SetVendor.
"disk.cc", line 38: Error: Cannot use char* to initialize int.
"disk.cc", line 39: Error: type is not defined.
"disk.cc", line 40: Error: cat is not defined.
"disk.cc", line 41: Warning: Implicit int is not supported in C++.
"disk.cc", line 41: Error: Multiple declaration for SetUnits.
"disk.cc", line 42: Warning: Implicit int is not supported in C++.
"disk.cc", line 43: Error: A declaration was expected instead of "}".
"disk.cc", line 45: Error: Disk is not defined.
"disk.cc", line 45: Error: Disk is not defined.
"disk.cc", line 45: Error: No direct declarator preceding "(".
Compilation aborted, too many Error messages.
:(/home/nikm/SunStudioProjects/Quote1-SS12-Solaris-SPARC-m64-gdb6.3.50)disk.cc
*** Error code 1
make: Fatal error: Command failed for target `build/Debug/Sun-Solaris-Sparc/disk.o'
Current working directory
/home/nikm/SunStudioProjects/Quote1-SS12-Solaris-SPARC-m64-gdb6.3.50
*** Error code 1
make: Fatal error: Command failed for target `.build-impl'

Build failed. Exit value 1.
Comment 1 julieg 2007-01-30 03:04:08 UTC
Actually, Quote sample project fails to build on all of the platforms.
Comment 2 Thomas Preisler 2007-01-30 18:47:14 UTC
Some of the source files are corrupted with double ^M^M as eol chars. will
restore old versions.
Comment 3 Thomas Preisler 2007-01-30 21:23:31 UTC
All corrupted files have been restored and comitted to release551 and cnd-ssea1
branches.
Comment 4 Thomas Preisler 2007-01-30 21:24:33 UTC
Fixed....
Comment 5 julieg 2007-01-30 23:40:13 UTC
Mark this issue as Mars EA1 showstopper.
This bug is in the sampledir which has very high visibility.
Comment 6 Thomas Preisler 2007-01-30 23:57:09 UTC
We should have a new CND build tomorrow (Wednesday). I will then need to PIB the
new CND should be able to put it back to EA1 workspace sometime Thursday. 
Comment 7 alexandrov 2007-11-02 16:53:40 UTC
verified in build 200711011200