compile libnxsl files
-
Hi Victor,
I'm here again. There art further progress in compiling sources.
But I have another obstacle to overcome.
When I try to compile libnsxl, I've got errors like follows. I installed bison V2.4.1.
Can you guess what are problems?--------------------Configuration: libnxsl - Win32 Release--------------------
Compiling .\parser.y
m4: cannot open `Files\GnuWin32/share/bison': No such file or directory
m4: cannot open `C:\Program': No such file or directory
m4: cannot open `Files\GnuWin32/share/bison/m4sugar/m4sugar.m4': No such file or directoryRegards,
Joseph
-
Hello!
Looks like double quotes are missing somewhere, and because bison is installed into C:\Program Files\... it breaks on a space in a path. Try to install GnuWin32 tools into directory without spaces in the path.
Best regards,
Victor -
Hello,
I moved GnuWin32 directory to root and looks working fine.
But it still has some dregs.
I downloaded flex version 2.5.4 to compile parser.l file and tried but failed.
I got a message like follows. I think it is related with version of flex.
What version of flex do you using?--------------------Configuration: libnxsl - Win32 Release--------------------
Compiling .\parser.l
flex: unknown flag '-'. For usage, try
flex --help
Error executing c:\windows\system32\cmd.exe.lex.yy.cpp - 1 error(s), 0 warning(s)
----------------------------------------------------------------------------Because of the above message, I removed one '-' from "-nounistd" flag. I think it was passed but I had another messages like follows.
--------------------Configuration: libnxsl - Win32 Release--------------------
Compiling .\parser.l
flex: -o flag must be given separately
Error executing c:\windows\system32\cmd.exe.lex.yy.cpp - 1 error(s), 0 warning(s)
----------------------------------------------------------------------------So I gave a space at '-o' flag like '-o lex.yy.cpp'. But still has problem.
--------------------Configuration: libnxsl - Win32 Release--------------------
Compiling .\parser.l
flex: can't open lex.yy.cpp
Error executing c:\windows\system32\cmd.exe.lex.yy.cpp - 1 error(s), 0 warning(s)
---------------------------------------------------------------------------Best Regards,
Joseph
-
Hi!
You need flex version 2.5.33 or above.Looks like GnuWin32 still uses 2.5.4. I personally use flex and bison (and other tools like grep, etc.) from MSYS (http://www.mingw.org/).
Best regards,
Victor -
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login