Error compiling on Solaris

Mehran Ahsant mehrana@pdc.kth.se
Mon Jun 23 09:35:00 GMT 2003


Hi, 

I'm trying to compile a program distributed for Linux on solaris box   

I get these error message .

Anyone has any clue ??

cheers 

/Mehran


gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"nordugrid\"
-DVERSION=\"0.3.21\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_NAMESPACES= -DHAVE_SSTREAM=
-DGLOBUS_2_2=1 -DOLD_GLOBUS_IO=1 -D__SOLARIS__=1 -I. -I.
-I/afs/pdc.kth.se/home/m/mehrana/so-globus/include/gcc32dbg -g -O2 -MT
ftp_preallocate_plugin.lo -MD -MP -MF .deps/ftp_preallocate_plugin.Tpo
-c ftp_preallocate_plugin.c  -fPIC -DPIC -DPIC -o
ftp_preallocate_plugin.o
In file included from /usr/include/sys/vnode.h:42,
                 from /usr/include/sys/stream.h:22,
                 from /usr/include/netinet/in.h:41,
                 from /usr/include/netdb.h:96,
                 from
/afs/pdc.kth.se/home/m/mehrana/so-globus/include/gcc32dbg/globus_common_include.h:32,
                 from
/afs/pdc.kth.se/home/m/mehrana/so-globus/include/gcc32dbg/globus_common.h:45,
                 from ftp_preallocate_plugin.c:2:
/usr/include/sys/resource.h:144: field `ru_utime' has incomplete type
/usr/include/sys/resource.h:145: field `ru_stime' has incomplete type
/usr/include/sys/resource.h:160: confused by earlier errors, bailing out
make[2]: *** [ftp_preallocate_plugin.lo] Error 1
make[2]: Leaving directory
`/afs/pdc.kth.se/home/m/mehrana/nordugrid-0.3.21/grid-manager/transfer'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/afs/pdc.kth.se/home/m/mehrana/nordugrid-0.3.21/grid-manager'
make: *** [all-recursive] Error 1




More information about the Gcc-help mailing list