/usr/bin/ld:找不到 -ll:没有此文件或目录

/usr/bin/ld:找不到 -ll:没有此文件或目录
make -C expl
make[1]: Entering directory '/home/hitesh/myexpos/expl'
gcc -g -fcommon -w -c ltranslate.lex.c
gcc -g -fcommon -o ltranslate ltranslate.lex.o
make[1]: Leaving directory '/home/hitesh/myexpos/expl'
make -C spl
make[1]: Entering directory '/home/hitesh/myexpos/spl'
make[1]: Nothing to be done for 'default'.
make[1]: Leaving directory '/home/hitesh/myexpos/spl'
make -C xfs-interface
make[1]: Entering directory '/home/hitesh/myexpos/xfs-interface'
make[1]: Nothing to be done for 'default'.
make[1]: Leaving directory '/home/hitesh/myexpos/xfs-interface'
make -C xsm
make[1]: Entering directory '/home/hitesh/myexpos/xsm'
cc -g -o xsm lex.yy.o machine.o main.o simulator.o word.o memory.o registers.o tokenize.o disk.o debug.o exception.o '-ll'
/usr/bin/ld: cannot find -ll: No such file or directory
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:14: xsm] Error 1
make[1]: Leaving directory '/home/hitesh/myexpos/xsm'
make: *** [Makefile:7: all] Error 2

当我尝试sudo apt-get install libl-dev再次添加库时,错误是Unable to locate package libl-dev。有人能帮我解决我的问题吗?

答案1

libfl-dev列表libl

/usr/include/FlexLexer.h
/usr/lib/x86_64-linux-gnu/libfl.a
/usr/lib/x86_64-linux-gnu/libfl.so
/usr/lib/x86_64-linux-gnu/libl.a
/usr/lib/x86_64-linux-gnu/pkgconfig/libfl.pc
/usr/share/doc/libfl-dev/NEWS.Debian.gz
/usr/share/doc/libfl-dev/README.md.gz
/usr/share/doc/libfl-dev/changelog.Debian.gz
/usr/share/doc/libfl-dev/copyright

因此该命令似乎是

sudo apt install libfl-dev

相关内容