You are not logged in.

marco

Beginner

  • "marco" started this thread

Posts: 1

Location: italy

  • Send private message

1

Saturday, December 24th 2005, 8:03am

error compiling KDE 3.5

I'm trying to compile KDE 3.5 (Konstruct) on Mandriva 10.1.
I get the following error.
Anyone can help me?

Thanks a lot
Marco

************************************************************************
Making all in avdevice
make[6]: Entering directory `/home/marco/software/konstruct/kde/kdenetwork/work/kdenetwork-3.5.0/kopete/libkopete/avdevice'
if /bin/sh ../../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/root/kde3.5/include -I/usr/X11R6/include -I/usr/kerberos/include -DKDE_NO_COMPAT -DQT_NO_COMPAT -DQT_NO_CAST_ASCII -DQT_NO_ASCII_CAST -I../../../kopete/libkopete -I../../../kopete/libkopete -I../../../kopete/libkopete/avdevice -I../../../kopete/libkopete/ui -I../../../kopete/libkopete/ui -I../../../kopete/libkopete/private -I../../../kopete/libkopete/ui -I/root/kde3.5/include -I/usr/X11R6/include -I/usr/kerberos/include -DQT_THREAD_SUPPORT -I/root/kde3.5/include -I/usr/X11R6/include -I/root/kde3.5/include -I/usr/X11R6/include -D_REENTRANT -D_FILE_OFFSET_BITS=64 -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -I/root/kde3.5/include -I/usr/X11R6/include -L/root/kde3.5/lib -L/usr/X11R6/lib -O2 -pipe -I/root/kde3.5/include -I/usr/X11R6/include -L/root/kde3.5/lib -L/usr/X11R6/lib -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -MT libkopete_videodevice_la.all_cpp.lo -MD -MP -MF ".deps/libkopete_videodevice_la.all_cpp.Tpo" -c -o libkopete_videodevice_la.all_cpp.lo libkopete_videodevice_la.all_cpp.cpp; \
then mv -f ".deps/libkopete_videodevice_la.all_cpp.Tpo" ".deps/libkopete_videodevice_la.all_cpp.Plo"; else rm -f ".deps/libkopete_videodevice_la.all_cpp.Tpo"; exit 1; fi
In file included from libkopete_videodevice_la.all_cpp.cpp:2:
videodevice.cpp: In member function `int Kopete::AV::VideoDevice::startCapturing()':
videodevice.cpp:821: error: aggregate `Kopete::AV::v4l2_buffer buf' has incomplete type and cannot be defined
videodevice.cpp:826: error: invalid application of `sizeof' to incomplete type `Kopete::AV::v4l2_buffer'
videodevice.cpp:826: error: invalid application of `sizeof' to incomplete type `Kopete::AV::v4l2_buffer[1]'
videodevice.cpp:826: error: invalid application of `sizeof' to incomplete type `Kopete::AV::v4l2_buffer'
videodevice.cpp:826: error: invalid application of `sizeof' to incomplete type `Kopete::AV::v4l2_buffer'
videodevice.cpp:843: error: aggregate `Kopete::AV::v4l2_buffer buf' has incomplete type and cannot be defined
videodevice.cpp:849: error: invalid application of `sizeof' to incomplete type `Kopete::AV::v4l2_buffer'
videodevice.cpp:849: error: invalid application of `sizeof' to incomplete type `Kopete::AV::v4l2_buffer[1]'
videodevice.cpp:849: error: invalid application of `sizeof' to incomplete type `Kopete::AV::v4l2_buffer'
videodevice.cpp:849: error: invalid application of `sizeof' to incomplete type `Kopete::AV::v4l2_buffer'
videodevice.cpp: In member function `int Kopete::AV::VideoDevice::getFrame()':
videodevice.cpp:877: error: aggregate `Kopete::AV::v4l2_buffer v4l2buffer' has incomplete type and cannot be defined
videodevice.cpp:914: error: invalid application of `sizeof' to incomplete type `Kopete::AV::v4l2_buffer'
videodevice.cpp:914: error: invalid application of `sizeof' to incomplete type `Kopete::AV::v4l2_buffer[1]'
videodevice.cpp:914: error: invalid application of `sizeof' to incomplete type `Kopete::AV::v4l2_buffer'
videodevice.cpp:914: error: invalid application of `sizeof' to incomplete type `Kopete::AV::v4l2_buffer'
videodevice.cpp:963: error: invalid application of `sizeof' to incomplete type `Kopete::AV::v4l2_buffer'
videodevice.cpp:963: error: invalid application of `sizeof' to incomplete type `Kopete::AV::v4l2_buffer[1]'
videodevice.cpp:963: error: invalid application of `sizeof' to incomplete type `Kopete::AV::v4l2_buffer'
videodevice.cpp:963: error: invalid application of `sizeof' to incomplete type `Kopete::AV::v4l2_buffer'
videodevice.cpp:976: error: invalid application of `sizeof' to incomplete type `Kopete::AV::v4l2_buffer'
videodevice.cpp:976: error: invalid application of `sizeof' to incomplete type `Kopete::AV::v4l2_buffer[1]'
videodevice.cpp:976: error: invalid application of `sizeof' to incomplete type `Kopete::AV::v4l2_buffer'
videodevice.cpp:976: error: invalid application of `sizeof' to incomplete type `Kopete::AV::v4l2_buffer'
videodevice.cpp:992: error: invalid application of `sizeof' to incomplete type `Kopete::AV::v4l2_buffer'
videodevice.cpp:992: error: invalid application of `sizeof' to incomplete type `Kopete::AV::v4l2_buffer[1]'
videodevice.cpp:992: error: invalid application of `sizeof' to incomplete type `Kopete::AV::v4l2_buffer'
videodevice.cpp:992: error: invalid application of `sizeof' to incomplete type `Kopete::AV::v4l2_buffer'
videodevice.cpp: In member function `int Kopete::AV::VideoDevice::initMmap()':
videodevice.cpp:1655: error: aggregate `Kopete::AV::v4l2_buffer v4l2buffer' has incomplete type and cannot be defined
videodevice.cpp:1663: error: invalid application of `sizeof' to incomplete type `Kopete::AV::v4l2_buffer'
videodevice.cpp:1663: error: invalid application of `sizeof' to incomplete type `Kopete::AV::v4l2_buffer[1]'
videodevice.cpp:1663: error: invalid application of `sizeof' to incomplete type `Kopete::AV::v4l2_buffer'
videodevice.cpp:1663: error: invalid application of `sizeof' to incomplete type `Kopete::AV::v4l2_buffer'
videodevicepool.cpp: In member function `int Kopete::AV::VideoDevicePool::getImage(QImage*)':
videodevicepool.cpp:282: warning: enumeration value `PIXELFORMAT_YUYV' not handled in switch
videodevicepool.cpp:282: warning: enumeration value `PIXELFORMAT_UYVY' not handled in switch
videodevicepool.cpp:282: warning: enumeration value `PIXELFORMAT_YUV420P' not handled in switch
videodevicepool.cpp:282: warning: enumeration value `PIXELFORMAT_YUV422P' not handled in switch
make[6]: *** [libkopete_videodevice_la.all_cpp.lo] Error 1
make[6]: Leaving directory `/home/marco/software/konstruct/kde/kdenetwork/work/kdenetwork-3.5.0/kopete/libkopete/avdevice'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/marco/software/konstruct/kde/kdenetwork/work/kdenetwork-3.5.0/kopete/libkopete'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/marco/software/konstruct/kde/kdenetwork/work/kdenetwork-3.5.0/kopete'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/marco/software/konstruct/kde/kdenetwork/work/kdenetwork-3.5.0'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/marco/software/konstruct/kde/kdenetwork/work/kdenetwork-3.5.0'
make[1]: *** [build-work/kdenetwork-3.5.0/Makefile] Error 2
make[1]: Leaving directory `/home/marco/software/konstruct/kde/kdenetwork'
make: *** [dep-../../kde/kdenetwork] Error 2

2

Wednesday, January 11th 2006, 2:36pm

RE: error compiling KDE 3.5

I have exactly the same problem !
Does anybody know the reason for this ?

Thanks for your reply

Daniel

FilE

Beginner

Posts: 1

Location: /root

  • Send private message

3

Friday, January 13th 2006, 11:22pm

RE: error compiling KDE 3.5

Ok, it doesn't solve the problem but allows to compile KDE. I patched the Makefile ([konstruct]/kde/kdenetwork/work/kdenetwork-3.5.0/Makefile), so it compiles WITHOUT Kopete.

it is attached (replace [konstruct]/kde/kdenetwork/work/kdenetwork-3.5.0/Makefile with this one as soon as the error appears)
greetsFilE
FilE has attached the following file:
  • Makefil. (36.24 kB - 92 times downloaded - latest: Jun 14th 2008, 8:15am)

CrazyFluger

Beginner

Posts: 4

Location: Russian Federation

Occupation: WEB-developer

  • Send private message

4

Tuesday, January 17th 2006, 7:41am

error compiling KDE 3.5 kspell2

I'm trying to compile KDE 3.5 (Konstruct) on Debian Sarge.
I get the following error.
Anyone can help me?

Making all in hspell
make[6]: Entering directory `/home/crazyfluger/builds/konstruct/kde/kdelibs/work/kdelibs-3.5.0/kspell2/plugins/hspell'
/bin/sh ../../../libtool --silent --tag=CXX --mode=link g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -O2 -I/home/crazyfluger/kde3.5/include -I/usr/X11R6/include -L/home/crazyfluger/kde3.5/lib -L/usr/X11R6/lib -O2 -pipe -I/home/crazyfluger/kde3.5/include -I/usr/X11R6/include -L/home/crazyfluger/kde3.5/lib -L/usr/X11R6/lib -O2 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -L/home/crazyfluger/kde3.5/lib -L/usr/X11R6/lib -L/home/crazyfluger/kde3.5/lib -L/usr/X11R6/lib -o kspell_hspell.la -rpath /home/crazyfluger/kde3.5/lib/kde3 -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /home/crazyfluger/kde3.5/lib -R /home/crazyfluger/kde3.5/lib -R /home/crazyfluger/kde3.5/lib -R /usr/X11R6/lib kspell_hspell_la.all_cpp.lo ../../ui/libkspell2.la -lhspell -lz
libtool: link: warning: `/usr/X11R6/lib/libXrender.la' seems to be moved
libtool: link: warning: `/usr/X11R6/lib/libXrender.la' seems to be moved
libtool: link: warning: `/usr/X11R6/lib/libXrender.la' seems to be moved
libtool: link: warning: `/usr/X11R6/lib/libXrender.la' seems to be moved
libtool: link: warning: `/usr/X11R6/lib/libXrender.la' seems to be moved
libtool: link: warning: `/usr/X11R6/lib/libXrender.la' seems to be moved
libtool: link: warning: `/usr/X11R6/lib/libXrender.la' seems to be moved
libtool: link: warning: `/usr/X11R6/lib/libXrender.la' seems to be moved
libtool: link: warning: `/usr/X11R6/lib/libXrender.la' seems to be moved
libtool: link: warning: `/usr/X11R6/lib/libXrender.la' seems to be moved
.libs/kspell_hspell_la.all_cpp.o: In function `HSpellDict::HSpellDict[not-in-charge](QString const&)':kspell_hspell_la.all_cpp.cpp:(.text+0x566): undefined reference to `hspell_init(dict_radix**, int)'
.libs/kspell_hspell_la.all_cpp.o: In function `HSpellDict::HSpellDict[in-charge](QString const&)':kspell_hspell_la.all_cpp.cpp:(.text+0x6d6): undefined reference to `hspell_init(dict_radix**, int)'
.libs/kspell_hspell_la.all_cpp.o: In function `HSpellDict::~HSpellDict [not-in-charge]()':kspell_hspell_la.all_cpp.cpp:(.text+0x81c): undefined reference to `hspell_uninit(dict_radix*)'
.libs/kspell_hspell_la.all_cpp.o: In function `HSpellDict::~HSpellDict [in-charge]()':kspell_hspell_la.all_cpp.cpp:(.text+0x88c): undefined reference to `hspell_uninit(dict_radix*)'
.libs/kspell_hspell_la.all_cpp.o: In function `HSpellDict::~HSpellDict [in-charge deleting]()':kspell_hspell_la.all_cpp.cpp:(.text+0x8fc): undefined reference to `hspell_uninit(dict_radix*)'
.libs/kspell_hspell_la.all_cpp.o: In function `HSpellDict::check(QString const&)':kspell_hspell_la.all_cpp.cpp:(.text+0x9ed): undefined reference to `hspell_check_word(dict_radix*, char const*, int*)'
:kspell_hspell_la.all_cpp.cpp:(.text+0xa02): undefined reference to `hspell_is_canonic_gimatria(char const*)'
.libs/kspell_hspell_la.all_cpp.o: In function `HSpellDict::suggest(QString const&)':kspell_hspell_la.all_cpp.cpp:(.text+0xb91): undefined reference to `corlist_init(corlist*)'
:kspell_hspell_la.all_cpp.cpp:(.text+0xbd8): undefined reference to `hspell_trycorrect(dict_radix*, char const*, corlist*)'
:kspell_hspell_la.all_cpp.cpp:(.text+0xcd2): undefined reference to `corlist_free(corlist*)'
collect2: ld returned 1 exit status
make[6]: *** [kspell_hspell.la] Error 1
make[6]: Leaving directory `/home/crazyfluger/builds/konstruct/kde/kdelibs/work/kdelibs-3.5.0/kspell2/plugins/hspell'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/crazyfluger/builds/konstruct/kde/kdelibs/work/kdelibs-3.5.0/kspell2/plugins'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/crazyfluger/builds/konstruct/kde/kdelibs/work/kdelibs-3.5.0/kspell2'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/crazyfluger/builds/konstruct/kde/kdelibs/work/kdelibs-3.5.0'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/crazyfluger/builds/konstruct/kde/kdelibs/work/kdelibs-3.5.0'
make[1]: *** [build-work/kdelibs-3.5.0/Makefile] Error 2
make[1]: Leaving directory `/home/crazyfluger/builds/konstruct/kde/kdelibs'
make: *** [dep-../../kde/kdelibs] Error 2

CrazyFluger

Beginner

Posts: 4

Location: Russian Federation

Occupation: WEB-developer

  • Send private message

5

Wednesday, January 18th 2006, 1:05pm

I`m disalbe hspell (51663:hspell_test="no") in `kde/kdelibs/work/kdelibs-3.5.0/configure` and problem has done.

morleron

Beginner

Posts: 5

Location: Gobles, Michigan, USA

Occupation: retired former Unix/Linux sys admin

  • Send private message

6

Wednesday, April 4th 2007, 1:49pm

RE: error compiling KDE 3.5

Thank you very much for the Makefile. I have exactly the same error when trying to build KDE3.5.6 under Mandriva 2007. The new Makefile appears to be working fine and I'll try building Kopete by itself later.

Take care,
Ron

morleron

Beginner

Posts: 5

Location: Gobles, Michigan, USA

Occupation: retired former Unix/Linux sys admin

  • Send private message

7

Friday, April 6th 2007, 4:10pm

RE: error compiling KDE 3.5

Thanks for posting the Makefile, it worked liked a champ.

Take care,
Ron