error: nome de tipo desconhecido 'bool'

Eu baixei o código fonte e queria compilar o arquivo do scanner. Produz este erro:

[meepo@localhost cs143-pp1]$ gcc -o lex.yy.o lex.yy.c -ll
In file included from scanner.l:15:0:
scanner.h:59:5: error: unknown type name ‘bool’
In file included from scanner.l:16:0:
utility.h:64:38: error: unknown type name ‘bool’
utility.h:74:1: error: unknown type name ‘bool’
In file included from scanner.l:17:0:
errors.h:16:18: fatal error: string: No such file or directory
compilation terminated.

E tentei usar complier diferente para compilá-lo, mas parecia haver erros diferente

[meepo@localhost cs143-pp1]$ g++ -o scan lex.yy.c -ll
/usr/bin/ld: cannot find -ll
collect2: ld returned 1 exit status

Meu SO é 3.0-ARCH, não sei por que isso aconteceu. Como corrijo o erro?

questionAnswers(4)

yourAnswerToTheQuestion