OpenWrt Forum Archive

Topic: No -lfl

The content of this topic has been archived on 28 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I installed flex using the default packaged makefile for flex, now how can I tell ld there is the -lfl available ?

Some softwares are requiring this to properly compile.

Thanks a lot for your answer

Hi Florian,

it seems flex.mk installs everything in $(TARGET_DIR), so you just have to use -lfl and -L$(TARGET_DIR)/usr/lib when linking

--
Nico

Thanks a lot, now I have other errors to solve.

The discussion might have continued from here.