KDEutils-1.1

Marcin Dalecki dalecki w cs.net.pl
Pią, 16 Kwi 1999, 14:41:01 CEST


Wojciech \"Sas\" Cieciwa wrote:
> 
> Witam,
> 
> Czy kto¶ to robi ???
> Bo znalaz³em b³±d i nie bardzo wiem, czy jest to w moim systemie czy w
> pakiecie...
> 
> w pliku kpm/ttystr.h
> w liniach 17, 18 i dalej wywala b³êdy...
> 
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include/X11/qt  -I/usr/X11R6/include  -O2 -m486 -fno-strength-reduce -Wall -c prefs.C
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include/X11/qt  -I/usr/X11R6/include  -O2 -m486 -fno-strength-reduce -Wall -c qps.C
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include/X11/qt  -I/usr/X11R6/include  -O2 -m486 -fno-strength-reduce -Wall -c ttystr.C
> In file included from ttystr.C:14:
> ttystr.h:17: parse error before `int'
> ttystr.h:18: parse error before `int'
> ttystr.h:24: uninitialized const `int const DEVNAMELEN'
> ttystr.h:26: uninitialized const `int const NMAJORS'
> ttystr.h:27: uninitialized const `int const NMINORS'
> ttystr.h:28: uninitialized const `int const NDEVS'
> ttystr.h:29: uninitialized const `int const DEVTABSIZE'
> ttystr.h:30: parse error before `}'
> ttystr.C:16: `int const Ttystr::DEVNAMELEN' is not a static member of `class Ttystr'
> ttystr.C:17: `int const Ttystr::NMAJORS' is not a static member of `class Ttystr'
> ttystr.C:18: `int const Ttystr::NMINORS' is not a static member of `class Ttystr'
> ttystr.C:19: `int const Ttystr::NDEVS' is not a static member of `class Ttystr'
> ttystr.C:19: `NMAJORS' is not a member of type `Ttystr'
> ttystr.C:19: `NMINORS' is not a member of type `Ttystr'
> ttystr.C:20: `int const Ttystr::DEVTABSIZE' is not a static member of `class Ttystr'
> ttystr.C:20: `NDEVS' is not a member of type `Ttystr'
> ttystr.C:20: `DEVNAMELEN' is not a member of type `Ttystr'
> ttystr.C:23: `char * Ttystr::tab' is not a static member of `class Ttystr'
> ttystr.C:24: `long long unsigned int Ttystr::major_numbers[6]' is not a static member of `class Ttystr'
> ttystr.C:85: no `char * Ttystr::tabstr(int)' member function declared in class `Ttystr'
> ttystr.C:93: no `int Ttystr::major_index(int)' member function declared in class `Ttystr'
> ttystr.h:19: warning: `int major_index(int)' declared `static' but never defined
> ttystr.h:20: warning: `char * tabstr(int)' declared `static' but never defined
> make[2]: *** [ttystr.o] Error 1
> make[2]: Leaving directory `/users/cieciwa/rpm/BUILD/kdeutils-1.1/kpm'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/users/cieciwa/rpm/BUILD/kdeutils-1.1'
> make: *** [all-recursive-am] Error 2
> Bad exit status from /var/tmp/rpm-tmp.32031 (%build)
> 
> Gdzie szukaæ przyczyny ???


Przyczynya sa zmiany w definicjach makro i pewnych typow  wjadrze 2.2.
Dokladniej dotycza one obliczania minrow i majorow dyskow SCSI.
Dawno dawno temu juz zskompilowalem sobie ten pakiet (poprawiony) w
domciu.
Late przesle dzis wieczorem...

--Marcin



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