在eclipse底下使用bison及flex - Linux

Table of Contents

目前我的機器是用ubuntu灌了eclipse
根據網路上的文件 已經可以編譯C/C++的程式
也裝好flex以及bison

用寫好的makefile可以再console底下編譯flex以及bison
但是 在eclipse底下使用同一份makefile卻沒辦法編譯flex及bison
(錯誤訊息 error:undefined reference to `yyparse()`)
在網路上找了半天 不知道該怎樣解決

請問各位先進有用過eclipse底下開發過bison及flex的程式嗎?

--

All Comments