[XviD-devel] freebsd build test

Pedro Joao Lopes Venda pjlv at mega.ist.utl.pt
Thu Mar 6 20:47:54 CET 2003


hi everyone.

i just saw the FAQ on the website and the FreeBSD x86 platform is
mentioned as untested in compilation matters.

since i am a freebsd user, i tried to compile it, and it worked.

SUGGESTION: you should include a simple INSTALL file to quickly guide
people through the compilation process.

the machine used is an intel pentium 233MMX with 64Mb of ram running
FreeBSD 5.0. I cannot really test the code because the machine cannot
display xvid-encoded files due to performance reasons. Even if it were a
powerful machine, it is being used as a server and does not have a
graphical environment.

i did this to test the FreeBSD compilation. it worked ok.

here are the compilation results:

klansman at gateway:~/xvidcore-0.9.1/build/generic$ ./configure
checking build system type... i386-unknown-freebsd5.0
checking host system type... i386-unknown-freebsd5.0
checking target system type... i386-unknown-freebsd5.0
checking whether to use default CFLAGS... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for whether to use assembly code... yes
checking for architecture type... ia32
checking how to run the C preprocessor... gcc -E
checking for egrep... 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 for int *... yes
checking size of int *... 4
checking whether byte ordering is bigendian... no
checking for build extensions... .so .a .o
checking for platform specific LDFLAGS/CFLAGS... -shared -lc -lm
checking for nasm... yes
checking for nasm patch version... 35
checking for nasm object format... elf
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
configure: creating ./config.status
config.status: creating platform.inc
config.status: creating libxvidcore.def
klansman at gateway:~/xvidcore-0.9.1/build/generic$ gmake
Compiling ../../src/decoder.c ... Done
Compiling ../../src/encoder.c ... Done
Compiling ../../src/xvid.c ... Done
Compiling ../../src/bitstream/bitstream.c ... Done
Compiling ../../src/bitstream/cbp.c ... Done
Compiling ../../src/bitstream/mbcoding.c ... Done
Compiling ../../src/dct/fdct.c ... Done
Compiling ../../src/dct/idct.c ... Done
Compiling ../../src/image/colorspace.c ... Done
Compiling ../../src/image/image.c ... Done
Compiling ../../src/image/interpolate8x8.c ... Done
Compiling ../../src/motion/motion_comp.c ... Done
Compiling ../../src/motion/motion_est.c ... Done
Compiling ../../src/motion/sad.c ... Done
Compiling ../../src/prediction/mbprediction.c ... Done
Compiling ../../src/quant/adapt_quant.c ... Done
Compiling ../../src/quant/quant_h263.c ... Done
Compiling ../../src/quant/quant_matrix.c ... Done
Compiling ../../src/quant/quant_mpeg4.c ... Done
Compiling ../../src/utils/emms.c ... Done
Compiling ../../src/utils/mbtransquant.c ... Done
Compiling ../../src/utils/mem_align.c ... Done
Compiling ../../src/utils/mem_transfer.c ... Done
Compiling ../../src/utils/ratecontrol.c ... Done
Compiling ../../src/utils/timer.c ... Done
Assembling ../../src/utils/x86_asm/cpuid.asm ... Done
Assembling ../../src/bitstream/x86_asm/cbp_mmx.asm ... Done
Assembling ../../src/bitstream/x86_asm/cbp_sse2.asm ... Done
Assembling ../../src/dct/x86_asm/fdct_mmx.asm ... Done
Assembling ../../src/dct/x86_asm/idct_mmx.asm ... Done
Assembling ../../src/image/x86_asm/interpolate8x8_mmx.asm ... Done
Assembling ../../src/image/x86_asm/rgb_to_yv12_mmx.asm ... Done
Assembling ../../src/image/x86_asm/yuv_to_yv12_mmx.asm ... Done
Assembling ../../src/image/x86_asm/yuyv_to_yv12_mmx.asm ... Done
Assembling ../../src/image/x86_asm/yv12_to_rgb24_mmx.asm ... Done
Assembling ../../src/image/x86_asm/yv12_to_rgb32_mmx.asm ... Done
Assembling ../../src/image/x86_asm/yv12_to_yuyv_mmx.asm ... Done
Assembling ../../src/motion/x86_asm/sad_mmx.asm ... Done
Assembling ../../src/quant/x86_asm/quantize4_mmx.asm ... Done
Assembling ../../src/quant/x86_asm/quantize_mmx.asm ... Done
Assembling ../../src/utils/x86_asm/mem_transfer_mmx.asm ... Done
Assembling ../../src/image/x86_asm/interpolate8x8_xmm.asm ... Done
Assembling ../../src/motion/x86_asm/sad_xmm.asm ... Done
Assembling ../../src/motion/x86_asm/sad_sse2.asm ... Done
Assembling ../../src/image/x86_asm/interpolate8x8_3dn.asm ... Done
Assembling ../../src/motion/x86_asm/sad_3dn.asm ... Done

Linking the static library... Done
Generating static library's index... Done

Linking the shared library... Done

---------------------------------------------------------------
 XviD has been built, you can now run "# make install" as root.
---------------------------------------------------------------

klansman at gateway:~/xvidcore-0.9.1/build/generic$
root at gateway:/home/klansman/xvidcore-0.9.1/build/generic$ gmake install

---------------------------------------------------------------
 XviD has been built, you can now run "# make install" as root.
---------------------------------------------------------------


+---------- Installing XviD libraries in /usr/local/lib ----------+

/usr/bin/install -c -m 755 libxvidcore.so /usr/local/lib/libxvidcore.so
/usr/bin/install -c -m 755 libxvidcore.a /usr/local/lib/libxvidcore.a

+---------- Installing XviD header in /usr/local/include ----------+

/usr/bin/install -c -m 644 ../../src/xvid.h /usr/local/include/xvid.h

root at gateway:/home/klansman/xvidcore-0.9.1/build/generic$




More information about the XviD-devel mailing list