Bug 210379 - KDE_EXPORT definition wrong
KDE_EXPORT definition wrong
Status: CLOSED WONTFIX
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: kdelibs (Show other bugs)
4.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Ngo Than
http://websvn.kde.org/branches/KDE_3_...
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-10-11 15:18 EDT by Matt Seitz
Modified: 2012-06-20 09:22 EDT (History)
0 users

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


Attachments (Terms of Use)

  None (edit)
Description Matt Seitz 2006-10-11 15:18:30 EDT
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): 
kdelibs-devel-3.3.1-3.14


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/protocols/msn/ui
-I../../../../kopete-0.12.2/kopete/libkopete -I../../../kopete/libkopete
-I../../../../kopete-0.12.2/kopete/libkopete/avdevice
-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_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
-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")))

to:

#define KDE_EXPORT __attribute__ ((visibility("default")))
Comment 1 Jiri Pallich 2012-06-20 09:22:20 EDT
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.