You are not logged in.

#1 2005-07-03 17:41:30

zolookas
Member
Registered: 2005-06-03
Posts: 44

Can't compile

When i try to compile something i get warnings and at the end of process i get error1 and error2 problems like this:

make[2]: *** [kiso.o] Error 1
make[2]: Leaving directory `/home/zolookas/kiso-0.8.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/zolookas/kiso-0.8.2'
make: *** [all] Error 2

Or:

make[4]: *** [kbearfilecopyjob.lo] Error 1
make[4]: Leaving directory `/home/zolookas/kbear-3.0alpha1b-1.src/kbear-3.0alpha1b/kbear/lib/jobclasses'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/zolookas/kbear-3.0alpha1b-1.src/kbear-3.0alpha1b/kbear/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/zolookas/kbear-3.0alpha1b-1.src/kbear-3.0alpha1b/kbear'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/zolookas/kbear-3.0alpha1b-1.src/kbear-3.0alpha1b'
make: *** [all] Error 2

Any help woud be appreciated.

Offline

#2 2005-07-03 17:49:55

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Can't compile

Those errors tell you that the compile process failed.

There might be more information above them, telling exactly what failed in the call to gcc.

Offline

#3 2005-07-03 17:56:48

zolookas
Member
Registered: 2005-06-03
Posts: 44

Re: Can't compile

Compiling... and:

