>gcc -DHAVE_CONFIG_H -I. -I.. -D_REENTRANT >-DMOD_PATH=\"/usr/local/lib/transcode\" >-DPROF_PATH=\"/usr/local/share/transcode/profiles\" -I.. -I../src -I../libtc > -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -MT test-acmemcpy.o -MD >-MP -MF .deps/ >test-acmemcpy.Tpo -c -o test-acmemcpy.o test-acmemcpy.c >test-acmemcpy.c:152: error: 'memcpy_mmx' undeclared here (not in a function) >test-acmemcpy.c:153: error: 'memcpy_sse' undeclared here (not in a function) >make[2]: *** [test-acmemcpy.o] Error 1 >make[1]: *** [all-recursive] Error 1 >make: *** [all] Error 2 > >Apparently the testsuite doesn't pick up that MMX has been disabled and tries >to test it anyway. These MMX-specific tests should be disabled.
And they are now; thanks for the report. >Last, but not least, I ran into a linker error at the tail end. It can't find >the symbol for 'strndup' > >gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -o test-tcstrdup >test-tcstrdup.o ../libtc/.libs/libtc.a /usr/lib/libiconv.dylib -lm -lz -ldl >/usr/bin/ld: Undefined symbols: >_strndup >collect2: ld returned 1 exit status >make[2]: *** [test-tcstrdup] Error 1 >make[1]: *** [all-recursive] Error 1 >make: *** [all] Error 2 It looks like this is a GNU libc specific function. I've replaced it with equivalent standard functions. (In fact, strndup is used by libxio, part of libtc; I've replaced it with tc_strndup, with the caveat that it's not tested because I don't have an environment for testing it. Is there actually anybody who does use it?) >So, I now have a completed transcode binary. Is there a test video that I >should use to verify it is creating the correct output? After all, a running >binary doesn't necessarily mean that transcode is working properly. Anything will do; find a generic AVI file somewhere on the web (such as http://achurch.org/media/ballmer.avi), and run a command like $ transcode -i generic-AVI-file.avi -o new.avi -y ffmpeg -F mpeg4 -K (which will re-encode the video in MPEG-4 while turning it to greyscale), then see if the resulting file looks like what you expect. --Andrew Church [EMAIL PROTECTED] http://achurch.org/
