pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/43988



The following reply was made to PR pkg/43988; it has been noted by GNATS.

From: "John D. Baker" <jdbaker%mylinuxisp.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/43988
Date: Sat, 23 Oct 2010 01:41:30 -0500 (CDT)

 On Fri, 22 Oct 2010, John D. Baker wrote:
 
 > /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: multiple definitions of 
 > symbol QSettingsPrivate::create(QSettings::Format, QSettings::Scope, QString 
 > const&, QString const&)
 > qsettings.o definition of QSettingsPrivate::create(QSettings::Format, 
 > QSettings::Scope, QString const&, QString const&)in section (__TEXT,__text)
 > qsettings_mac.o definition of QSettingsPrivate::create(QSettings::Format, 
 > QSettings::Scope, QString const&, QString const&)in section (__TEXT,__text)
 > collect2: ld returned 1 exit status
 
 More fallout from removal of Q_OS_MAC definition.  In
 
    
$WRKOBJDIR/x11/qt4-libs/work/qt-everywhere-opensource-src-4.6.3/src/corelib/io/qsettings.cpp
 
 [...]
 // see also qsettings_win.cpp and qsettings_mac.cpp
 
 #if !defined(Q_OS_WIN) && !defined(Q_OS_MAC)
 [...]
 
 causes the method above to be defined in qsettings.cpp as well as
 qsettings_mac.cpp.
 
 Changing the line to:
 
 #if !defined(Q_OS_WIN) && !defined(Q_OS_MAC) && !defined(__APPLE__)
 
 finally lets qt4 qmake build and link.
 
 Now to see what fireworks building the actual libraries will cause...
 
 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645
 


Home | Main Index | Thread Index | Old Index