Bug 48527 - compilation error with kdesdk-3.0.3
Summary: compilation error with kdesdk-3.0.3
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: kdevelop 2.x (obsolete) (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KDevelop-Devel List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-01 00:29 UTC by Rohan Beckles
Modified: 2002-10-01 10:07 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rohan Beckles 2002-10-01 00:29:21 UTC
Version:           3.0.3 (using KDE KDE 3.0.3)
Installed from:    Compiled From Sources
Compiler:          gcc 2.9.6 
OS:          Linux

when I try to compile kdesdk-3.0.3, I get this error:

Making all in kmtrace
make[2]: Entering directory `/usr/src/redhat/SOURCES/KDE/KDE3/kde-3.0.3/kdesdk-3.0.3/kmtrace'
source='ktrace.c' object='ktrace.o' libtool=no \
depfile='.deps/ktrace.Po' tmpdepfile='.deps/ktrace.TPo' \
depmode=gcc3 /bin/sh ../admin/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde-3.0.3/include -I/opt/qt/include -I/usr/X11R6/include  -DQT_NO_ASCII_CAST -UQT_NO_COMPAT -O3 -DQT_THREAD_SUPPORT  -D_REENTRANT  -O2   -c `test -f ktrace.c || echo './'`ktrace.c
In file included from /usr/include/stdio.h:65,
                 from ktrace.c:40:
/usr/include/libio.h:334: parse error before `attribute_hidden'
/usr/include/libio.h:334: warning: data definition has no type or storage class
/usr/include/libio.h:335: parse error before `attribute_hidden'
/usr/include/libio.h:335: warning: data definition has no type or storage class
/usr/include/libio.h:336: parse error before `attribute_hidden'
/usr/include/libio.h:336: warning: data definition has no type or storage class
make[2]: *** [ktrace.o] Error 1
make[2]: Leaving directory `/usr/src/redhat/SOURCES/KDE/KDE3/kde-3.0.3/kdesdk-3.0.3/kmtrace'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/SOURCES/KDE/KDE3/kde-3.0.3/kdesdk-3.0.3'
make: *** [all] Error 2
[root@odessa kdesdk-3.0.3]#
Comment 1 Stephan Kulow 2002-10-01 10:07:04 UTC
Subject: Re:  New: compilation error with kdesdk-3.0.3

Am Tuesday 01 October 2002 00:29 schrieb Rohan Beckles:
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug, or are watching someone who is.
>
> http://bugs.kde.org/show_bug.cgi?id=48527
>            Summary: compilation error with kdesdk-3.0.3
>            Product: kdevelop
>            Version: unspecified
>           Platform: Compiled Sources
>         OS/Version: Linux
>             Status: UNCONFIRMED
>           Severity: normal
>           Priority: NOR
>          Component: general
>         AssignedTo: kdevelop-devel@barney.cs.uni-potsdam.de
>         ReportedBy: rohan.beckles@metanix.com
>
>
> Version:           3.0.3 (using KDE KDE 3.0.3)
> Installed from:    Compiled From Sources
> Compiler:          gcc 2.9.6
> OS:          Linux
>
> when I try to compile kdesdk-3.0.3, I get this error:
>
> Making all in kmtrace
> make[2]: Entering directory
> `/usr/src/redhat/SOURCES/KDE/KDE3/kde-3.0.3/kdesdk-3.0.3/kmtrace'
> source='ktrace.c' object='ktrace.o' libtool=no \
> depfile='.deps/ktrace.Po' tmpdepfile='.deps/ktrace.TPo' \
> depmode=gcc3 /bin/sh ../admin/depcomp \
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde-3.0.3/include -I/opt/qt/include
> -I/usr/X11R6/include  -DQT_NO_ASCII_CAST -UQT_NO_COMPAT -O3
> -DQT_THREAD_SUPPORT  -D_REENTRANT  -O2   -c `test -f ktrace.c || echo
> './'`ktrace.c In file included from /usr/include/stdio.h:65,
>                  from ktrace.c:40:
> /usr/include/libio.h:334: parse error before `attribute_hidden'

The parse error is in your system headers! Your system looks pretty busted to 
me. 

Greetings, Stephan

Comment 2 Rohan Beckles 2002-10-01 15:08:58 UTC
Subject: Re:  compilation error with kdesdk-3.0.3

Stephen --

My system is bog standard RedHat 7.3, with a vanilla (straight from 
ftp.kernel.org) 2.4.18 kernel.  Would it be possible for you to point me in 
the right direction to fix the error?

Thank you and best regards,

	Rohan Beckles
	rohan.beckles@metanix.com

Comment 3 Stephan Kulow 2002-10-01 20:25:02 UTC
Subject: Re:  compilation error with kdesdk-3.0.3

On Dienstag, 1. Oktober 2002 15:08, Rohan Beckles wrote:
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug, or are watching someone who is.
>
> http://bugs.kde.org/show_bug.cgi?id=48527
>
>
>
>
> ------- Additional Comments From rohan.beckles@metanix.com  2002-10-01
> 15:08 ------- Subject: Re:  compilation error with kdesdk-3.0.3
>
> Stephen --
>
> My system is bog standard RedHat 7.3, with a vanilla (straight from
> ftp.kernel.org) 2.4.18 kernel.  Would it be possible for you to point me in
> the right direction to fix the error?
>
Not really. But libio is from the glibc and may require a different kernel
version.

Greetings, Stephan