cdrdao i 2.6.x kernel

LCF lcf w rewindradio.com
Czw, 15 Sty 2004, 08:36:24 CET


On Thu, Jan 15, 2004 at 04:27:06AM +0100, Wieslaw Kierbedz wrote:
> Użytkownik LCF napisał:
> 
> >Czy moglby ktos poprawic w cvs'ie spec'a zeby nakladal patch'a
> >poruszonego w watku http://kerneltrap.org/node/view/879 bo w obecnej
> >wersji cdrdao sie nie kompiluje.
> >
> > 
> >
> Aż musiałem sprawdzić - cdrdao zbudowane przed chwilą:
> 
> 
> [syntetyk w mincho syntetyk]$ rpm -qa kernel* cdrdao*
> cdrdao-1.1.7-7
> [syntetyk w mincho syntetyk]$ rpm -qa kernel-dbox* cdrdao*
> kernel-dbox-sound-alsa-2.6.1-1.cset20040113_0214
> kernel-dbox-char-lirc-2.6.1-1.cset20040113_0214
> cdrdao-1.1.7-7
> kernel-dbox-headers-2.6.1-1.cset20040113_0214
> kernel-dbox-2.6.1-1.cset20040113_0214
> kernel-dbox-source-2.6.1-1.cset20040113_0214
> 
> 
> Kernel z dodatkowymi łatkami, ale nie dla cdrdao
> - odpowiednik kernel-2.6.1-1.cset20040113_0214 z AC/test.
> Pozdrawiam

u mnie to wyglada tak:

[lcf w heaven lcf]$ rpm -qa kernel*
kernel-2.6.1-1.2.cset20040113_0214

a kompilacja daje takie efekty:

#+v
athlon-pld-linux-g++ -DHAVE_CONFIG_H -D_THREAD_SAFE -D_REENTRANT  -DVERSION=\"1.1.7\" -DDRIVER_TABLE_FILE=\"/usr/share/cdrdao/drivers\" -I./.. -I. -I./../trackdb -I./../scsilib/export -I./../scsilib/export/libschily -O2  -march=athlon  -c dao.cc -o dao.o
In file included from /usr/include/linux/sysctl.h:23,
                 from dao.cc:35:
/usr/include/linux/list.h:595:2: warning: #warning "don't include kernel headers in userspace"
athlon-pld-linux-g++ -DHAVE_CONFIG_H -D_THREAD_SAFE -D_REENTRANT  -DVERSION=\"1.1.7\" -DDRIVER_TABLE_FILE=\"/usr/share/cdrdao/drivers\" -I./.. -I. -I./../trackdb -I./../scsilib/export -I./../scsilib/export/libschily -O2  -march=athlon  -c ScsiIf-lib.cc -o ScsiIf-lib.o
In file included from ScsiIf-lib.cc:30:
/usr/include/linux/../scsi/scsi.h:206: error: 'u8' is used as a type, but is 
   not defined as a type.
/usr/include/linux/../scsi/scsi.h:207: error: 'u8' is used as a type, but is 
   not defined as a type.
/usr/include/linux/../scsi/scsi.h:208: error: 'u8' is used as a type, but is 
   not defined as a type.
/usr/include/linux/../scsi/scsi.h:209: error: 'u8' is used as a type, but is 
   not defined as a type.
/usr/include/linux/../scsi/scsi.h:210: error: 'u8' is used as a type, but is 
   not defined as a type.
/usr/include/linux/../scsi/scsi.h:211: error: 'u8' is used as a type, but is 
   not defined as a type.
/usr/include/linux/../scsi/scsi.h:212: error: 'u8' is used as a type, but is 
   not defined as a type.
/usr/include/linux/../scsi/scsi.h:213: error: 'u8' is used as a type, but is 
   not defined as a type.
/usr/include/linux/../scsi/scsi.h:214: error: 'u8' is used as a type, but is 
   not defined as a type.
/usr/include/linux/../scsi/scsi.h:215: error: 'u8' is used as a type, but is 
   not defined as a type.
/usr/include/linux/../scsi/scsi.h:216: error: 'u8' is used as a type, but is 
   not defined as a type.
/usr/include/linux/../scsi/scsi.h:217: error: 'u8' is used as a type, but is 
   not defined as a type.
/usr/include/linux/../scsi/scsi.h:224: error: syntax error before `[' token
make[1]: *** [ScsiIf-lib.o] Błąd 1
make[1]: Opuszczenie katalogu `/home/users/lcf/rpm/BUILD/cdrdao-1.1.7/dao'
make: *** [all] Błąd 1
błąd: Błędny status wyjścia z /var/tmp/rpm-tmp.95915 (%build)


Błędy budowania RPM-a:
    Błędny status wyjścia z /var/tmp/rpm-tmp.95915 (%build)
Error: package build failed. (no more info)
#-v

i sie nie chce zbudowac.

-- 
*    __   _________                                          *
*   / /  / ___/ __/          LCF just LCF                    *
*  / /__/ /__/ _/       e-mail: lcf<at>rewindradio<dot>com   *
* /____/\___/_/        DS6-210A EKG:2261068  [aNTHRAx TeAM]  *



Więcej informacji o liście dyskusyjnej pld-users-pl