[nas] Problem with building NAS under Cygwin.
Łukasz Czyż
perlowy.dzem at gmail.com
Wed Jan 26 06:08:09 MST 2011
Hello
I try to build NAS under Cygwin (actually I am not even sure if it is
possible ;).
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'
+ install -c -m 0444 Afuncproto.h /usr/include/audio
+ install -c -m 0444 Afuncs.h /usr/include/audio
+ install -c -m 0444 Amd.h /usr/include/audio
+ install -c -m 0444 Aos.h /usr/include/audio
+ install -c -m 0444 Aosdefs.h /usr/include/audio
+ install -c -m 0444 Aproto.h /usr/include/audio
+ install -c -m 0444 audio.h /usr/include/audio
+ install -c -m 0444 Alibint.h /usr/include/audio
+ install -c -m 0444 Alibnet.h /usr/include/audio
+ install -c -m 0444 audiolib.h /usr/include/audio
+ install -c -m 0444 audioutil.h /usr/include/audio
+ install -c -m 0444 snd.h /usr/include/audio
+ install -c -m 0444 wave.h /usr/include/audio
+ install -c -m 0444 voc.h /usr/include/audio
+ install -c -m 0444 aiff.h /usr/include/audio
+ install -c -m 0444 sound.h /usr/include/audio
+ install -c -m 0444 soundlib.h /usr/include/audio
+ install -c -m 0444 fileutil.h /usr/include/audio
+ install -c -m 0444 8svx.h /usr/include/audio
+ install -c -m 0444 Astreams.h /usr/include/audio
+ install -c -m 0444 audio.h /usr/include/audio
+ install -c -m 0444 Xtutil.h /usr/include/audio
+ install -c -m 0444 release.h /usr/include/audio
+ install -c -m 0444 mutex.h /usr/include/audio
install in include/audio done
make[2]: Leaving directory `/home/czyz/nas-1.9.2/include/audio'
make[1]: Leaving directory `/home/czyz/nas-1.9.2/include'
installing in ./server...
make[1]: Entering directory `/home/czyz/nas-1.9.2/server'
making all in server/dia...
make[2]: Entering directory `/home/czyz/nas-1.9.2/server/dia'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/czyz/nas-1.9.2/server/dia'
making all in server/os...
make[2]: Entering directory `/home/czyz/nas-1.9.2/server/os'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/czyz/nas-1.9.2/server/os'
making all in server/dda/voxware...
make[2]: Entering directory `/home/czyz/nas-1.9.2/server/dda/voxware'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/czyz/nas-1.9.2/server/dda/voxware'
gcc -o nasd.exe -O2 -fno-strength-reduce -Wall -Wpointer-arith
-L/usr/lib dia/libdia.a dda/voxware/libvoxware.a os/libos.a
-Wl,--enable-auto-import,--enable-runtime-pseudo-reloc
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...
More information about the Nas
mailing list