• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

[solved] kiso make problem bei Athlon64

mogli

Newbie
Hallo,

habe eben versucht kiso 0.8.2c zu installieren.
configure läuft noch anstandslos durch, nur make gibt mir dann folgenden Fehler (Ausschnitt):
Installiert ist die 64Bit Version von Suse 9.3.

Code:
kiso.cpp:15:22: cdio/mmc.h: Datei oder Verzeichnis nicht gefunden
kiso.cpp: In member function `virtual void Mainform::showdrive()':
kiso.cpp:3602: error: `scsi_mmc_cdb_t' undeclared (first use this function)
kiso.cpp:3602: error: (Each undeclared identifier is reported only once for
   each function it appears in.)
kiso.cpp:3602: error: syntax error before `=' token
kiso.cpp:3579: warning: unused variable `discmode_t ommodus'
kiso.cpp:3586: warning: unused variable `uint16_t MediumSize'
kiso.cpp:3594: warning: unused variable `cdio_drive_read_cap_t i_read_cap'
kiso.cpp:3595: warning: unused variable `cdio_drive_write_cap_t i_write_cap'
kiso.cpp:3596: warning: unused variable `cdio_drive_misc_cap_t i_misc_cap'
kiso.cpp:3600: warning: unused variable `int i_status'
kiso.cpp:3601: warning: unused variable `uint8_t buf[500]'
kiso.cpp: At global scope:
kiso.cpp:3604: error: `cdb' was not declared in this scope
kiso.cpp:3604: error: `CDIO_MMC_GPCMD_GET_CONFIGURATION' was not declared in
   this scope
kiso.cpp:3604: error: ISO C++ forbids declaration of `CDIO_MMC_SET_COMMAND'
   with no type
kiso.cpp:3604: error: initializer list being treated as compound expression
kiso.cpp:3605: error: `cdb' was not declared in this scope
kiso.cpp:3605: error: `buf' was not declared in this scope
kiso.cpp:3605: error: ISO C++ forbids declaration of `CDIO_MMC_SET_READ_LENGTH8
   ' with no type
kiso.cpp:3605: error: initializer list being treated as compound expression
kiso.cpp:3606: error: syntax error before `.' token
kiso.cpp:3607: error: syntax error before `.' token
kiso.cpp:3609: error: ISO C++ forbids declaration of `i_status' with no type
kiso.cpp:3609: error: `p_cdio' was not declared in this scope
kiso.cpp:3609: error: `cdb' was not declared in this scope
kiso.cpp:3609: error: `SCSI_MMC_DATA_READ' was not declared in this scope
kiso.cpp:3609: error: `buf' was not declared in this scope
kiso.cpp:3609: error: `buf' was not declared in this scope
kiso.cpp:3609: error: `scsi_mmc_run_cmd' was not declared in this scope
kiso.cpp:3610: error: syntax error before `if'
kiso.cpp:3613: error: `buf' was not declared in this scope
kiso.cpp:3615: error: ISO C++ forbids declaration of `i_data' with no type
kiso.cpp:3615: error: conflicting types for `int i_data'
kiso.cpp:3612: error: previous declaration as `uint32_t i_data'
kiso.cpp:3615: error: `buf' was not declared in this scope
kiso.cpp:3615: error: `CDIO_MMC_GET_LEN32' was not declared in this scope
kiso.cpp:3616: error: ISO C++ forbids declaration of `p' with no type
kiso.cpp:3616: error: `buf' was not declared in this scope
kiso.cpp:3617: error: syntax error before `while'
kiso.cpp:3619: error: invalid types `int[int]' for array subscript
kiso.cpp:3621: error: ISO C++ forbids declaration of `i_feature' with no type
kiso.cpp:3621: error: `CDIO_MMC_GET_LEN16' was not declared in this scope
kiso.cpp:3622: error: syntax error before `{' token
kiso.cpp:3628: error: `q' was not declared in this scope
kiso.cpp:3628: error: `CDIO_MMC_GET_LEN32' was not declared in this scope
kiso.cpp:3629: error: syntax error before `switch'
kiso.cpp:3651: error: syntax error before `+=' token
kiso.cpp:3663: error: `i_read_cap' was not declared in this scope
kiso.cpp:3663: error: `i_write_cap' was not declared in this scope
kiso.cpp:3663: error: `i_misc_cap' was not declared in this scope
kiso.cpp:3663: error: ISO C++ forbids declaration of `cdio_get_drive_cap_dev'
   with no type
kiso.cpp:3663: error: `int cdio_get_drive_cap_dev' redeclared as different kind
   of symbol
