Sun workstation; cannot get test programs to Make

Corelli.Eileen corelli.eileen at ensco.com
Thu May 20 09:50:07 CDT 2004


Im trying to compile p-netcdf test cases "nc_test" and "nc_test2" on a Sun workstation
and get the following error (while executing the Makfile).  Can anyone shed some light on what is happening?

/home/corelli/MPI/pnetcdf/test/nc_test> make
/apps/mpi/bin/mpicc -c -O -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/export/disk1/parallel-netcdf-0.9.3/src/lib -I.  nc_test.c
In file included from /opt/gnu/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2/include/time.h:90,
                 from /usr/include/sys/time.h:411,
                 from /usr/include/sys/select.h:17,
                 from /opt/gnu/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2/include/sys/types.h:281,
                 from /opt/gnu/lib/gcc-lib/sparc-sun-solaris2.5.1/2.7.2/include/unistd.h:15,
                 from nc_test.c:7:
/usr/include/sys/siginfo.h:74: parse error before `pthread_attr_t'
/usr/include/sys/siginfo.h:74: warning: no semicolon at end of struct or union
/usr/include/sys/siginfo.h:76: parse error before `}'
*** Error code 1
make: Fatal error: Command failed for target `nc_test.o'
/home/corelli/MPI/pnetcdf/test/nc_test> 




Eileen Corelli
Senior Scientist, ENSCO Inc.
4849 N. Wickham Rd.
Melbourne FL  32940
Phone 321 254-4122 x7540




More information about the parallel-netcdf mailing list