0
  "_main", referenced from:
      start in crt1.10.6.o
  "_yywrap", referenced from:
      _yylex in ccY7a1Un.o
      _input in ccY7a1Un.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status

这是我以 %% 形式运行简单 lex 程序时遇到的错误。相同的程序在其他地方运行良好。

4

0 回答 0