Linux 15.028 Themen, 107.048 Beiträge

Fehlermeldung beim Kompilieren von avifile

Fridolin Michel / 9 Antworten / Baumansicht Nickles

Hallo!



Ich wollte avifile-0.7-0.7.38 mit "make" kompilieren und erhalte unten stehende Fehlermeldung. Das Konfigurieren mit "./configure" lief dagegen Problemlos ab.



Making all in . make[1]: Entering directory `/root/avifile-0.7-0.7.38' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/root/avifile-0.7-0.7.38'



Making all in admin make[1]: Entering directory `/root/avifile-0.7-0.7.38/admin'



make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/root/avifile-0.7-0.7.38/admin'



Making all in m4 make[1]: Entering directory `/root/avifile-0.7-0.7.38/m4'



make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/root/avifile-0.7-0.7.38/m4'



Making all in ffmpeg make[1]: Entering directory `/root/avifile-0.7-0.7.38/ffmpeg'



Making all in libavformat make[2]: Entering directory `/root/avifile-0.7-0.7.38/ffmpeg/libavformat' /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../include -DHAVE_AV_CONFIG_H -I./../libavcodec -I./.. -Wall -Wno-unused -I../../include -O2 -mcpu=i686 -march=i686 -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -c flvenc.c gcc -DHAVE_CONFIG_H -I. -I. -I../../include -DHAVE_AV_CONFIG_H -I./../libavcodec -I./.. -Wall -Wno-unused -I../../include -O2 -mcpu=i686 -march=i686 -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -c flvenc.c -fPIC -DPIC -o flvenc.lo flvenc.c: In function `flv_write_trailer': flvenc.c:232: parse error before `file_size' flvenc.c:234: `flags' undeclared (first use in this function) flvenc.c:234: (Each undeclared identifier is reported only once flvenc.c:234: for each function it appears in.) flvenc.c:238: `file_size' undeclared (first use in this function)



