|
[SoX-users] Sox and cygwin: undefined reference to st_nulstartread
From: James Nord <teilo@cd...> - 2001-11-03 20:17
|
Hi, Has anyone managed to compile sox-12.17.2 on win2k using cygwin against the cygwin libraries? Could anyone give me some pointers to get around the following errors: /James > uname -a CYGWIN_NT-5.0 VINDALOO 1.3.3(0.46/3/2) 2001-09-12 23:54 i686 unknown > ./configure creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for ranlib... ranlib checking for a BSD compatible install... /usr/bin/install -c checking how to run the C preprocessor... gcc -E checking for sed... sed checking host system type... i686-pc-cygwin checking target system type... i686-pc-cygwin checking build system type... i686-pc-cygwin checking whether byte ordering is bigendian... no checking if math library is required during link checking for pow... yes checking for gsm.h... no checking for vorbis/codec.h... no checking for getopt.h... yes checking for unistd.h... yes checking for malloc.h... yes checking for byteswap.h... no checking for getopt... no checking for strerror... yes checking for memmove... yes checking for rand... yes checking for linux/asound.h... no checking for sys/soundcard.h... yes checking for machine/soundcard.h... no checking for sys/audioio.h... no checking for sun/audioio.h... no updating cache ./config.cache creating ./config.status creating Makefile Configure finished. Do 'make; make install' to compile and install SoX. > vi Makefile (remove -mno-cygwin from CFLAGS and LDFLAGS) >make [snip] gcc -o sox sox.o -L. -lst ./libst.a(handlers.o)(.data+0x294):/cygdrive/d/temp/sox/sox-12.17.2/handlers.c: undefined reference to `st_nulstartread' ./libst.a(handlers.o)(.data+0x298):/cygdrive/d/temp/sox/sox-12.17.2/handlers.c: undefined reference to `st_nulread' ./libst.a(handlers.o)(.data+0x29c):/cygdrive/d/temp/sox/sox-12.17.2/handlers.c: undefined reference to `st_nulstopread' ./libst.a(handlers.o)(.data+0x2a0):/cygdrive/d/temp/sox/sox-12.17.2/handlers.c: undefined reference to `st_nulstartwrite' ./libst.a(handlers.o)(.data+0x2a4):/cygdrive/d/temp/sox/sox-12.17.2/handlers.c: undefined reference to `st_nulwrite' ./libst.a(handlers.o)(.data+0x2a8):/cygdrive/d/temp/sox/sox-12.17.2/handlers.c: undefined reference to `st_nulstopwrite' ./libst.a(misc.o): In function `st_reads': /cygdrive/d/temp/sox/sox-12.17.2/misc.c:99: undefined reference to `errno' ./libst.a(misc.o): In function `st_writes': /cygdrive/d/temp/sox/sox-12.17.2/misc.c:122: undefined reference to `errno' ./libst.a(misc.o): In function `st_readb': /cygdrive/d/temp/sox/sox-12.17.2/misc.c:136: undefined reference to `errno' ./libst.a(misc.o): In function `st_writeb': /cygdrive/d/temp/sox/sox-12.17.2/misc.c:150: undefined reference to `errno' ./libst.a(misc.o): In function `st_readw': /cygdrive/d/temp/sox/sox-12.17.2/misc.c:164: undefined reference to `errno' ./libst.a(misc.o):/cygdrive/d/temp/sox/sox-12.17.2/misc.c:182: more undefined references to `errno' follow collect2: ld returned 1 exit status make: *** [sox] Error 1 -- Technology is a word that describes something that doesn't work yet. Douglas Adams |
| Thread | Author | Date | |
|---|---|---|---|
| [SoX-users] Sox and cygwin: undefined reference to st_nulstartread | James Nord <teilo@cd...> |
|
|
|
|