Click to See Complete Forum and Search --> : Compile error in RedHat 8


vze4gmkk
12-27-2002, 09:38 PM
i was compiling kdemultimedia for 3.1rc5 then disaster stuck:

cdconfigimp.cpp:143: invalid use of undefined type `struct cdrom_drive'
cdconfigimp.h:68: forward declaration of `struct cdrom_drive'
cdconfigimp.cpp:145: invalid use of undefined type `struct cdrom_drive'
cdconfigimp.h:68: forward declaration of `struct cdrom_drive'
cdconfigimp.cpp: In function `long int my_last_sector(cdrom_drive*)':
cdconfigimp.cpp:160: invalid use of undefined type `struct cdrom_drive'
cdconfigimp.h:68: forward declaration of `struct cdrom_drive'
cdconfigimp.cpp:160: `cdda_track_lastsector' undeclared (first use this
function)
cdconfigimp.cpp: In member function `cdrom_drive*
CdConfigImp::initRequest(const KURL&)':
cdconfigimp.cpp:313: `cdda_open' undeclared (first use this function)
cdconfigimp.cpp: In member function `unsigned int
CdConfigImp::get_discid(cdrom_drive*)':
cdconfigimp.cpp:414: invalid use of undefined type `struct cdrom_drive'
cdconfigimp.h:68: forward declaration of `struct cdrom_drive'
cdconfigimp.cpp:416: `cdda_track_firstsector' undeclared (first use this
function)
cdconfigimp.cpp:427: `cdda_disc_firstsector' undeclared (first use this
function)
cdconfigimp.cpp:429: invalid use of undefined type `struct cdrom_drive'
cdconfigimp.h:68: forward declar

JohnT
12-27-2002, 09:54 PM
Follow this thread.................................

http://mail.kde.org/pipermail/kde-linux/2002-October/001803.html

vze4gmkk
12-27-2002, 10:00 PM
what a coincidnce.....

same bug, same name, same command.

thanks

vze4gmkk
12-27-2002, 10:12 PM
DISASTER!!!!!:
cdconfigimp.o: In function `my_last_sector(cdrom_drive*)':
cdconfigimp.o(.text+0x12a): undefined reference to `cdda_track_lastsector'
cdconfigimp.o: In function `CdConfigImp::initRequest(KURL const&)':
cdconfigimp.o(.text+0xc8a): undefined reference to `cdda_open'
cdconfigimp.o: In function `CdConfigImp::get_discid(cdrom_drive*)':
cdconfigimp.o(.text+0x190d): undefined reference to `cdda_disc_firstsector'
cdconfigimp.o(.text+0x194e): undefined reference to `cdda_track_firstsector'
cdconfigimp.o: In function `CdConfigImp::updateCD(cdrom_drive*)':
cdconfigimp.o(.text+0x19ea): undefined reference to `cdda_tracks'
cdconfigimp.o(.text+0x1adb): undefined reference to `cdda_track_audiop'
cdconfigimp.o(.text+0x1afd): undefined reference to `cdda_track_firstsector'
cdconfigimp.o(.text+0x1b53): undefined reference to `cdda_disc_firstsector'
cdconfigimp.o(.text+0x1f8e): undefined reference to `cdda_track_audiop'
cdconfigimp.o: In function `CdConfigImp::attemptToListAlbum()':
cdconfigimp.o(.text+0x2233): undefined reference to `cdda_open'
cdconfigimp.o(.text+0x2422): undefined reference to `cdda_close'
cdconfigimp.o(.text+0x2444): undefined reference to `cdda_track_lastsector'
cdconfigimp.o(.text+0x2451): undefined reference to `cdda_track_firstsector'
cdconfigimp.o: In function `CdConfigImp::pickDrive()':
cdconfigimp.o(.text+0x262d): undefined reference to `cdda_find_a_cdrom'
cdconfigimp.o(.text+0x2791): undefined reference to `cdda_identify'
collect2: ld returned 1 exit status
make[3]: *** [kaudiocreator] Error 1
make[3]: Leaving directory `/home/chris/KDE/kdemultimedia-3.1rc5/kaudiocreator'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/chris/KDE/kdemultimedia-3.1rc5/kaudiocreator'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/chris/KDE/kdemultimedia-3.1rc5'
make: *** [all] Error 2

JohnT
12-27-2002, 11:47 PM
Don't get excited. Compile and install and if it's not suitable uninstall or then come back to the forum and try to resolve your problems. I get similar things all the time compiling. Not necessarily pertaining to your particular usage.