I think you first need to make sure your compiler is working. Does a simple 'hello world' C program compile and run okay?
Dan On Mon, Jun 9, 2014 at 3:49 AM, Madhu <[email protected]> wrote: > Dear All, > > Below is compilation error in solaris machine. > > BASIC TEST.BP AAA > AAA > "/temenos/dev/R13/include/jsystem.h", line 98: cannot find include file: > <pthread.h> > "/temenos/dev/R13/include/jsystem.h", line 100: cannot find include file: > <stdio.h> > "/temenos/ev/R13/include/jsystem.h", line 105: cannot find include file: > <fcntl.h> > "/temenos/dev/R13/include/jedi.h", line 439: syntax error before or at: > FILE > "/temenos/dev/R13/include/jedi.h", line 510: syntax error before or at: > off_t > "/temenos/dev/R13/include/jedi.h", line 533: syntax error before or at: > ino_t > "/temenos/dev/R13/include/jedi.h", line 599: warning: no explicit type > given (E_NO_EXPLICIT_TYPE_GIVEN) > "/temenos/dev/R13/include/jedi.h", line 599: syntax error before or at: > jflock_t > "/temenos/dev/R13/include/jedi.h", line 599: warning: old-style > declaration or incorrect type for: jflock_t (E_OLD_STYLE_DECL_OR_BAD_TYPE) > "/temenos/dev/R13/include/jedi.h", line 623: syntax error before or at: > pid_t > "/temenos/dev/R13/include/jediFile64.h", line 20: syntax error before or > at: size_t > "/temenos/dev/R13/include/jediFile64.h", line 20: warning: undefined or > missing type for: size_t (E_UNDEFINED_OR_MISSING_TYPE) > "/temenos/dev/R13/include/jediFile64.h", line 20: warning: undefined or > missing type for: off_t (E_UNDEFINED_OR_MISSING_TYPE) > "/temenos/dev/R13/include/jediFile64.h", line 21: syntax error before or > at: size_t > "/temenos/dev/R13/include/jediFile64.h", line 21: warning: undefined or > missing type for: size_t (E_UNDEFINED_OR_MISSING_TYPE) > "/temenos/dev/R13/include/jediFile64.h", line 21: warning: undefined or > missing type for: off_t (E_UNDEFINED_OR_MISSING_TYPE) > "/temenos/dev/R13/include/jedi.h", line 684: warning: old-style > declaration or incorrect type for: FILE (E_OLD_STYLE_DECL_OR_BAD_TYPE) > "/temenos/dev/R13/include/jedi.h", line 684: syntax error before or at: * > "/temenos/dev/R13/include/jedi.h", line 684: warning: old-style > declaration or incorrect type for: JediTrace (E_OLD_STYLE_DECL_OR_BAD_TYPE) > "/temenos/dev/R13/include/jedi.h", line 690: warning: old-style > declaration or incorrect type for: time_t (E_OLD_STYLE_DECL_OR_BAD_TYPE) > "/temenos/dev/R13/include/jedi.h", line 690: syntax error before or at: > JediPauseDatabase > "/temenos/dev/R13/include/jedi.h", line 690: warning: old-style > declaration or incorrect type for: JediPauseDatabase > (E_OLD_STYLE_DECL_OR_BAD_TYPE) > "/temenos/dev/R13/include/jedi.h", line 725: warning: old-style > declaration or incorrect type for: ino_t (E_OLD_STYLE_DECL_OR_BAD_TYPE) > "/temenos/dev/R13/include/jedi.h", line 725: syntax error before or at: > JRunFileIOGetIno > "/temenos/dev/R13/include/jedi.h", line 725: warning: old-style > declaration or incorrect type for: JRunFileIOGetIno > (E_OLD_STYLE_DECL_OR_BAD_TYPE) > "/temenos/dev/R13/include/jedi.h", line 726: warning: old-style > declaration or incorrect type for: dev_t (E_OLD_STYLE_DECL_OR_BAD_TYPE) > "/temenos/dev/R13/include/jedi.h", line 726: syntax error before or at: > JRunFileIOGetDevice > "/temenos/dev/R13/include/jedi.h", line 726: warning: old-style > declaration or incorrect type for: JRunFileIOGetDevice > (E_OLD_STYLE_DECL_OR_BAD_TYPE) > "/temenos/dev/R13/include/jedi.h", line 727: warning: old-style > declaration or incorrect type for: mode_t (E_OLD_STYLE_DECL_OR_BAD_TYPE) > "/temenos/dev/R13/include/jedi.h", line 727: syntax error before or at: > JRunFileIOGetFileMode > "/temenos/dev/R13/include/jedi.h", line 727: warning: old-style > declaration or incorrect type for: JRunFileIOGetFileMode > (E_OLD_STYLE_DECL_OR_BAD_TYPE) > "/temenos/dev/R13/include/jedi.h", line 728: warning: old-style > declaration or incorrect type for: ino_t (E_OLD_STYLE_DECL_OR_BAD_TYPE) > "/temenos/dev/R13/include/jedi.h", line 728: syntax error before or at: > JRunFileIOGetLock1 > "/temenos/dev/R13/include/jedi.h", line 728: warning: old-style > declaration or incorrect type for: JRunFileIOGetLock1 > (E_OLD_STYLE_DECL_OR_BAD_TYPE) > "/temenos/dev/R13/include/jedi.h", line 729: warning: old-style > declaration or incorrect type for: dev_t (E_OLD_STYLE_DECL_OR_BAD_TYPE) > "/temenos/dev/R13/include/jedi.h", line 729: syntax error before or at: > JRunFileIOGetLock2 > "/temenos/dev/R13/include/jedi.h", line 729: warning: old-style > declaration or incorrect type for: JRunFileIOGetLock2 > (E_OLD_STYLE_DECL_OR_BAD_TYPE) > "/temenos/dev/R13/include/jedi.h", line 757: syntax error before or at: > time_t > "/temenos/dev/R13/include/jedi.h", line 757: warning: undefined or missing > type for: time_t (E_UNDEFINED_OR_MISSING_TYPE) > "/temenos/dev/R13/include/jedi.h", line 759: syntax error before or at: > time_t > "/temenos/dev/R13/include/jedi.h", line 759: warning: undefined or missing > type for: time_t (E_UNDEFINED_OR_MISSING_TYPE) > "/temenos/dev/R13/include/jedi.h", line 759: warning: undefined or missing > type for: int (E_UNDEFINED_OR_MISSING_TYPE) > "/temenos/dev/R13/include/jedi.h", line 759: warning: undefined or missing > type for: int (E_UNDEFINED_OR_MISSING_TYPE) > "/temenos/dev/R13/include/jsystem.h", line 252: syntax error before or at: > pthread_t > "AAA", line 9: undefined symbol: NULL > "AAA", line 9: warning: improper pointer/integer combination: arg #2 > (E_BAD_PTR_INT_COMB_ARG) > cc: acomp failed for BASIC_1070.c > cc -mt=yes -KPIC -xCC -m64 -errtags=yes > -erroff=E_NO_IMPLICIT_DECL_ALLOWED,E_STATEMENT_NOT_REACHED -c > -I/temenos/dev/R13/include -DJBC_OPTLEVEL2 -ITEST.BP BASIC_1070.c failed , > command returned a code of 2 > jcompile: BASIC_1070.j deleted > jcompile: BASIC_1070.c deleted > jcompile: Returned an error code of 8 > !! Unable to read in object file !! > ** Unable to compile source AAA ** > Source file AAA compiled successfully > > Regards, > Madhu S > > -- > -- > IMPORTANT: T24/Globus posts are no longer accepted on this forum. > > To post, send email to [email protected] > To unsubscribe, send email to [email protected] > For more options, visit this group at > http://groups.google.com/group/jBASE?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "jBASE" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- IMPORTANT: T24/Globus posts are no longer accepted on this forum. To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en --- You received this message because you are subscribed to the Google Groups "jBASE" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
