[Insight-users] Compiler errors on Solaris

Andriy Fedorov fedorov at bwh.harvard.edu
Mon Jul 11 10:15:44 EDT 2005


Hi,

I am compiling ITK on Solaris, configured with gcc/g++, and I have the 
following errors:

Building object file write.o...
/sciclone/qfs00/fedorov/src/Insight-CVS/Utilities/NrrdIO/write.c:944: 
error: parse error before '/' token
/sciclone/qfs00/fedorov/src/Insight-CVS/Utilities/NrrdIO/write.c:944: 
error: syntax error at '@' token
/sciclone/qfs00/fedorov/src/Insight-CVS/Utilities/NrrdIO/write.c:944: 
error: syntax error at '@' token
/sciclone/qfs00/fedorov/src/Insight-CVS/Utilities/NrrdIO/write.c:944:83: 
warning: null character(s) ignored
/sciclone/qfs00/fedorov/src/Insight-CVS/Utilities/NrrdIO/write.c:944:94: 
warning: null character(s) ignored
/sciclone/qfs00/fedorov/src/Insight-CVS/Utilities/NrrdIO/write.c:944:104: 
warning: null character(s) ignored
...
/sciclone/qfs00/fedorov/src/Insight-CVS/Utilities/NrrdIO/write.c:944: 
error: syntax error at '@' token
/sciclone/qfs00/fedorov/src/Insight-CVS/Utilities/NrrdIO/write.c:945: 
confused by earlier errors, bailing out
*** Error code 1
The following command caused the error:
gcc -o write.o       -I/sciclone/qfs00/fedorov/local/Insight-bin 
-I/sciclone/qfs00/fedorov/src/Insight-CVS/Code/Algorithms 
-I/sciclone/qfs00/fedorov/src/Insight-CVS/Code/BasicFilters 
-I/sciclone/qfs00/fedorov/src/Insight-CVS/Code/Common 
-I/sciclone/qfs00/fedorov/src/Insight-CVS/Code/Numerics 
-I/sciclone/qfs00/fedorov/src/Insight-CVS/Code/IO 
-I/sciclone/qfs00/fedorov/src/Insight-CVS/Code/Numerics/FEM 
-I/sciclone/qfs00/fedorov/src/Insight-CVS/Code/Numerics/Statistics 
-I/sciclone/qfs00/fedorov/src/Insight-CVS/Code/SpatialObject 
-I/sciclone/qfs00/fedorov/src/Insight-CVS/Utilities/MetaIO 
-I/sciclone/qfs00/fedorov/src/Insight-CVS/Utilities/NrrdIO 
-I/sciclone/qfs00/fedorov/src/Insight-CVS/Utilities/DICOMParser 
-I/sciclone/qfs00/fedorov/local/Insight-bin/Utilities/DICOMParser 
-I/sciclone/qfs00/fedorov/local/Insight-bin/Utilities/expat 
-I/sciclone/qfs00/fedorov/src/Insight-CVS/Utilities/expat 
-I/sciclone/qfs00/fedorov/local/Insight-bin/Utilities/gdcm 
-I/sciclone/qfs00/fedorov/local/Insight-bin/Utilities 
-I/sciclone/qfs00/fedorov/src/Insight-CVS/Utilities 
-I/sciclone/qfs00/fedorov/src/Insight-CVS/Utilities/vxl/vcl 
-I/sciclone/qfs00/fedorov/src/Insight-CVS/Utilities/vxl/core 
-I/sciclone/qfs00/fedorov/local/Insight-bin/Utilities/vxl/vcl 
-I/sciclone/qfs00/fedorov/local/Insight-bin/Utilities/vxl/core 
-I/sciclone/qfs00/fedorov/src/Insight-CVS/Utilities/vxl/v3p/netlib 
-I/sciclone/qfs00/fedorov/src/Insight-CVS/Utilities/zlib 
-I/sciclone/qfs00/fedorov/local/Insight-bin/Utilities/zlib 
-I/sciclone/qfs00/fedorov/src/Insight-CVS/Utilities/png 
-I/sciclone/qfs00/fedorov/local/Insight-bin/Utilities/png 
-I/sciclone/qfs00/fedorov/src/Insight-CVS/Utilities/tiff 
-I/sciclone/qfs00/fedorov/local/Insight-bin/Utilities/tiff   
-DTEEM_BUILD=1 -DTEEM_ENDIAN=4321 -DTEEM_32BIT=1 -DTEEM_BIGBITFIELD=1 
-DTEEM_QNANHIBIT=1 -DTEEM_DIO=0  -c 
/sciclone/qfs00/fedorov/src/Insight-CVS/Utilities/NrrdIO/write.c
make: Fatal error: Command failed for target `write.o'
Current working directory 
/sciclone/qfs00/fedorov/local/Insight-bin/Utilities/NrrdIO
*** Error code 1
The following command caused the error:
make  all
make: Fatal error: Command failed for target `default_target'
Current working directory 
/sciclone/qfs00/fedorov/local/Insight-bin/Utilities/NrrdIO
*** Error code 1
The following command caused the error:
cd /sciclone/qfs00/fedorov/local/Insight-bin/Utilities/NrrdIO; make 
default_target
make: Fatal error: Command failed for target `default_target_NrrdIO'
Current working directory 
/sciclone/qfs00/fedorov/local/Insight-bin/Utilities
*** Error code 1
The following command caused the error:
make  all
make: Fatal error: Command failed for target `default_target'
Current working directory 
/sciclone/qfs00/fedorov/local/Insight-bin/Utilities
*** Error code 1
The following command caused the error:
cd /sciclone/qfs00/fedorov/local/Insight-bin/Utilities; make default_target
make: Fatal error: Command failed for target `default_target_Utilities'
Current working directory /sciclone/qfs00/fedorov/local/Insight-bin
*** Error code 1
The following command caused the error:
make  all
make: Fatal error: Command failed for target `default_target'

Can anybody help?

[fedorov at monsoon Insight-bin] uname -a
SunOS monsoon.sciclone.wm.edu 5.9 Generic_117171-02 sun4u sparc 
SUNW,Sun-Fire-280R


Andriy Fedorov


More information about the Insight-users mailing list