Hi All,
I amtrying to compile from the source the ovlfs program that I get from
here ( I actually need it for my Live CD project). However following the instructions, both from the
Live CD site which suggest to run ./build and from the instruction that comes with the source to use ./configure make and make install, I got the following error:
make[1]: Entering directory `/usr/src/ovlfs-2.0.1/mount'
making ovlmount
/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../../i486-slackware-linux/bin/ld: cannot find -lfl
collect2: ld returned 1 exit status
make[1]: *** [ovlmount] Error 1
make[1]: Leaving directory `/usr/src/ovlfs-2.0.1/mount'
make: *** [mount] Error 2
I check the Makefile under the directory mount and found the following command:
ovlmount: $(OVLFS_MOUNT_OBJ)
@echo making ovlmount
@$(CXX_FOR_TARGET) $(CFLAGS) -o ovlmount $(OVLFS_MOUNT_OBJ) $(LIB) -lfl
On the same Makefile I also found
CFLAGS ?= -g
INC ?= -I../lib
LIB ?= -L../lib -lasn
# If you have and use a real "lex", unset FLEX_FLAG.
FLEX_FLAG ?= -DFLEX
CFLAGS += $(FLEX_FLAG)
OVLFS_MOUNT_OBJ=\
lex.yy.o \
y.tab.o \
ovlmount.o
and from Rules.mk I found
AR_FOR_BUILD ?= ar
CC_FOR_BUILD ?= cc
CXX_FOR_BUILD ?= c++
LD_FOR_BUILD ?= ld
So I know that somehow the C++ compiler have failed to do what it supposed to do and it has something to do with the -lfl key. My question is what does it all mean ? I don't even know what the -lfl switch is supposed to do.
Can any C/C++ guru out there help me out on this one ?
Thanks a lot in advanced.