Probleme beim Kompilieren (koobase)

Von: , Frage gestellt am Sa, 18. Sep 1999

Ich versuche nun schon länger das Programm koobaseauf meiem SuSE6.0-Linux zum Laufen zu bringen, die Kompilation klappt aber nicht. Der Befehl
./configure
klappt noch gut (keine Fehlermeldung), aber beim
make
hapert es dann, und ich habe zugegebenermassen keine Ahnung, was der Output bedeutet. Kann mir jemand helfen? Hier also die Mitschrift nach
./configure --with-midi=sb

-------------------------



bash-2.02# make
make all-recursive
make[1]: Entering directory `/home/niehaus/koo/kooBase-0.92'
Making all in kooBase
make[2]: Entering directory `/home/niehaus/koo/kooBase-0.92/kooBase'
Making all in pics
make[3]: Entering directory `/home/niehaus/koo/kooBase-0.92/kooBase/pics'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/niehaus/koo/kooBase-0.92/kooBase/pics'
Making all in toolbar
make[3]: Entering directory `/home/niehaus/koo/kooBase-0.92/kooBase/toolbar'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/niehaus/koo/kooBase-0.92/kooBase/toolbar'
Making all in globalFunctions
make[3]: Entering directory `/home/niehaus/koo/kooBase-0.92/kooBase/globalFuncti
ons'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/niehaus/koo/kooBase-0.92/kooBase/globalFunctio
ns'
Making all in partFunctions
make[3]: Entering directory `/home/niehaus/koo/kooBase-0.92/kooBase/partFunction
s'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/niehaus/koo/kooBase-0.92/kooBase/partFunctions
'
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde/include -I/usr/lib/qt/include -I/usr
/X11R6/include -O2 -Wall -c main.cpp
In file included from main.cpp:5:
score.h:150: warning: return-type of `startCF' defaults to `int'
score.h:151: warning: return-type of `lengthCF' defaults to `int'
score.h:152: warning: return-type of `freqCF' defaults to `int'
score.h:153: warning: return-type of `velCF' defaults to `int'
score.h:154: warning: return-type of `startEnter' defaults to `int'
score.h:155: warning: return-type of `lengthEnter' defaults to `int'
score.h:156: warning: return-type of `freqEnter' defaults to `int'
score.h:157: warning: return-type of `velEnter' defaults to `int'
In file included from main.cpp:30:
sb.c:18: warning: ANSI C++ forbids declaration `seq_opened' with no type
sb.c:19: warning: ANSI C++ forbids declaration `seq_bank' with no type
sb.c:20: warning: ANSI C++ forbids declaration `seq_preset' with no type
sb.c:21: warning: ANSI C++ forbids declaration `seq_bend' with no type
sb.c: In function `int seq_init()':
sb.c:27: warning: control reaches end of non-void function `seq_init()'
main.h: In method `MyMainWindow::MyMainWindow(const char *)':
main.h:78: warning: member initializers for `int MyMainWindow::time2'
main.h:88: warning: and `int MyMainWindow::snap'
main.cpp:113: warning: will be re-ordered to match declaration order
main.h:88: warning: member initializers for `int MyMainWindow::snap'
main.h:97: warning: and `int MyMainWindow::tempo'
main.cpp:113: warning: will be re-ordered to match declaration order
main.h:118: warning: member initializers for `int MyMainWindow::pp'
main.h:131: warning: and `bool MyMainWindow::playWait'
main.cpp:113: warning: will be re-ordered to match declaration order
main.h:132: warning: member initializers for `int MyMainWindow::partShow'
main.h:141: warning: and `bool MyMainWindow::beepFlag'
main.cpp:113: warning: will be re-ordered to match declaration order
main.h:141: warning: member initializers for `bool MyMainWindow::beepFlag'
main.h:144: warning: and `int MyMainWindow::preBeats'
main.cpp:113: warning: will be re-ordered to match declaration order
main.h:144: warning: member initializers for `int MyMainWindow::preBeats'
main.h:145: warning: and `int MyMainWindow::clickInst'
main.cpp:113: warning: will be re-ordered to match declaration order
main.cpp:120: warning: unused variable `pid_t pid'
main.cpp: In method `void MyMainWindow::makeTicksBeatBar(int)':
main.cpp:318: warning: assignment to `int' from `double'
main.cpp: In method `void MyMainWindow::makePos(int, int, int)':
main.cpp:337: warning: assignment to `int' from `double'
main.h: In method `Part::Part(int, int, int, class QWidget * = 0, const char * =
0)':
main.h:233: warning: member initializers for `class MyMainWindow * Part::mw'
main.h:234: warning: and `class PartCanvas * Part::pcanvas'
main.cpp:387: warning: will be re-ordered to match declaration order
main.h:244: warning: member initializers for `class ScoreWindow * Part::openScor
e'
main.h:291: warning: and `int Part::clef'
main.cpp:387: warning: will be re-ordered to match declaration order
main.cpp:390: warning: initialization to `int' from `double'
main.cpp:391: warning: initialization to `int' from `double'
main.cpp: In method `void Part::paintEvent(class QPaintEvent *)':
main.cpp:456: warning: initialization to `int' from `double'
main.cpp: In method `void Part::mouseMoveEvent(class QMouseEvent *)':
main.cpp:537: warning: initialization to `int' from `double'
main.cpp: In method `bool Part::right()':
main.cpp:748: warning: control reaches end of non-void function `Part::right()'
main.cpp: In method `bool Part::left()':
main.cpp:766: warning: control reaches end of non-void function `Part::left()'
main.cpp: In method `void TimeBar::paintEvent(class QPaintEvent *)':
main.cpp:886: warning: assignment to `int' from `double'
main.cpp:887: warning: assignment to `int' from `double'
main.h: In method `TogBut::TogBut(class QPixmap *, class QPixmap *, class QWidge
t * = 0, const char * = 0)':
main.h:372: warning: member initializers for `class Track * TogBut::tr'
main.h:377: warning: and `class QPixmap * TogBut::icon'
main.cpp:908: warning: will be re-ordered to match declaration order
main.h: In method `Track::Track(int, class MainCanvas *, class QWidget * = 0, co
nst char * = 0)':
main.h:419: warning: member initializers for `int Track::program'
main.h:420: warning: and `int Track::channel'
main.cpp:1009: warning: will be re-ordered to match declaration order
main.h: In method `PartCanvas::PartCanvas(int, class MainCanvas * = 0, class QWi
dget * = 0)':
main.h:452: warning: member initializers for `class MyMainWindow * PartCanvas::m
w'
main.h:453: warning: and `class MainCanvas * PartCanvas::mcanvas'
main.cpp:1182: warning: will be re-ordered to match declaration order
main.h:463: warning: member initializers for `int PartCanvas::numOfBars'
main.h:464: warning: and `int PartCanvas::leftBar'
main.cpp:1182: warning: will be re-ordered to match declaration order
main.cpp: In method `void PartCanvas::paintEvent(class QPaintEvent *)':
main.cpp:1352: warning: assignment to `int' from `double'
main.cpp:1353: warning: assignment to `int' from `double'
main.cpp: In method `void PartCanvas::mouseDoubleClickEvent(class QMouseEvent *)
':
main.cpp:1395: warning: assignment to `int' from `double'
main.cpp:1396: warning: assignment to `int' from `double'
main.cpp:1398: warning: unused variable `int right'
main.cpp:1397: warning: unused variable `int left'
main.cpp: In method `void MainCanvas::resizeEvent(class QResizeEvent *)':
main.cpp:1455: warning: unused variable `int canvasMarginLeft'
main.h: In method `MainCanvas::MainCanvas(class QWidget * = 0, const char * = 0)
':
main.h:509: warning: member initializers for `int MainCanvas::numOfTracks'
main.h:521: warning: and `int MainCanvas::heightOfTrack'
main.cpp:1470: warning: will be re-ordered to match declaration order
main.cpp: In method `void Part::adjustPartSize()':
main.cpp:1579: warning: assignment to `int' from `double'
main.cpp: In method `void MyMainWindow::play(int = -1, int = 0, int = 0)':
main.cpp:1708: warning: assignment to `int' from `double'
main.cpp:1719: warning: assignment to `int' from `double'
main.cpp:1720: warning: assignment to `int' from `double'
main.cpp:1750: `errno' undeclared (first use this function)
main.cpp:1750: (Each undeclared identifier is reported only once
main.cpp:1750: for each function it appears in.)
main.cpp:1750: warning: `return' with a value, in function returning void
main.cpp:1751: confused by earlier errors, bailing out
make[2]: *** [main.o] Error 1
make[2]: Leaving directory `/home/niehaus/koo/kooBase-0.92/kooBase'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/niehaus/koo/kooBase-0.92'
make: *** [all-recursive-am] Error 2
bash-2.02#


----------------------------


Und nun?


(DANKe für eventuelle Hilfe!)

s.

1 Antworten zu dieser Frage

  1. Antwort von nach 2 Tagen hilfreich
    Re: Probleme beim Kompilieren (koobase)

    Ich versuche nun schon länger das
    Programm koobaseauf meiem SuSE6.0-Linux
    zum Laufen zu bringen, die Kompilation
    klappt aber nicht. Der Befehl
    ./configure
    klappt noch gut (keine Fehlermeldung),
    aber beim
    make
    hapert es dann, und ich habe
    zugegebenermassen keine Ahnung, was der
    Output bedeutet. Kann mir jemand helfen?
    Hier also die Mitschrift nach
    ./configure --with-midi=sb

    -------------------------
    [gelöscht] main.cpp: In method `void
    MyMainWindow::play(int = -1, int = 0, int
    = 0)':
    main.cpp:1708: warning: assignment to
    `int' from `double'
    main.cpp:1719: warning: assignment to
    `int' from `double'
    main.cpp:1720: warning: assignment to
    `int' from `double'
    main.cpp:1750: `errno' undeclared (first
    use this function)
    Die Variable errno ist unbekannt. Daher kann an dieser Stelle die Compilation nicht fortgeführt werden. main.cpp:1750: (Each undeclared
    identifier is reported only once
    main.cpp:1750: for each function it
    appears in.)
    main.cpp:1750: warning: `return' with a
    value, in function returning void
    main.cpp:1751: confused by earlier
    errors, bailing out
    make[2]: *** [main.o] Error 1
    make[2]: Leaving directory
    `/home/niehaus/koo/kooBase-0.92/kooBase'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory
    `/home/niehaus/koo/kooBase-0.92'
    make: *** [all-recursive-am] Error 2
    Die restlichen Fehlermeldung zeigen nur an, wo die Datei zu finden ist. ----------------------------
    Und nun?
    Welchen Compiler verwendest Du? (DANKe für eventuelle Hilfe!)

    s.
    MfG
    Frank

Keine passende Antwort gefunden? Jetzt eigene Frage stellen!