[nas] Problem with building NAS under Cygwin.

Jon Trulson jon at radscan.com
Wed Jan 26 09:55:29 MST 2011

On Wed, 26 Jan 2011, Łukasz Czyż wrote:

> Hello
> I try to build NAS under Cygwin (actually I am not even sure if it is
> possible ;).

   It should - though it has been awhile since I last tried it.

> I succeed to execute 'make World' command and I get message like "NAS
> compilation successful". The problem appears when I try "make
> install". Then I get such a output with error:
> ***********************************************************************************
> installing in ./include...
> make[1]: Entering directory `/home/czyz/nas-1.9.2/include'
> installing in include/audio...
> make[2]: Entering directory `/home/czyz/nas-1.9.2/include/audio'
> dia/libdia.a(gram.o):gram.c:(.text+0x6a0): undefined reference to `_yyerror'
> dia/libdia.a(gram.o):gram.c:(.text+0x6b1): undefined reference to `_yylex'
> dia/libdia.a(gram.o):gram.c:(.text+0x96e): undefined reference to `_yyerror'
> collect2: ld returned 1 exit status
> make[1]: *** [nasd.exe] Error 1
> make[1]: Leaving directory `/home/czyz/nas-1.9.2/server'
> make: *** [install] Error 2
> ***********************************************************************************
> It does not matter if I try to install with DESTDIR parameter or
> without it - error is the same. What I wonder about is the fact, that
> gcc command from that output is executed with parameter "-L/usr/lib"
> but there is no such a folder in my Cygwin - I don't have any idea if
> it matters...

  Do you have the flex (libfl) and bison (liby) packages installed?

Jon Trulson
mailto:jon at radscan.com

The soul would have no rainbow had the eyes no tears.

More information about the Nas mailing list