lex/yacc not configured properly.

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

 



There seems to be a small issue with configure while checking
lex/yacc. Eventhough lex/yacc is available, it fails as the library
name for lex is not what is expected.

library for lex should be "-lfl" instead of "-ll".

+ echo 'Compiling test case lex'
+ do_cc -D_GNU_SOURCE -include config-host.h -o
/tmp/fio-conf-1068-8707-30378.exe /tmp/fio-conf-10872-8707-1500.c -ll
-lnuma -lrt -laio -lz
+ echo gcc -D_GNU_SOURCE -include config-host.h -o
/tmp/fio-conf-1068-8707-30378.exe /tmp/fio-conf-10872-8707-1500.c -ll
-lnuma -lrt -laio -lz
+ gcc -D_GNU_SOURCE -include config-host.h -o
/tmp/fio-conf-1068-8707-30378.exe /tmp/fio-conf-10872-8707-1500.c -ll
-lnuma -lrt -laio -lz
+ return 1
+ arith=no
+ echo 'lex/yacc for arithmetic       no'

The following fixes the issue:
------------------------
--- configure.old       2015-04-16 06:19:44.016796602 -0400
+++ configure   2015-04-16 06:19:55.272796870 -0400
@@ -1420,8 +1420,8 @@ int main(int argc, char **argv)
   return 0;
 }
 EOF
-if compile_prog "" "-ll" "lex"; then
-  LIBS="-ll $LIBS"
+if compile_prog "" "-lfl" "lex"; then
+  LIBS="-lfl $LIBS"
 else
   arith="no"
 fi
-------------------

lex/yacc for arithmetic       yes

-- 
Srinivasa R Chamarthy
--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux