Linux 14.982 Themen, 106.376 Beiträge

Fehlermeldung beim Kompilieren von avifile

Fridolin Michel / 9 Antworten / Flachansicht 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
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