|
Kompilacja
grzesiek311 - 01-05-2007 16:49
Właśnie... Zainstalowałem od nowa Debiana Etch, zrobiłem upgrade do lenny'ego i kompilacja pakietów, które kompilowały się bez problemu pod Etchem, się sypie. Konfiguracja przebiega bez zarzutów, natomiast make wywala mnustwo błędów. Tradycyjnie podam tutaj, jako przykład, jeden ze stylow pod KDE.
Oto configure:
checking build system type... i686-pc-linux checking host system type... i686-pc-linux checking target system type... i686-pc-linux checking for a BSD-compatible install... /usr/bin/install -c checking for -p flag to install... yes checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking whether g++ supports -Wundef... yes checking whether g++ supports -Wno-long-long... yes checking whether g++ supports -Wnon-virtual-dtor... yes checking whether g++ supports -fno-exceptions... yes checking whether g++ supports -fno-check-new... yes checking whether g++ supports -fno-common... yes checking whether g++ supports -fexceptions... yes checking how to run the C++ preprocessor... g++ -E checking whether g++ supports -O0... yes not using lib directory suffix checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes appending configuration tag "F77" to libtool checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking if C++ programs can be compiled... yes checking for strlcat... no checking if strlcat needs custom prototype... yes - in libkdefakes checking for strlcpy... no checking if strlcpy needs custom prototype... yes - in libkdefakes checking for main in -lutil... yes checking for main in -lcompat... no checking for crypt in -lcrypt... yes checking for socklen_t... socklen_t checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for inet_ntoa... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for sys/types.h... (cached) yes checking for stdint.h... (cached) yes checking for poll in -lpoll... no checking CoreAudio/CoreAudio.h usability... no checking CoreAudio/CoreAudio.h presence... no checking for CoreAudio/CoreAudio.h... no checking if res_init needs -lresolv... yes checking if res_init is available... yes checking for killpg in -lucb... no checking for int... yes checking size of int... 4 checking for short... yes checking size of short... 2 checking for long... yes checking size of long... 4 checking for char *... yes checking size of char *... 4 checking for dlopen in -ldl... (cached) yes checking for shl_unload in -ldld... no checking for size_t... yes checking size of size_t... 4 checking for unsigned long... yes checking size of unsigned long... 4 checking sizeof size_t == sizeof unsigned long... yes checking crt_externs.h usability... no checking crt_externs.h presence... no checking for crt_externs.h... no checking for _NSGetEnviron... no checking for vsnprintf... yes checking for snprintf... yes checking for X... libraries /usr/lib, headers . checking for IceConnectionNumber in -lICE... yes checking for libXext... yes checking for pthread_create in -lpthread... yes checking for extra includes... no checking for extra libs... no checking for libz... -lz checking for libpng... -lpng -lz -lm checking for libjpeg6b... no checking for libjpeg... -ljpeg checking for perl... /usr/bin/perl checking for Qt... libraries /usr/share/qt3/lib, headers /usr/share/qt3/include using -mt checking for moc... /usr/share/qt3/bin/moc checking for uic... /usr/share/qt3/bin/uic checking whether uic supports -L ... yes checking whether uic supports -nounload ... yes checking if Qt needs -ljpeg... no checking for rpath... yes checking for KDE... libraries /usr/lib, headers /usr/include/kde checking if UIC has KDE plugins available... yes checking for KDE paths... defaults checking for dcopidl... /usr/bin/dcopidl checking for dcopidl2cpp... /usr/bin/dcopidl2cpp checking for mcopidl... /usr/bin/mcopidl checking for artsc-config... /usr/bin/artsc-config checking for kde-config... /usr/bin/kde-config checking for meinproc... /usr/bin/meinproc checking for kconfig_compiler... /usr/bin/kconfig_compiler checking for dcopidlng... /usr/bin/dcopidlng checking for xmllint... /usr/bin/xmllint checking if kwin should be compiled... yes configure: creating ./config.status wrong input (flag != 4) at admin/conf.change.pl line 117, <> line 1203. config.status: creating Makefile config.status: WARNING: Makefile.in seems to ignore the --datarootdir setting config.status: creating kwin/Makefile config.status: WARNING: kwin/Makefile.in seems to ignore the --datarootdir setting config.status: creating kwin/config/Makefile config.status: WARNING: kwin/config/Makefile.in seems to ignore the --datarootdir setting config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands
Good - your configure finished. Start make now
Jak widać jest ok. A oto make:
make all-recursive make[1]: Wejście do katalogu `/home/gmatlawski/Murrine-0.1' Making all in kwin make[2]: Wejście do katalogu `/home/gmatlawski/Murrine-0.1/kwin' Making all in . make[3]: Wejście do katalogu `/home/gmatlawski/Murrine-0.1/kwin' if /bin/sh ../libtool --silent --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../../lib -I/usr/include/kde -I/usr/share/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -O2 -fno-exceptions -fno-check-new -fno-common -MT Murrine.lo -MD -MP -MF ".deps/Murrine.Tpo" -c -o Murrine.lo Murrine.cpp; \ then mv -f ".deps/Murrine.Tpo" ".deps/Murrine.Plo"; else rm -f ".deps/Murrine.Tpo"; exit 1; fi In file included from Murrine.cpp:43: Murrine.h:49:25: error: kdecoration.h: No such file or directory Murrine.h:50:32: error: kdecorationfactory.h: No such file or directory Murrine.h:130: warning: non-local variable 'Murrine::<anonymous struct> Murrine::Settings_Param' uses anonymous type Murrine.h:141: error: expected class-name before '{' token Murrine.h:146: error: 'BorderSize' was not declared in this scope Murrine.h:146: error: template argument 1 is invalid Murrine.h:148: error: ISO C++ forbids declaration of 'KDecoration' with no type Murrine.h:148: error: 'KDecoration' declared as a 'virtual' field Murrine.h:148: error: expected ';' before '*' token Murrine.h:141: warning: 'class Murrine::MurrineHandler' has virtual functions but non-virtual destructor Murrine.h:293: error: expected class-name before '{' token Murrine.h:298: error: expected `)' before '*' token Murrine.h:312: error: 'Position' does not name a type Murrine.h:293: warning: 'class Murrine::MurrineClient' has virtual functions but non-virtual destructor Murrine.h: In member function 'int Murrine::MurrineClient::width() const': Murrine.h:344: error: 'widget' was not declared in this scope Murrine.h: In member function 'int Murrine::MurrineClient::height() const': Murrine.h:348: error: 'widget' was not declared in this scope Murrine.h: In member function 'bool Murrine::MurrineClient::maximizedVertical() const': Murrine.h:352: error: 'maximizeMode' was not declared in this scope Murrine.h:352: error: 'MaximizeVertical' was not declared in this scope Murrine.moc: In static member function 'static QMetaObject* Murrine::MurrineClient::staticMetaObject()': Murrine.moc:54: error: 'KDecoration' has not been declared Murrine.moc: In member function 'virtual void* Murrine::MurrineClient::qt_cast(const char*)': Murrine.moc:78: error: 'KDecoration' has not been declared Murrine.moc: In member function 'virtual bool Murrine::MurrineClient::qt_invoke(int, QUObject*)': Murrine.moc:87: error: 'KDecoration' has not been declared Murrine.moc: In member function 'virtual bool Murrine::MurrineClient::qt_emit(int, QUObject*)': Murrine.moc:94: error: 'KDecoration' has not been declared Murrine.moc: In member function 'virtual bool Murrine::MurrineClient::qt_property(int, int, QVariant*)': Murrine.moc:100: error: 'KDecoration' has not been declared Murrine.cpp: In member function 'void Murrine::MurrineHandler::createPixmaps(bool)': Murrine.cpp:97: error: 'options' was not declared in this scope Murrine.cpp:98: error: 'BorderLarge' was not declared in this scope Murrine.cpp:102: error: 'BorderVeryLarge' was not declared in this scope Murrine.cpp:106: error: 'BorderTiny' was not declared in this scope Murrine.cpp:107: error: 'BorderNormal' was not declared in this scope Murrine.cpp:113: error: 'options' was not declared in this scope Murrine.cpp:121: error: 'KDecoration' has not been declared Murrine.cpp:121: error: 'ColorTitleBar' was not declared in this scope Murrine.cpp:122: error: 'KDecoration' has not been declared Murrine.cpp:122: error: 'ColorTitleBlend' was not declared in this scope Murrine.cpp:149: error: 'KDecoration' has not been declared Murrine.cpp:150: error: 'KDecoration' has not been declared Murrine.cpp: In member function 'QPixmap* Murrine::MurrineHandler::loadPixmap(const QString&, bool)': Murrine.cpp:603: error: 'KDecoration' has not been declared Murrine.cpp:603: error: 'ColorTitleBar' was not declared in this scope Murrine.cpp:604: error: 'KDecoration' has not been declared Murrine.cpp:604: error: 'ColorTitleBlend' was not declared in this scope Murrine.cpp:605: error: 'KDecoration' has not been declared Murrine.cpp:606: error: 'KDecoration' has not been declared Murrine.cpp:604: warning: unused variable 'activeBlendColor' Murrine.cpp:606: warning: unused variable 'inactiveBlendColor' Murrine.cpp: In member function 'virtual bool Murrine::MurrineHandler::reset(long unsigned int)': Murrine.cpp:631: error: 'SettingBorder' was not declared in this scope Murrine.cpp:635: error: 'SettingFont' was not declared in this scope Murrine.cpp:640: error: 'SettingColors' was not declared in this scope Murrine.cpp:645: error: 'SettingButtons' was not declared in this scope Murrine.cpp:649: error: 'SettingTooltips' was not declared in this scope Murrine.cpp:669: error: 'resetDecorations' was not declared in this scope Murrine.cpp: At global scope: Murrine.cpp:741: error: expected constructor, destructor, or type conversion before '*' token Murrine.cpp:746: error: 'BorderSize' is not a member of 'Murrine::MurrineHandler' Murrine.cpp:746: error: 'BorderSize' is not a member of 'Murrine::MurrineHandler' Murrine.cpp:746: error: template argument 1 is invalid Murrine.cpp: In member function 'virtual int Murrine::MurrineHandler::borderSizes() const': Murrine.cpp:749: error: 'BorderSize' was not declared in this scope Murrine.cpp:749: error: template argument 1 is invalid Murrine.cpp:749: error: 'BorderNormal' was not declared in this scope Murrine.cpp:749: error: 'BorderLarge' was not declared in this scope Murrine.cpp:749: error: 'BorderVeryLarge' was not declared in this scope Murrine.cpp: In constructor 'Murrine::MurrineButton::MurrineButton(Murrine::MurrineClient*, const char*, Murrine::Button, const QString&, bool, int)': Murrine.cpp:753: error: 'class Murrine::MurrineClient' has no member named 'widget' Murrine.cpp:768: error: 'class Murrine::MurrineClient' has no member named 'isActive' Murrine.cpp:769: error: 'class Murrine::MurrineClient' has no member named 'isActive' Murrine.cpp: At global scope: Murrine.cpp:753: warning: unused parameter 'bttstate' Murrine.cpp: In member function 'virtual void Murrine::MurrineButton::drawButton(QPainter*)': Murrine.cpp:820: error: 'class Murrine::MurrineClient' has no member named 'isActive' Murrine.cpp:822: error: 'class Murrine::MurrineClient' has no member named 'isActive' Murrine.cpp:876: error: 'class Murrine::MurrineClient' has no member named 'isActive' Murrine.cpp:880: error: 'class Murrine::MurrineClient' has no member named 'isActive' Murrine.cpp:884: error: 'class Murrine::MurrineClient' has no member named 'maximizeMode' Murrine.cpp:885: error: 'MaximizeFull' is not a member of 'Murrine::MurrineClient' Murrine.cpp:888: error: 'class Murrine::MurrineClient' has no member named 'isActive' Murrine.cpp:892: error: 'class Murrine::MurrineClient' has no member named 'isActive' Murrine.cpp: At global scope: Murrine.cpp:999: error: expected `)' before '*' token Murrine.cpp: In member function 'virtual void Murrine::MurrineClient::init()': Murrine.cpp:1021: error: 'WStaticContents' was not declared in this scope Murrine.cpp:1021: error: 'WNoAutoErase' was not declared in this scope Murrine.cpp:1021: error: 'createMainWidget' was not declared in this scope Murrine.cpp:1022: error: 'widget' was not declared in this scope Murrine.cpp: In member function 'void Murrine::MurrineClient::createLayout()': Murrine.cpp:1049: error: 'widget' was not declared in this scope Murrine.cpp:1064: error: 'isActive' was not declared in this scope Murrine.cpp:1092: error: 'options' was not declared in this scope Murrine.cpp:1137: error: 'isPreview' was not declared in this scope Murrine.cpp: In member function 'virtual void Murrine::MurrineClient::reset(long unsigned int)': Murrine.cpp:1158: error: 'widget' was not declared in this scope Murrine.cpp: In member function 'void Murrine::MurrineClient::addButtons(QBoxLayout*, const QString&)': Murrine.cpp:1203: error: 'LeftButton' was not declared in this scope Murrine.cpp:1203: error: 'MidButton' was not declared in this scope Murrine.cpp:1203: error: 'RightButton' was not declared in this scope Murrine.cpp:1209: error: 'isMinimizable' was not declared in this scope Murrine.cpp:1213: error: 'connect' was not declared in this scope Murrine.cpp:1228: error: 'isMaximizable' was not declared in this scope Murrine.cpp:1232: error: 'connect' was not declared in this scope Murrine.cpp:1247: error: 'isCloseable' was not declared in this scope Murrine.cpp:1251: error: 'connect' was not declared in this scope Murrine.cpp: In member function 'void Murrine::MurrineClient::updateMask()': Murrine.cpp:1346: error: 'setMask' was not declared in this scope Murrine.cpp: In member function 'virtual void Murrine::MurrineClient::captionChange()': Murrine.cpp:1354: error: 'widget' was not declared in this scope Murrine.cpp:1354: error: 'isActive' was not declared in this scope Murrine.cpp: In member function 'void Murrine::MurrineClient::iconChange()': Murrine.cpp:1400: error: 'widget' was not declared in this scope Murrine.cpp:1400: error: 'isActive' was not declared in this scope Murrine.cpp: In member function 'void Murrine::MurrineClient::drawAppIcon(QPainter&)': Murrine.cpp:1414: error: 'isActive' was not declared in this scope Murrine.cpp:1416: error: 'class Murrine::MurrineClient' has no member named 'icon' Murrine.cpp:1416: error: incomplete type 'QIconSet' used in nested name specifier Murrine.cpp:1416: error: incomplete type 'QIconSet' used in nested name specifier Murrine.cpp:1420: error: 'class Murrine::MurrineClient' has no member named 'icon' Murrine.cpp:1420: error: incomplete type 'QIconSet' used in nested name specifier Murrine.cpp:1420: error: incomplete type 'QIconSet' used in nested name specifier Murrine.cpp:1455: error: 'isActive' was not declared in this scope Murrine.cpp: In member function 'void Murrine::MurrineClient::drawCaptionText(QPainter&)': Murrine.cpp:1471: error: 'class Murrine::MurrineHandler' has no member named 'options' Murrine.cpp:1471: error: 'isActive' was not declared in this scope Murrine.cpp:1475: error: 'AlignLeft' was not declared in this scope Murrine.cpp:1475: error: 'AlignVCenter' was not declared in this scope Murrine.cpp:1475: error: 'SingleLine' was not declared in this scope Murrine.cpp:1478: error: 'AlignCenter' was not declared in this scope Murrine.cpp:1481: error: 'AlignRight' was not declared in this scope Murrine.cpp:1505: error: 'caption' was not declared in this scope Murrine.cpp:1521: error: 'options' was not declared in this scope Murrine.cpp:1521: error: 'ColorFont' was not declared in this scope Murrine.cpp:1526: error: 'caption' was not declared in this scope Murrine.cpp: In member function 'void Murrine::MurrineClient::drawTitlebar(QPainter&, QRect&)': Murrine.cpp:1540: error: 'isActive' was not declared in this scope Murrine.cpp:1569: error: 'isActive' was not declared in this scope Murrine.cpp: In member function 'void Murrine::MurrineClient::drawFrame(QPainter&, QRect&, QPaintEvent*)': Murrine.cpp:1603: error: 'isActive' was not declared in this scope Murrine.cpp: In member function 'int Murrine::MurrineClient::BttWidthOnLeft()': Murrine.cpp:1694: error: 'options' was not declared in this scope Murrine.cpp:1735: error: 'isMinimizable' was not declared in this scope Murrine.cpp:1737: error: 'isActive' was not declared in this scope Murrine.cpp:1739: error: 'isMaximizable' was not declared in this scope Murrine.cpp:1741: error: 'isActive' was not declared in this scope Murrine.cpp:1743: error: 'isCloseable' was not declared in this scope Murrine.cpp:1745: error: 'isActive' was not declared in this scope Murrine.cpp:1748: error: 'providesContextHelp' was not declared in this scope Murrine.cpp:1750: error: 'isActive' was not declared in this scope Murrine.cpp:1774: error: 'isActive' was not declared in this scope Murrine.cpp: In member function 'int Murrine::MurrineClient::BttWidthOnRight()': Murrine.cpp:1782: error: 'options' was not declared in this scope Murrine.cpp:1823: error: 'isMinimizable' was not declared in this scope Murrine.cpp:1825: error: 'isActive' was not declared in this scope Murrine.cpp:1828: error: 'isMaximizable' was not declared in this scope Murrine.cpp:1830: error: 'isActive' was not declared in this scope Murrine.cpp:1833: error: 'isCloseable' was not declared in this scope Murrine.cpp:1835: error: 'isActive' was not declared in this scope Murrine.cpp:1838: error: 'providesContextHelp' was not declared in this scope Murrine.cpp:1840: error: 'isActive' was not declared in this scope Murrine.cpp:1870: error: 'isActive' was not declared in this scope Murrine.cpp: In member function 'virtual void Murrine::MurrineClient::activeChange()': Murrine.cpp:1883: error: 'widget' was not declared in this scope Murrine.cpp: In member function 'virtual void Murrine::MurrineClient::maximizeChange()': Murrine.cpp:1901: error: 'maximizeMode' was not declared in this scope Murrine.cpp:1901: error: 'MaximizeFull' was not declared in this scope Murrine.cpp:1904: error: 'widget' was not declared in this scope Murrine.cpp: In member function 'void Murrine::MurrineClient::slotMaximize()': Murrine.cpp:1937: error: 'MidButton' was not declared in this scope Murrine.cpp:1938: error: 'maximizeMode' was not declared in this scope Murrine.cpp:1938: error: 'MaximizeVertical' was not declared in this scope Murrine.cpp:1938: error: 'maximize' was not declared in this scope Murrine.cpp:1941: error: 'RightButton' was not declared in this scope Murrine.cpp:1942: error: 'MaximizeHorizontal' was not declared in this scope Murrine.cpp:1945: error: 'LeftButton' was not declared in this scope Murrine.cpp:1946: error: 'MaximizeFull' was not declared in this scope Murrine.cpp:1946: error: 'MaximizeRestore' was not declared in this scope Murrine.cpp: In member function 'void Murrine::MurrineClient::paintEvent(QPaintEvent*)': Murrine.cpp:1985: error: 'widget' was not declared in this scope Murrine.cpp: In member function 'void Murrine::MurrineClient::resizeEvent(QResizeEvent*)': Murrine.cpp:2004: error: 'widget' was not declared in this scope Murrine.cpp:2029: error: no matching function for call to 'QApplication::postEvent(Murrine::MurrineClient* const, QPaintEvent*)' /usr/share/qt3/include/qapplication.h:154: note: candidates are: static void QApplication::postEvent(QObject*, QEvent*) Murrine.cpp: In member function 'void Murrine::MurrineClient::mouseDoubleClickEvent(QMouseEvent*)': Murrine.cpp:2037: error: 'titlebarDblClickOperation' was not declared in this scope Murrine.cpp: In member function 'void Murrine::MurrineClient::wheelEvent(QWheelEvent*)': Murrine.cpp:2042: error: 'titlebarMouseWheelOperation' was not declared in this scope Murrine.cpp: At global scope: Murrine.cpp:2045: error: 'Position' in class 'Murrine::MurrineClient' does not name a type Murrine.cpp: In member function 'virtual void Murrine::MurrineClient::resize(const QSize&)': Murrine.cpp:2122: error: 'widget' was not declared in this scope Murrine.cpp: In member function 'virtual void Murrine::MurrineClient::borders(int&, int&, int&, int&) const': Murrine.cpp:2130: error: 'isActive' was not declared in this scope Murrine.cpp:2138: error: 'maximizeMode' was not declared in this scope Murrine.cpp:2138: error: 'MaximizeHorizontal' was not declared in this scope Murrine.cpp:2138: error: 'options' was not declared in this scope Murrine.cpp:2140: error: 'maximizeMode' was not declared in this scope Murrine.cpp:2140: error: 'MaximizeVertical' was not declared in this scope Murrine.cpp:2142: error: 'options' was not declared in this scope Murrine.cpp: In member function 'virtual QSize Murrine::MurrineClient::minimumSize() const': Murrine.cpp:2149: error: 'widget' was not declared in this scope Murrine.cpp: In member function 'virtual bool Murrine::MurrineClient::eventFilter(QObject*, QEvent*)': Murrine.cpp:2154: error: 'widget' was not declared in this scope Murrine.cpp:2175: error: 'processMousePressEvent' was not declared in this scope Murrine.cpp: At global scope: Murrine.cpp:2186: error: expected constructor, destructor, or type conversion before '*' token make[3]: *** [Murrine.lo] Błąd 1 make[3]: Opuszczenie katalogu `/home/gmatlawski/Murrine-0.1/kwin' make[2]: *** [all-recursive] Błąd 1 make[2]: Opuszczenie katalogu `/home/gmatlawski/Murrine-0.1/kwin' make[1]: *** [all-recursive] Błąd 1 make[1]: Opuszczenie katalogu `/home/gmatlawski/Murrine-0.1' make: *** [all] Błąd 2
No i nie wiem w czym problem. Może w nowszym GCC? Moja wersja gcc to obecnie
gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
Lorenzo - 01-05-2007 18:44
Wygląda na to że brakuje mu (lub ma źle podaną ścieżkę) do plików nagłówkowych:lkdecoration.h kdecorationfactory.hl
Sprawdź czy masz je w systemie, czy deklaracja w źródle jest dobra (może ścieżka jest zła?). Ewentualnie apt-file'm sprawdź która paczka za niego odpowiada.
P.S. gcc nie ma tu nic do tego - to źródła C++.
Rad - 01-05-2007 19:03
http://packages.debian.org/cgi-bin/s...able&arch=i386 http://packages.debian.org/cgi-bin/s...able&arch=i386
grzesiek311 - 01-05-2007 19:28
Ok, dzięki za odpowiedź. Wszystko sprawdzę ale niestety najszybciej w poniedziałek bo mnie od mojego Debianka odseparowano dzisiaj hehe :evil:
[ Dodano: 2007-05-07, 14:26 ] Ok, problem rozwiązany. Brakowało pakietu:
kdebase-dev
Dzięki za pomoc
zanotowane.pldoc.pisz.plpdf.pisz.plminister.pev.pl
|