Bug 215665 - kdebase-4.3.3 build fails at apps/konqueror/kttsplugin/khtmlkttsd.cpp
Summary: kdebase-4.3.3 build fails at apps/konqueror/kttsplugin/khtmlkttsd.cpp
Status: RESOLVED WORKSFORME
Alias: None
Product: kwebkitpart
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: webkit-devel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-22 14:09 UTC by Juuso Alasuutari
Modified: 2009-12-04 22:00 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
CMake build cache (52.54 KB, text/plain)
2009-11-22 14:10 UTC, Juuso Alasuutari
Details
CMake build output (48.49 KB, text/plain)
2009-11-22 14:11 UTC, Juuso Alasuutari
Details
CMake build errors (18.96 KB, text/plain)
2009-11-22 14:11 UTC, Juuso Alasuutari
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juuso Alasuutari 2009-11-22 14:09:03 UTC
Version:            (using KDE 4.3.3)
Compiler:          GCC 4.3.3 
OS:                Linux
Installed from:    Compiled From Sources

I am getting this build failure trying to compile the kdebase-4.3.3 package for Linux.

[ 59%] Building CXX object apps/konqueror/kttsplugin/CMakeFiles/khtmlkttsdplugin.dir/khtmlkttsd.o
/usr/src/kdebase-4.3.3/apps/konqueror/kttsplugin/khtmlkttsd.cpp: In member function 'void KHTMLPluginKTTSD::slotReadOut()':
/usr/src/kdebase-4.3.3/apps/konqueror/kttsplugin/khtmlkttsd.cpp:123: error: invalid use of incomplete type 'struct WebView'
/opt/kde4/include/webkitkde/webkitpart.h:31: error: forward declaration of 'struct WebView'
/usr/src/kdebase-4.3.3/apps/konqueror/kttsplugin/khtmlkttsd.cpp:139: error: invalid use of incomplete type 'struct WebView'
/opt/kde4/include/webkitkde/webkitpart.h:31: error: forward declaration of 'struct WebView'
/usr/src/kdebase-4.3.3/apps/konqueror/kttsplugin/khtmlkttsd.cpp:141: error: invalid use of incomplete type 'struct WebView'
/opt/kde4/include/webkitkde/webkitpart.h:31: error: forward declaration of 'struct WebView'
make[2]: *** [apps/konqueror/kttsplugin/CMakeFiles/khtmlkttsdplugin.dir/khtmlkttsd.o] Error 1
make[1]: *** [apps/konqueror/kttsplugin/CMakeFiles/khtmlkttsdplugin.dir/all] Error 2
make: *** [all] Error 2

Other possibly useful information:

- Intel Core 2 Duo workstation
- Linux 2.6.30.9, 32-bit installation
- Glibc 2.11
- Qt 4.5.3
- GCC 4.3.3
- Kdebase build flags: -march=nocona -m32 -pipe -O3 -pipe -fomit-frame-pointer

After submitting I'll add CMakeCache.txt, CMakeOutput.log, and CMakeError.log from the failed build dir.
Comment 1 Juuso Alasuutari 2009-11-22 14:10:16 UTC
Created attachment 38484 [details]
CMake build cache
Comment 2 Juuso Alasuutari 2009-11-22 14:11:08 UTC
Created attachment 38485 [details]
CMake build output
Comment 3 Juuso Alasuutari 2009-11-22 14:11:48 UTC
Created attachment 38486 [details]
CMake build errors
Comment 4 Dawit Alemayehu 2009-11-23 01:50:10 UTC
You only get this compile error if you are compiling 4.3.2 and not 4.3.3. Does your file that failes to compile (khtmlkttsd.cpp) look like the first or second link below ?

http://websvn.kde.org/tags/KDE/4.3.3/kdebase/apps/konqueror/kttsplugin/khtmlkttsd.cpp?revision=1042584&view=markup

http://websvn.kde.org/tags/KDE/4.3.2/kdebase/apps/konqueror/kttsplugin/khtmlkttsd.cpp?revision=1042584&view=markup
Comment 5 Dawit Alemayehu 2009-12-04 22:00:11 UTC
Unable to duplicate...