kiso.cpp:14:23: cdio/cdio.h: No such file or directory
kiso.cpp:15:22: cdio/mmc.h: No such file or directory
kiso.cpp: In member function `virtual void Mainform::choice()':
kiso.cpp:3179: error: `CdIo' undeclared (first use this function)
kiso.cpp:3179: error: (Each undeclared identifier is reported only once for each function it appears in.)
kiso.cpp:3179: error: `cdio' undeclared (first use this function)
kiso.cpp:3179: error: `cdio_open_cd' undeclared (first use this function)
kiso.cpp:3181: error: `track_t' undeclared (first use this function)
kiso.cpp:3181: error: expected `;' before "num_tracks"
kiso.cpp:3182: error: expected `;' before "first_track_num"
kiso.cpp:3187: error: `first_track_num' undeclared (first use this function)
kiso.cpp:3187: error: `cdio_get_first_track_num' undeclared (first use this function)
kiso.cpp:3188: error: `num_tracks' undeclared (first use this function)
kiso.cpp:3188: error: `cdio_get_num_tracks' undeclared (first use this function)
kiso.cpp:3189: error: `TRACK_FORMAT_AUDIO' undeclared (first use this function)
kiso.cpp:3189: error: `cdio_get_track_format' undeclared (first use this function)
kiso.cpp:3191: error: `cdio_destroy' undeclared (first use this function)
kiso.cpp: In member function `virtual void Mainform::createiso(QString)':
kiso.cpp:3367: error: `CdIo' undeclared (first use this function)
kiso.cpp:3367: error: `cdio' undeclared (first use this function)
kiso.cpp:3367: error: `cdio_open_cd' undeclared (first use this function)
kiso.cpp:3368: error: `discmode_t' undeclared (first use this function)
kiso.cpp:3368: error: expected `;' before "ommodus"
kiso.cpp:3369: error: `ommodus' undeclared (first use this function)
kiso.cpp:3369: error: `cdio_is_discmode_dvd' undeclared (first use this function)
kiso.cpp:3371: error: `cdio_stat_size' undeclared (first use this function)
kiso.cpp:3373: error: `CDIO_CD_FRAMESIZE_RAW' undeclared (first use this function)
kiso.cpp:3374: error: `CDIO_CD_FRAMESIZE' undeclared (first use this function)
kiso.cpp:3376: error: `track_t' undeclared (first use this function)
kiso.cpp:3376: error: expected `;' before "num_tracks"
kiso.cpp:3378: error: `lsn_t' undeclared (first use this function)
kiso.cpp:3378: error: expected `;' before "leadoutlsn"
kiso.cpp:3379: error: expected `;' before "actuallsn"
kiso.cpp:3380: error: expected `;' before "lastlsn"
kiso.cpp:3381: error: `leadoutlsn' undeclared (first use this function)
kiso.cpp:3381: error: `CDIO_CDROM_LEADOUT_TRACK' undeclared (first use this function)
kiso.cpp:3381: error: `cdio_get_track_lsn' undeclared (first use this function)
kiso.cpp:3382: error: `lastlsn' undeclared (first use this function)
kiso.cpp:3383: error: `num_tracks' undeclared (first use this function)
kiso.cpp:3383: error: `cdio_get_num_tracks' undeclared (first use this function)
kiso.cpp:3385: error: `TRACK_FORMAT_AUDIO' undeclared (first use this function)
kiso.cpp:3385: error: `cdio_get_track_format' undeclared (first use this function)
kiso.cpp:3387: error: `cdio_get_track_lba' undeclared (first use this function)
kiso.cpp:3393: error: `actuallsn' undeclared (first use this function)
kiso.cpp:3395: error: `buffer' undeclared (first use this function)
kiso.cpp:3395: error: `cdio_read_mode1_sector' undeclared (first use this function)
kiso.cpp:3417: error: `cdio_eject_media' undeclared (first use this function)
kiso.cpp:3418: error: `cdio_destroy' undeclared (first use this function)
kiso.cpp: In member function `virtual void Mainform::showdrive()':
kiso.cpp:3570: error: `CdIo' undeclared (first use this function)
kiso.cpp:3570: error: `p_cdio' undeclared (first use this function)
kiso.cpp:3573: error: `cdio_hwinfo_t' undeclared (first use this function)
kiso.cpp:3573: error: expected `;' before "p_hw_info"
kiso.cpp:3574: error: `DRIVER_DEVICE' undeclared (first use this function)
kiso.cpp:3574: error: `cdio_open' undeclared (first use this function)
kiso.cpp:3577: error: `track_t' undeclared (first use this function)
kiso.cpp:3577: error: expected `;' before "num_tracks"
kiso.cpp:3578: error: expected `;' before "first_track_num"
kiso.cpp:3579: error: `discmode_t' undeclared (first use this function)
kiso.cpp:3579: error: expected `;' before "ommodus"
kiso.cpp:3580: error: `p_hw_info' undeclared (first use this function)
kiso.cpp:3580: error: `cdio_get_hwinfo' undeclared (first use this function)
kiso.cpp:3583: error: `msf_t' undeclared (first use this function)
kiso.cpp:3583: error: expected `;' before "msf"
kiso.cpp:3584: error: `CDIO_CDROM_LEADOUT_TRACK' undeclared (first use this function)
kiso.cpp:3584: error: `msf' undeclared (first use this function)
kiso.cpp:3584: error: `cdio_get_track_msf' undeclared (first use this function)
kiso.cpp:3585: error: `lsn_t' undeclared (first use this function)
kiso.cpp:3585: error: expected `;' before "lsn"
kiso.cpp:3586: error: `lsn' undeclared (first use this function)
kiso.cpp:3586: error: `CDIO_CD_FRAMESIZE_RAW' undeclared (first use this function)
kiso.cpp:3587: error: `first_track_num' undeclared (first use this function)
kiso.cpp:3587: error: `num_tracks' undeclared (first use this function)
kiso.cpp:3589: error: `TRACK_FORMAT_AUDIO' undeclared (first use this function)
kiso.cpp:3589: error: `cdio_get_track_format' undeclared (first use this function)
kiso.cpp:3591: error: `TRACK_FORMAT_DATA' undeclared (first use this function)
kiso.cpp:3594: error: `cdio_drive_read_cap_t' undeclared (first use this function)
kiso.cpp:3594: error: expected `;' before "i_read_cap"
kiso.cpp:3595: error: `cdio_drive_write_cap_t' undeclared (first use this function)
kiso.cpp:3595: error: expected `;' before "i_write_cap"
kiso.cpp:3596: error: `cdio_drive_misc_cap_t' undeclared (first use this function)
kiso.cpp:3596: error: expected `;' before "i_misc_cap"
kiso.cpp:3602: error: `scsi_mmc_cdb_t' undeclared (first use this function)
kiso.cpp:3602: error: expected `;' before "cdb"
kiso.cpp:3604: error: `cdb' undeclared (first use this function)
kiso.cpp:3604: error: `CDIO_MMC_GPCMD_GET_CONFIGURATION' undeclared (first use this function)
kiso.cpp:3604: error: `CDIO_MMC_SET_COMMAND' undeclared (first use this function)
kiso.cpp:3605: error: `CDIO_MMC_SET_READ_LENGTH8' undeclared (first use this function)
kiso.cpp:3606: error: `CDIO_MMC_GET_CONF_ALL_FEATURES' undeclared (first use this function)
kiso.cpp:3609: error: `SCSI_MMC_DATA_READ' undeclared (first use this function)
kiso.cpp:3609: error: `scsi_mmc_run_cmd' undeclared (first use this function)
kiso.cpp:3615: error: `CDIO_MMC_GET_LEN32' undeclared (first use this function)
kiso.cpp:3621: error: `CDIO_MMC_GET_LEN16' undeclared (first use this function)
kiso.cpp:3625: error: `CDIO_MMC_FEATURE_CORE' undeclared (first use this function)
kiso.cpp:3656: error: `ommodus' undeclared (first use this function)
kiso.cpp:3656: error: `cdio_is_discmode_cdrom' undeclared (first use this function)
kiso.cpp:3657: error: `CDIO_DISC_MODE_DVD_R' undeclared (first use this function)
kiso.cpp:3658: error: `CDIO_DISC_MODE_DVD_RW' undeclared (first use this function)
kiso.cpp:3660: error: `CDIO_DISC_MODE_DVD_ROM' undeclared (first use this function)
kiso.cpp:3661: error: `CDIO_DISC_MODE_DVD_RAM' undeclared (first use this function)
kiso.cpp:3662: error: `CDIO_DISC_MODE_CD_DA' undeclared (first use this function)
kiso.cpp:3663: error: `i_read_cap' undeclared (first use this function)
kiso.cpp:3663: error: `i_write_cap' undeclared (first use this function)
kiso.cpp:3663: error: `i_misc_cap' undeclared (first use this function)
kiso.cpp:3663: error: `cdio_get_drive_cap_dev' undeclared (first use this function)
kiso.cpp:3664: error: `CDIO_DRIVE_CAP_READ_DVD_ROM' undeclared (first use this function)
kiso.cpp:3665: error: `CDIO_DRIVE_CAP_WRITE_CD_R' undeclared (first use this function)
kiso.cpp:3666: error: `CDIO_DRIVE_CAP_WRITE_CD_RW' undeclared (first use this function)
kiso.cpp:3667: error: `CDIO_DRIVE_CAP_WRITE_DVD_R' undeclared (first use this function)
kiso.cpp:3668: error: `CDIO_DRIVE_CAP_WRITE_DVD_RW' undeclared (first use this function)
kiso.cpp:3674: error: `cdio_destroy' undeclared (first use this function)
kiso.cpp: In member function `virtual int Mainform::ProgressBar(QString, QString, KShellProcess*, double)':
kiso.cpp:3684: error: `lba_t' undeclared (first use this function)
kiso.cpp:3684: error: expected `;' before "first_audio_lba"
kiso.cpp:3687: error: `CdIo' undeclared (first use this function)
kiso.cpp:3687: error: `cdio' undeclared (first use this function)
kiso.cpp:3687: error: `cdio_open_cd' undeclared (first use this function)
kiso.cpp:3688: error: `track_t' undeclared (first use this function)
kiso.cpp:3688: error: expected `;' before "num_tracks"
kiso.cpp:3689: error: expected `;' before "first_track_num"
kiso.cpp:3690: error: `first_track_num' undeclared (first use this function)
kiso.cpp:3690: error: `num_tracks' undeclared (first use this function)
kiso.cpp:3691: error: `TRACK_FORMAT_AUDIO' undeclared (first use this function)
kiso.cpp:3691: error: `cdio_get_track_format' undeclared (first use this function)
kiso.cpp:3692: error: `first_audio_lba' undeclared (first use this function)
kiso.cpp:3693: error: `cdio_get_track_lba' undeclared (first use this function)
kiso.cpp:3697: error: `cdio_stat_size' undeclared (first use this function)
kiso.cpp:3698: error: `cdio_destroy' undeclared (first use this function)

Looks like i am compiling some garbage. (Yes i ran ./configure before make and i am compiling as root).

Offline

#4 2005-07-03 18:25:14

grandmouse
Member
From: germany, bonn
Registered: 2005-05-14
Posts: 90

Re: Can't compile

pacman -S libcdio

Offline

Board footer

Powered by FluxBB