bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lex implicit rule chain is broken


From: Mohamed Akram
Subject: lex implicit rule chain is broken
Date: Sun, 19 May 2019 02:01:10 +0000

echo "lang: lang.l" > Makefile
echo "%%" > lang.l
make

Output:

lex  -t lang.l > lang.c
cc    -c -o lang.o lang.c
cc   lang.o lang.l   -o lang
/usr/bin/ld: lang.l: file not recognized: file truncated
collect2: error: ld returned 1 exit status
make: *** [<builtin>: lang] Error 1
rm lang.o lang.c

It tries to link the .l file.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]