make[2]: *** [flvenc.lo] Error 1 make[2]: Leaving directory `/root/avifile-0.7-0.7.38/ffmpeg/libavformat'



make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/avifile-0.7-0.7.38/ffmpeg' make: *** [all-recursive] Error 1



Gruß



Fri

bei Antwort benachrichtigen
Klaus_T Fridolin Michel „Fehlermeldung beim Kompilieren von avifile“
Optionen

Guckst du hier.
Bye, Klaus

bei Antwort benachrichtigen
Fridolin Michel Klaus_T „Guckst du hier. Bye, Klaus“
Optionen

So wie ich es verstanden habe benötige ich den gcc-3.3-Kompiler. Den wollte ich installieren, aber wegen den Abhängigkeiten benötige ich etliche weitere Packete. Es scheint mir einfacher, avifile--0.7.34 zu installieren. Wenn ich das mit make kompiliere erscheint auch nicht mehr die Fehlermeldung mit ffmpeg, sondern es kommt fogende Fehlermeldung:
timertable.cpp:28: qdatetimeedit.h: No such file or directory
timertable.cpp: In method `void TimerTableItem::setTable(int, QDateTime, QTime, QString)':
timertable.cpp:55: no matching function for call to `QDateTime::toString (QString &)'
/usr/include/qt/qdatetime.h:176: candidates are: class QString QDateTime::toString() const
timertable.cpp:56: no matching function for call to `QTime::toString (QString &)'
/usr/include/qt/qdatetime.h:121: candidates are: class QString QTime::toString() const
timertable.cpp: In method `TimerTable::TimerTable(QWidget *, v4lxif *, V4LWindow *)':
timertable.cpp:133: invalid use of undefined type `class QDateTimeEdit'
timertable.h:24: forward declaration of `class QDateTimeEdit'
timertable.cpp:134: no matching function for call to `QGridLayout::addWidget (QDateTimeEdit *&, int &, int)'
/usr/include/qt/qlayout.h:91: candidates are: void QGridLayout::addWidget(QWidget *, int, int, int = 0)
timertable.cpp:139: invalid use of undefined type `class QTimeEdit'
timertable.h:25: forward declaration of `class QTimeEdit'
timertable.cpp:140: no matching function for call to `QGridLayout::addWidget (QTimeEdit *&, int &, int)'
/usr/include/qt/qlayout.h:91: candidates are: void QGridLayout::addWidget(QWidget *, int, int, int = 0)
timertable.cpp: In method `void TimerTable::add_current_time_info(char *)':
timertable.cpp:212: no matching function for call to `QDateTime::toString (QString &)'
/usr/include/qt/qdatetime.h:176: candidates are: class QString QDateTime::toString() const
timertable.cpp: In method `void TimerTable::add_next_recording_info(char *)':
timertable.cpp:237: no matching function for call to `QDateTime::toString (QString &)'
/usr/include/qt/qdatetime.h:176: candidates are: class QString QDateTime::toString() const
timertable.cpp:237: no matching function for call to `QTime::toString (QString &)'
/usr/include/qt/qdatetime.h:121: candidates are: class QString QTime::toString() const
timertable.cpp: In method `void TimerTable::add_current_recording_info(char *)':
timertable.cpp:265: no matching function for call to `QDateTime::toString (QString &)'
/usr/include/qt/qdatetime.h:176: candidates are: class QString QDateTime::toString() const
timertable.cpp:265: no matching function for call to `QTime::toString (QString &)'
/usr/include/qt/qdatetime.h:121: candidates are: class QString QTime::toString() const
timertable.cpp: In method `void TimerTable::add_sanity_check_info(char *)':
timertable.cpp:296: no matching function for call to `QDateTime::toString (QString &)'
/usr/include/qt/qdatetime.h:176: candidates are: class QString QDateTime::toString() const
timertable.cpp:296: no matching function for call to `QDateTime::toString (QString &)'
/usr/include/qt/qdatetime.h:176: candidates are: class QString QDateTime::toString() const
timertable.cpp:300: no matching function for call to `QDateTime::toString (QString &)'
/usr/include/qt/qdatetime.h:176: candidates are: class QString QDateTime::toString() const
timertable.cpp:300: no matching function for call to `QDateTime::toString (QString &)'
/usr/include/qt/qdatetime.h:176: candidates are: class QString QDateTime::toString() const
timertable.cpp: In method `void TimerTable::set_status_label()':
timertable.cpp:321: no matching function for call to `QDateTime::toString (QString &)'
/usr/include/qt/qdatetime.h:176: candidates are: class QString QDateTime::toString() const
timertable.cpp: In method `void TimerTable::init_entry_widgets()':
timertable.cpp:344: invalid use of undefined type `class QDateTimeEdit'
timertable.h:24: forward declaration of `class QDateTimeEdit'
timertable.cpp:346: invalid use of undefined type `class QTimeEdit'
timertable.h:25: forward declaration of `class QTimeEdit'
timertable.cpp: In method `void TimerTable::item_clicked(QListViewItem *)':
timertable.cpp:357: invalid use of undefined type `class QDateTimeEdit'
timertable.h:24: forward declaration of `class QDateTimeEdit'
timertable.cpp:359: invalid use of undefined type `class QTimeEdit'
timertable.h:25: forward declaration of `class QTimeEdit'
timertable.cpp: In method `class TimerTableItem * TimerTable::set_tableitem(TimerTableItem *)':
timertable.cpp:380: invalid use of undefined type `class QDateTimeEdit'
timertable.h:24: forward declaration of `class QDateTimeEdit'
timertable.cpp:381: invalid use of undefined type `class QTimeEdit'
timertable.h:25: forward declaration of `class QTimeEdit'
timertable.cpp:389: no matching function for call to `QDateTime::toString (QString &)'
/usr/include/qt/qdatetime.h:176: candidates are: class QString QDateTime::toString() const
timertable.cpp:390: no matching function for call to `QTime::toString (QString &)'
/usr/include/qt/qdatetime.h:121: candidates are: class QString QTime::toString() const
timertable.cpp: In method `void TimerTable::load()':
timertable.cpp:630: no method `QDateTime::fromString'
timertable.cpp:634: no method `QTime::fromString'
make[2]: *** [timertable.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

Gruß
Frido

bei Antwort benachrichtigen
Klaus_T Fridolin Michel „So wie ich es verstanden habe benötige ich den gcc-3.3-Kompiler. Den wollte ich...“
Optionen

Das sieht fuer mich aus, als ob du eine falsche Version von QT hast. Schau doch mal in der INSTALL oder im README nach, welche Version du brauchst.
Bye, Klaus

bei Antwort benachrichtigen
Fridolin Michel Klaus_T „Das sieht fuer mich aus, als ob du eine falsche Version von QT hast. Schau doch...“
Optionen

In der Readme-Datei steht, dass ich "Qt-2.0 or newer" brauche. Installiert sind bei mir mehrere Versionen. Die neueste ist Qt-3.0.3.
Gruß
Frido

bei Antwort benachrichtigen
Klaus_T Fridolin Michel „In der Readme-Datei steht, dass ich Qt-2.0 or newer brauche. Installiert sind...“
Optionen

Vielleicht kommt er damit durcheinander. Gebe doch beim ./configure doch mal den Pfad mit an, welche er nehmen soll. Da gibt es bestimmt eine Option fuer.
Bye, Klaus

bei Antwort benachrichtigen
Fridolin Michel Klaus_T „Vielleicht kommt er damit durcheinander. Gebe doch beim ./configure doch mal den...“
Optionen

Hallo!
Das Problem mit avifile ist nun gelöst durch den Befehl "export QTDIR=/opt/qt". Es kommt nun aber eine andere Fehlermeldung:

codecdialog.cpp: In method `void QavmCodecDialog::changeAttr(QListViewItem *)':
codecdialog.cpp:290: warning: enumeration value `Float' not handled in switch
codecdialog.cpp: In method `void QavmCodecDialog::addAttributes(const avm::CodecInfo &, const avm::vector

bei Antwort benachrichtigen
Klaus_T Fridolin Michel „Hallo! Das Problem mit avifile ist nun gelöst durch den Befehl export QTDIR...“
Optionen

Mach es ohne die Scheiss-QT. Rufe das make so auf:
make WITHOUT_QT=yes
Versuch es mal damit.
Bye, Klaus

bei Antwort benachrichtigen
Fridolin Michel Klaus_T „Mach es ohne die Scheiss-QT. Rufe das make so auf: make WITHOUT_QT yes Versuch...“
Optionen

Danke für die vielen Tipps, aber die Fehlermeldung bleibt.
Gruß
Frido

bei Antwort benachrichtigen
Klaus_T Fridolin Michel „Danke für die vielen Tipps, aber die Fehlermeldung bleibt. Gruß Frido“
Optionen

Da faellt mir als einzigstes noch ein, eine andere version zu versuchen. Probiere mal die virherige oder eine neuere, wenns denn eine gibt.
Bye, Klaus

bei Antwort benachrichtigen