% make my_grep rm -f my_grep.c flex -d -t my_grep.l > my_grep.c gcc -g -target sun4 -o my_grep my_grep.c -ll my_grep.l: In function `yylex': my_grep.l:2: parse error before `[' my_grep.l: At top level: my_grep.l:25: conflicting types for `yy_load_buffer_state' my_grep.c:230: previous declaration of `yy_load_buffer_state' my_grep.l:25: warning: data definition has no type or storage class my_grep.l:26: parse error before `}' my_grep.l:33: warning: initialization makes pointer from integer without a cast my_grep.l:33: initializer element is not constant my_grep.l:33: warning: data definition has no type or storage class my_grep.l:38: warning: initialization makes integer from pointer without a cast my_grep.l:38: initializer element is not constant my_grep.l:38: warning: data definition has no type or storage class my_grep.l:40: initializer element is not constant my_grep.l:40: warning: data definition has no type or storage class my_grep.l:41: parse error before `:' my_grep.l:48: conflicting types for `yy_last_accepting_cpos' my_grep.c:353: previous declaration of `yy_last_accepting_cpos' my_grep.l:48: warning: initialization makes integer from pointer without a cast my_grep.l:48: initializer element is not constant my_grep.l:48: warning: data definition has no type or storage class my_grep.l:49: parse error before `}' my_grep.l:56: redefinition of `yy_current_state' my_grep.l:40: `yy_current_state' previously defined here my_grep.l:56: `yy_c' undeclared here (not in a function) my_grep.l:56: warning: data definition has no type or storage class my_grep.l:57: parse error before `++' my_grep.l:66: redefinition of `yy_current_state' my_grep.l:56: `yy_current_state' previously defined here my_grep.l:66: initializer element is not constant my_grep.l:66: warning: data definition has no type or storage class my_grep.l:67: initializer element is not constant my_grep.l:67: warning: data definition has no type or storage class my_grep.l:68: parse error before `}' my_grep.l:70: conflicting types for `yytext' my_grep.c:369: previous declaration of `yytext' my_grep.l:70: initializer element is not constant my_grep.l:70: warning: data definition has no type or storage class my_grep.l:70: initializer element is not constant my_grep.l:70: warning: data definition has no type or storage class my_grep.l:70: conflicting types for `yy_hold_char' my_grep.c:210: previous declaration of `yy_hold_char' my_grep.l:70: initializer element is not constant my_grep.l:70: warning: data definition has no type or storage class my_grep.l:70: redefinition of `yy_cp' my_grep.l:33: `yy_cp' previously defined here my_grep.l:70: warning: data definition has no type or storage class my_grep.l:70: conflicting types for `yy_c_buf_p' my_grep.c:218: previous declaration of `yy_c_buf_p' my_grep.l:70: warning: initialization makes integer from pointer without a cast my_grep.l:70: initializer element is not constant my_grep.l:70: warning: data definition has no type or storage class my_grep.l:73: parse error before `:' my_grep.l:96: conflicting types for `yy_cp' my_grep.l:70: previous declaration of `yy_cp' my_grep.l:96: initializer element is not constant my_grep.l:96: warning: data definition has no type or storage class my_grep.l:97: redefinition of `yy_current_state' my_grep.l:66: `yy_current_state' previously defined here my_grep.l:97: initializer element is not constant my_grep.l:97: warning: data definition has no type or storage class my_grep.l:98: parse error before `goto' my_grep.l:15: conflicting types for `yy_cp' my_grep.l:96: previous declaration of `yy_cp' my_grep.l:15: warning: initialization makes pointer from integer without a cast my_grep.l:15: initializer element is not constant my_grep.l:15: warning: data definition has no type or storage class my_grep.l:17: parse error before `if' my_grep.l:44: redefinition of `yy_c_buf_p' my_grep.l:70: `yy_c_buf_p' previously defined here my_grep.l:44: `yy_amount_of_matched_text' undeclared here (not in a function) my_grep.l:44: initializer element is not constant my_grep.l:44: warning: data definition has no type or storage class my_grep.l:46: redefinition of `yy_current_state' my_grep.l:97: `yy_current_state' previously defined here my_grep.l:46: initializer element is not constant my_grep.l:46: warning: data definition has no type or storage class my_grep.l:57: initializer element is not constant my_grep.l:57: warning: data definition has no type or storage class my_grep.l:59: redefinition of `yy_bp' my_grep.l:38: `yy_bp' previously defined here my_grep.l:59: initializer element is not constant my_grep.l:59: warning: data definition has no type or storage class my_grep.l:61: parse error before `if' my_grep.l:65: redefinition of `yy_current_state' my_grep.l:46: `yy_current_state' previously defined here my_grep.l:65: initializer element is not constant my_grep.l:65: warning: data definition has no type or storage class my_grep.l:66: parse error before `goto' my_grep.l:95: redefinition of `yy_act' my_grep.l:67: `yy_act' previously defined here my_grep.l:95: initializer element is not constant my_grep.l:95: warning: data definition has no type or storage class my_grep.l:96: parse error before `goto' my_grep.l:111: redefinition of `yy_current_state' my_grep.l:65: `yy_current_state' previously defined here my_grep.l:111: initializer element is not constant my_grep.l:111: warning: data definition has no type or storage class my_grep.l:113: conflicting types for `yy_cp' my_grep.l:15: previous declaration of `yy_cp' my_grep.l:113: initializer element is not constant my_grep.l:113: warning: data definition has no type or storage class my_grep.l:114: redefinition of `yy_bp' my_grep.l:59: `yy_bp' previously defined here my_grep.l:114: initializer element is not constant my_grep.l:114: warning: data definition has no type or storage class my_grep.l:115: parse error before `goto' my_grep.l:121: redefinition of `yy_current_state' my_grep.l:111: `yy_current_state' previously defined here my_grep.l:121: initializer element is not constant my_grep.l:121: warning: data definition has no type or storage class my_grep.l:123: redefinition of `yy_cp' my_grep.l:113: `yy_cp' previously defined here my_grep.l:123: initializer element is not constant my_grep.l:123: warning: data definition has no type or storage class my_grep.l:124: redefinition of `yy_bp' my_grep.l:114: `yy_bp' previously defined here my_grep.l:124: initializer element is not constant my_grep.l:124: warning: data definition has no type or storage class my_grep.l:125: parse error before `goto' my_grep.l: In function `yy_get_next_buffer': my_grep.l:149: warning: initialization makes pointer from integer without a cast my_grep.l:153: warning: comparison between pointer and integer my_grep.l:206: invalid operands to binary - my_grep.l:230: warning: assignment makes integer from pointer without a cast my_grep.l:268: warning: assignment makes integer from pointer without a cast my_grep.l: In function `yy_get_previous_state': my_grep.l:283: warning: assignment makes pointer from integer without a cast my_grep.l:283: warning: comparison between pointer and integer my_grep.l:289: warning: assignment makes integer from pointer without a cast my_grep.l: In function `yy_try_NUL_trans': my_grep.l:318: warning: initialization makes pointer from integer without a cast my_grep.l:324: warning: assignment makes integer from pointer without a cast my_grep.l: In function `yyunput': my_grep.l:348: warning: initialization makes pointer from integer without a cast my_grep.l:376: warning: assignment makes integer from pointer without a cast my_grep.l:378: warning: assignment makes integer from pointer without a cast my_grep.l: In function `input': my_grep.l:391: invalid type argument of `unary *' my_grep.l:393: invalid type argument of `unary *' my_grep.l:399: warning: comparison between pointer and integer my_grep.l:401: invalid type argument of `unary *' my_grep.l:445: invalid type argument of `unary *' my_grep.l:446: invalid type argument of `unary *' my_grep.l: In function `yy_switch_to_buffer': my_grep.l:481: invalid type argument of `unary *' my_grep.l:482: warning: assignment makes pointer from integer without a cast my_grep.l: At top level: my_grep.l:503: conflicting types for `yy_load_buffer_state' my_grep.l:25: previous declaration of `yy_load_buffer_state' my_grep.l: In function `yy_load_buffer_state': my_grep.l:505: warning: assignment makes integer from pointer without a cast my_grep.l:507: invalid type argument of `unary *' *** Error code 1 make: Fatal error: Command failed for target `my_grep'