[ SlackList ] [ WkikiSlack ] |
Cześć!
Mam problem z kompilacją IceWM 1.2.15-pre1 na komputerze z zainstalowanym
Linux Slackware 10.0 oraz jądrem 2.4.26. Po wydaniu komendy make otrzymuję
wiele błędów. Oto część z nich, które udało mi się wyłapać:
ypaint.h:301: error: `fFont' undeclared (first use this function)
ypaint.h: At global scope:
ypaint.h:302: error: non-member function `int function()' cannot have
`const'
method qualifier
ypaint.h:303: error: non-member function `int xorigin()' cannot have
`const'
method qualifier
ypaint.h: In function `int xorigin()':
ypaint.h:303: error: `xOrigin' undeclared (first use this function)
ypaint.h: At global scope:
ypaint.h:304: error: non-member function `int yorigin()' cannot have
`const'
method qualifier
ypaint.h: In function `int yorigin()':
ypaint.h:304: error: `yOrigin' undeclared (first use this function)
ypaint.h: At global scope:
ypaint.h:307: error: `XRectangle' was not declared in this scope
ypaint.h:307: error: `rect' was not declared in this scope
ypaint.h:307: error: parse error before `)' token
ypaint.h:309: error: parse error before `private'
ypaint.h:311: error: 'Drawable' is used as a type, but is not defined as a
type.
ypaint.h:312: error: 'GC' is used as a type, but is not defined as a type.
ypaint.h:314: error: syntax error before `*' token
ypaint.h:317: error: `YColor*fColor' used prior to declaration
ypaint.h:318: error: `ref<YFont> fFont' used prior to declaration
ypaint.h:319: error: `int xOrigin' used prior to declaration
ypaint.h:319: error: `int yOrigin' used prior to declaration
ypaint.h:321: error: parse error before `}' token
In file included from ywindow.h:5,
from wmclient.h:5,
from ydialog.h:4,
from ymsgbox.h:4,
from ymsgbox.cc:13:
ycursor.h:16: error: parse error before `const'
ycursor.h:18: error: missing ';' before right brace
ycursor.h: In constructor `YCursor::YCursor(const char*)':
ycursor.h:9: error: class `YCursor' does not have any field named `fOwned'
ycursor.h:11: error: `load' undeclared (first use this function)
ycursor.h: At global scope:
ycursor.h:20: warning: ISO C++ forbids defining types within return type
ycursor.h:20: error: semicolon missing after declaration of `class YCursor'
ycursor.h: In function `int YCursor(YCursor&)':
ycursor.h:20: error: only constructors take base initializers
ycursor.h:20: error: 'class YCursor' has no member named 'fCursor'
ycursor.h:21: confused by earlier errors, bailing out
make[1]: *** [ymsgbox.o] Error 1
make[1]: Leaving directory `/root/icewm-1.2.15pre1/src'
make: *** [base] Error 2
Wcześniej skonfigurowałem to za pomocą komendy:
../configure --enable-gradients --enable-shaped-decorations
--enable-antialiasing --x-includes=/usr/X11R6/include
--x-libraries=/usr/X11R6/lib
Bez --x-includes oraz --x-libraries zwracało błąd, iż nie znaleziono X
Window. Po wydaniu powyższej komendy konfiguracja przebiegła bezproblemowo.
X Window instalowałem z paczki, która znajduje się na CD Slackware 10.0
(nie za pomocą instalatora, później, za pomocą installpkg).
Proszę o pomoc, ponieważ nie wiem gdzie szukać mojego błędu. Co jest nie
tak?
--
+.................+..............................+...........+
: Fazi : : : fazin[at]tlen.pl :
: +............+ GG: 2105817 +.......+...................+
+........+ djanocha[at]klub.chip.pl +.......................+
Received on Wed Jul 28 15:57:43 2004