Hi! I'm using OpenSolaris build 130 (the problem happens on earlier builds 
too). I installed  Sun Studio 12u1 and netbeans using Package Manager. When I 
try to build c/c++ projects, I get dmake: Fatal error: Command failed for 
target `.build-impl'. This happens on all projects including examples that came 
with sun studio. I used also get same problem on netbeans 6.7.1. Here is build 
output from sun studio:


Running "/opt/sunstudio12.1/bin/dmake  -f Makefile CONF=Debug" in 
/home/andreja/SunStudioProjects/Welcome

dmake: defaulting to parallel mode.
See the man page dmake(1) for more information on setting up the .dmakerc file.
ZVEZDA --> 1 job
ZVEZDA --> 2 jobs
/opt/sunstudio12.1/bin/dmake -f nbproject/Makefile-Debug.mk SUBPROJECTS= 
.build-conf
/opt/sunstudio12.1/bin/dmake  -f nbproject/Makefile-Debug.mk 
dist/Debug/SunStudio-Solaris-x86/welcome
ZVEZDA --> 1 job
mkdir -p dist/Debug/SunStudio-Solaris-x86
CC    -o dist/Debug/SunStudio-Solaris-x86/welcome 
build/Debug/SunStudio-Solaris-x86/welcome.o  
ZVEZDA --> Job output
mkdir -p dist/Debug/SunStudio-Solaris-x86
CC    -o dist/Debug/SunStudio-Solaris-x86/welcome 
build/Debug/SunStudio-Solaris-x86/welcome.o  
CC: Fatal error in ld: Segmentation Fault (core dumped)
ld: fatal: file /opt/sunstudio12.1/prod/lib/crti.o: section [9].rela.annotate 
has invalid type [ SHT_RELA ]
*** Error code 1
dmake: Fatal error: Command failed for target 
`dist/Debug/SunStudio-Solaris-x86/welcome'
Current working directory /home/andreja/SunStudioProjects/Welcome
*** Error code 1
dmake: Fatal error: Command failed for target `.build-conf'
Current working directory /home/andreja/SunStudioProjects/Welcome
*** Error code 1
dmake: Fatal error: Command failed for target `.build-impl'

Build failed. Exit value 1.



Just now I installed sun studio express package and netbeans seems to be 
working, but sun studio still isn't working.
-- 
This message posted from opensolaris.org

Reply via email to