The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Поиск:  Каталог документации

Next Previous Contents

7. Problems

7.1 Run time errors

This is a (small) list of known run-time errors.

Illegal Instruction Error

If you use a non-Intel chip (K6 especially), and you are getting this error when you try to run mpeg2video, try editing nist/configure.in, lines 129 and 130:

        
               CFLAGS="$CFLAGS -DHAVE_MMX -DLINUX -march=i686 -fschedule-insns2 -malign-doub
               CXXFLAGS="$CXXFLAGS -DHAVE_MMX -DLINUX -march=i686 -fschedule-insns2 -malign- 

replace "-march=i686" in both with "-march=i586", and then recompile and reinstall.

7.2 Compilation errors

This is a running list of common compilation errors that have known fixes.

`dvd_struct' undeclared...

The most frequent problem people have when trying to compile these utilities stems from oms looking in the wrong place for the kernel headers. By default, it uses /usr/include/[linux|asm], but those headers are from a stable kernel so that when you compile a normal program, it will be using stable headers. oms needs to use non-stable (or patched) kernel headers, so when oms tries to compile, many things are undeclared and compilation fails. The best way to fix this is to edit the oms Makefile and -I/usr/src/linux/include to the CFLAGS and CXXFLAGS. (thanks to Adam Powell for this info)

        These commands should do it:
        
        # mkdir /usr/include/old
        # mv /usr/include/linux /usr/include/old/linux
        # mv /usr/include/asm /usr/include/old/asm
        # mv /usr/include/scsi /usr/include/old/scsi
        # ln -s /usr/src/linux/include/linux /usr/include/linux
        # ln -s /usr/src/linux/include/scsi /usr/include/scsi
        # ln -s /usr/src/linux/include/asm /usr/include/asm

can't determine absolute dir of '../../../../src/plugin/codec/mpeg2dec/.libs'

Another common error is with the oms/src/plugin/codec/mpeg2dec/.libs directory. For some reason or another, this directory does not exist, and it needs to for compilation. To fix it, just make the directory:

        # mkdir src/plugin/codec/mpeg2dec/.libs

7.3 Broken stuff

Features that don't currently work as intended:

7.4 Other errors

If your problem isn't listed here, then likely the current CVS code has a bug in it. The best thing to do is just to wait a few days, and then try updating from CVS. There is a mailing list where you can ask questions, to subscribe send a blank email to livid-dev-subscribe@linuxvideo.org.


Next Previous Contents


Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру