Bug 210379 - KDE_EXPORT definition wrong
Summary: KDE_EXPORT definition wrong
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kdelibs (Show other bugs)
(Show other bugs)
Version: 4.0
Hardware: All Linux
Target Milestone: ---
: ---
Assignee: Ngo Than
QA Contact:
URL: http://websvn.kde.org/branches/KDE_3_...
Depends On:
TreeView+ depends on / blocked
Reported: 2006-10-11 19:18 UTC by Matt Seitz
Modified: 2012-06-20 13:22 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-06-20 13:22:20 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Matt Seitz 2006-10-11 19:18:30 UTC
Description of problem:

/usr/include/kde/kdemacros.h contains an incorrect definition for KDE_EXPORT. 
This prevents building the current release of Kopete.

Version-Release number of selected component (if applicable): 

How reproducible:  always

Steps to Reproduce:
1.  Download the source for Kopete 0.12.2
2.  Run ./configure and make
Actual results:

make aborts with the following error:

make[3]: Entering directory `/opt/seitz/kopete/build/kopete/protocols/msn'
if /bin/sh ../../../libtool --silent --tag=CXX --mode=compile g++
-DHAVE_CONFIG_H -I. -I../../../../kopete-0.12.2/kopete/protocols/msn -I../../..
 -Iui -I../../../../kopete-0.12.2/kopete/protocols/msn/webcam
-I../../../../kopete-0.12.2/kopete/libkopete -I../../../kopete/libkopete
-I../../../../kopete-0.12.2/kopete/libkopete/ui -I../../../kopete/libkopete/ui
-I../../../../kopete-0.12.2/kopete/libkopete/compat -I/usr/include/kde
-I/usr/lib/qt-3.3/include -I/usr/X11R6/include  -DQT_THREAD_SUPPORT 
-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 -Wformat-security -Wmissing-format-attribute
-Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
-DQT_NO_TRANSLATION  -MT dummy.lo -MD -MP -MF ".deps/dummy.Tpo" -c -o dummy.lo
dummy.cpp; \
then mv -f ".deps/dummy.Tpo" ".deps/dummy.Plo"; else rm -f ".deps/dummy.Tpo";
exit 1; fi
dummy.cpp:2: error: visibility arg must be one of "default", "hidden",
"protected" or "internal"
dummy.cpp:3: error: visibility arg must be one of "default", "hidden",
"protected" or "internal"

Expected results:

make should complete successfully

Additional info:

This was fixed in KDE 3.3.2.  This is a one line fix.  Change
/usr/include/kde/kdemacros.h, line 39 from:

#define KDE_EXPORT __attribute__ ((visibility("visible")))


#define KDE_EXPORT __attribute__ ((visibility("default")))

Comment 1 Jiri Pallich 2012-06-20 13:22:20 UTC
Thank you for submitting this issue for consideration in Red Hat Enterprise Linux. The release for which you requested us to review is now End of Life. 
Please See https://access.redhat.com/support/policy/updates/errata/

If you would like Red Hat to re-consider your feature request for an active release, please re-open the request via appropriate support channels and provide additional supporting details about the importance of this issue.

Note You need to log in before you can comment on or make changes to this bug.