PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Fehler beim compilieren von xvid



PhobosUT
19.02.03, 13:45
Nachdem ich die Datei xvidcore-0.9.1.tar.bz2 extrahiert hatte, bin ich in das Verzeichnis xvidcore-0.9.1/build/generic gegangen und hab' dort das configure Script ausgeführt. Als Ausgabe kam das:



checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
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...
./configure: test: : integer expression expected
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


Dann hab' ich im selben Verzeichnis make ausgeführt und da kam dann diese Fehlermeldung:



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 ... nasm: unrecognised option `-I'
type `nasm -h' for help
make: *** [../../src/utils/x86_asm/cpuid.o] Error 1


Woran liegt das?

taylor
19.02.03, 13:48
Ist das Paket 'nasm' zu alt? Hab nur geraten...

hunter
19.02.03, 13:54
Ja. Denke auch das es an nasm liegt. Das Teil war schon immer recht wandlungsfähig und eine Quelle von Problemen.

Meine Version:

> rpm -q nasm
nasm-0.98.34-1mdk

Damit ging es bei mir Einwandfrei.

PhobosUT
19.02.03, 15:34
Ja, das war's. Danke.