Displaying 4 results from an estimated 4 matches for "checkwav".
2000 Apr 16
0
Trying to get cmdline going...
...9;t
the cmdline utility compile?" yet again. I have been doing some
fiddling with it and found a few thinkos to fix, but some of the more
esoteric getopt() things are stumping me.
Ferinstance, it seems that
< device=strdup(optarg);
ought to be
> device=optarg;
and
< if((ret=CheckWav(infile,bufferfill,&intype))){
probably should be
> if((ret=CheckWav(inbuffer,bufferfill,&intype))){
and I've faked up a fill_buffer routine:
> int fill_buffer(FILE *infile, char *inbuffer, int bufferfill, int
insize)
> {
> return fread(inbuffer, sizeof(char), insize...
2000 Sep 11
0
cmdline does not compile from cvs
...-char -I. -I../lib -DUSE_ALLOCA_H -DUSE_MEMORY_H getopt.o getopt1.o main.o -I. -I../lib -DUSE_ALLOCA_H -DUSE_MEMORY_H ../lib/libvorbis.a -o vorbis -lm -lpthread
main.o: In function `main':
main.o(.text+0x31c): undefined reference to `fill_buffer'
main.o(.text+0x332): undefined reference to `CheckWav'
main.o(.text+0x35a): undefined reference to `CheckAiff'
collect2: ld returned 1 exit status
Your eyes are weary from staring at the CRT. You feel sleepy. Notice how
restful it is to watch the cursor blink. Close your eyes. The opinions
stated above are yours. You cannot imagine wh...
1999 Oct 26
2
building on openbsd...
...at
this:
gcc -O20 -D__NO_MATH_INLINES -fsigned-char -I. -I../lib -Dsize16='short' -Dsize32='int' -Dsize64='long long' -c main.c
main.c: In function `main':
main.c:201: warning: assignment makes pointer from integer without a cast
main.c:253: warning: passing arg 1 of `CheckWav' from incompatible pointer type
gcc -O20 -D__NO_MATH_INLINES -fsigned-char -I. -I../lib -Dsize16='short' -Dsize32='int' -Dsize64='long long' getopt.o getopt1.o main.o -I. -I../lib -Dsize16='short' -Dsize32='int' -Dsize64='long long' ../lib/libvo...
2000 Jun 11
1
cmdline
...ast-math -D_REENTRANT -D__NO_MATH_INLINES -fsigned-char \
-I. -I../lib getopt.o getopt1.o main.o -I. -I../lib \
../lib/libvorbis.a -o vorbis -lpthread -lm
main.o: In function `main':
main.o(.text+0x31c): undefined reference to `fill_buffer'
main.o(.text+0x332): undefined reference to `CheckWav'
main.o(.text+0x35a): undefined reference to `CheckAiff'
collect2: ld returned 1 exit status
make[1]: *** [target] Error 1
make[1]: Leaving directory `/home/users/wrobell/work/vorbis/cmdline'
make: *** [all] Error 2
I have attached patch which solves two last undefined references.
Aga...