/usr/include/cdio/device.h:250: error: previous declaration of `void
   cdio_get_drive_cap_dev(const char*, cdio_drive_read_cap_t*,
   cdio_drive_write_cap_t*, cdio_drive_misc_cap_t*)'
kiso.cpp:3663: error: initializer list being treated as compound expression
kiso.cpp:3664: error: syntax error before `if'
kiso.cpp:3670: error: invalid use of `this' at top level
kiso.cpp:3670: error: `p_hw_info' was not declared in this scope
kiso.cpp:3670: error: `p_hw_info' was not declared in this scope
kiso.cpp:3670: error: `p_hw_info' was not declared in this scope
kiso.cpp:3670: error: `DeviceType' was not declared in this scope
kiso.cpp:3670: error: `DriveType' was not declared in this scope
kiso.cpp:3670: error: `Medium' was not declared in this scope
kiso.cpp:3670: error: `num_data' was not declared in this scope
kiso.cpp:3670: error: `num_audio' was not declared in this scope
kiso.cpp:3670: error: `MediumSize' was not declared in this scope
kiso.cpp:3670: error: ISO C++ forbids declaration of `information' with no type
kiso.cpp:3670: error: `int KMessageBox::information' is not a static member of
   `class KMessageBox'
kiso.cpp:3670: error: initializer list being treated as compound expression
kiso.cpp:3671: error: syntax error before `}' token
kiso.cpp:3674: error: `p_cdio' was not declared in this scope
kiso.cpp:3674: error: ISO C++ forbids declaration of `cdio_destroy' with no
   type
kiso.cpp:3674: error: `int cdio_destroy' redeclared as different kind of symbol
/usr/include/cdio/device.h:327: error: previous declaration of `void
   cdio_destroy(CdIo_t*)'
kiso.cpp:3675: error: syntax error before `}' token
kiso.cpp: In member function `virtual int Mainform::ProgressBar(QString,
   QString, KShellProcess*, double)':
kiso.cpp:3698: error: `cdio_destroy' cannot be used as a function
make[2]: *** [kiso.o] Fehler 1
make[2]: Leaving directory `/home/mogli/Eigene Downloads/kiso/kiso-0.8.2/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/mogli/Eigene Downloads/kiso/kiso-0.8.2'
make: *** [all] Fehler 2

cdio ist aber installiert.
Hat jemand eine Idee?

Vielen Dank im voraus und freundliche Grüße
mogli
 
Lesen!

In der ersten Zeile Deiner Fehlermeldung steht folgendes:
kiso.cpp:15:22: cdio/mmc.h: Datei oder Verzeichnis nicht gefunden
Lösung:

- RPM-Suchmaschine benutzen
- "mmc.h" eingeben
- Herausfinden, dass "mmc.h" zu "libcdio-devel" gehört

Also:

"libcdio-devel" installieren und nochmal kompilieren. Nein, "cdio" reicht nicht! Nein, auch "libcdio" reicht nicht! libcdio-devel wird benötigt.
 
OP
M

mogli

Newbie
Danke für die schnelle Antwort.

hatte ich nich dazugeschrieben, aber die devels waren schon installiert.
Habe das Problem aber lösen können.

Durch die verschiedenen Installation von 32Bit und 64 Bit, teilweise von Packman teilweise von CD kam wahrscheinlich alles etwas durcheinander und konnte scheinbar nicht einwandfrei upgedatet werden.
Nachdem ich jetzt alles was mit cdio zusammenhing deinstalliert habe und rein durch 64 Bit-Packmanversionen installiert habe, läuft wieder alles anstandslos...auch kiso.

Vielen Dank nochmal
 
Oben