[CM] snd-22.0 won't run on cygwin

David O'Toole deeteeoh1138 at gmail.com
Tue Jan 25 13:41:58 PST 2022


I can't get snd-22 to run after successful compilation on cygwin. I've
attached the configure command/output and resulting error.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20220125/0b0e8c14/attachment.html>
-------------- next part --------------

Sandy at DESKTOP-05G3UUV /home/Sandy/src/snd-22.0
$ ./configure --without-gui --without-audio && make
checking build system type... x86_64-pc-cygwin
checking host system type... x86_64-pc-cygwin
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a BSD-compatible install... /bin/install -c
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking size of void *... 8
checking for pkg-config... /bin/pkg-config
checking for fftw3... no
checking for gsl... no
checking for oggdec... /bin/oggdec
checking for oggenc... /bin/oggenc
checking for mpg123... no
checking for mpg321... no
checking for speexdec... no
checking for speexenc... no
checking for flac... /bin/flac
checking for timidity... no
checking for wavpack... no
checking for wvunpack... no
checking for audio system... None
configure: creating ./config.status
config.status: creating makefile
config.status: creating mus-config.h

  Options selected
  -------------------------
  Snd version ...........: 22.0
  CFLAGS ................: -O2 -I. -g -O2
  LDFLAGS ...............:
  LIBS...................: 
  prefix.................: /usr/local
  extension language.....: s7
  audio system...........: None
  graphics toolkit.......: None
  optional libraries.....:
  random features........:
  environs...............: x86_64-pc-cygwin gcc

gcc -c -DSCRIPTS_DIR=\"/usr/local/share/snd\"  -O2 -I. -g -O2      s7.c
gcc -c -DSCRIPTS_DIR=\"/usr/local/share/snd\"  -O2 -I. -g -O2      headers.c

<............. snip output of build ......................>

Sandy at DESKTOP-05G3UUV /home/Sandy/src/snd-22.0
$ ./snd
loading libc_s7.so

;unbound variable fileno in (fileno stdin)
;    (fileno stdin)
;    repl.scm, line 207, position: 6849
; (fileno stdin)
; ((terminal-fd (fileno stdin)) (tab-as-spa...


;unbound variable fileno in (fileno stdin)
;    (fileno stdin)
;    repl.scm, line 1234, position: 44399
; (fileno stdin)
; ((terminal-fd (fileno stdin)) (tab-as-spa...
; (not (defined? 'c-define-output-file-coun...
; (*repl* 'run)


More information about the Cmdist mailing list