-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 3/12/10 3:52 PM, Adam D. I. Kramer wrote: > ...I am unable to fink install synergy. There seems to be a lot of issues > regarding definitions of basic types...I note that there is a similar issue > noted at > http://lists.macosforge.org/pipermail/macports-tickets/2009-August/037026.html > ...perhaps this would be of help? > > --Adam > > Making all in platform > source='COSXClipboard.cpp' object='COSXClipboard.o' libtool=no \ > depfile='.deps/COSXClipboard.Po' > tmpdepfile='.deps/COSXClipboard.TPo' \ > MACOSX_DEPLOYMENT_TARGET=10.2 depmode=gcc3 /bin/sh > ../../config/depcomp \ > g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/common > -I../../lib/arch -I../../lib/base -I../../lib/mt -I../../lib/io > -I../../lib/synergy -I/sw/include -g -O2 -g -Wall -Wno-unknown-pragmas > -DSYSAPI_UNIX=1 -DWINAPI_CARBON=1 -D_THREAD_SAFE -c -o COSXClipboard.o `test > -f 'COSXClipboard.cpp' || echo './'`COSXClipboard.cpp > In file included from > /System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:41, > from > /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:38, > from > /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:20, > from > /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20, > from > /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21, > from > /System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20, > from COSXClipboard.h:20, > from COSXClipboard.cpp:15: > /usr/include/AvailabilityMacros.h:108:14: warning: #warning Building for > Intel with Mac OS X Deployment Target < 10.4 is invalid. > In file included from > /System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:48, > from > /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:38, > from > /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:20, > from > /System/Library/Frameworks/CoreServices.framework/Frameworks/AE.framework/Headers/AE.h:20, > from > /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21, > from > /System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20, > from COSXClipboard.h:20, > from COSXClipboard.cpp:15: > /System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h:91: > error: conflicting declaration 'typedef unsigned int UInt32' > ../../lib/common/BasicTypes.h:76: error: 'UInt32' has a previous declaration > as 'typedef long unsigned int UInt32' > /System/Library/Frameworks/CoreServices.framework/Headers/../Frameworks/CarbonCore.framework/Headers/MacTypes.h:92: > error: conflicting declaration 'typedef int SInt32' > ../../lib/common/BasicTypes.h:72: error: 'SInt32' has a previous declaration > as 'typedef long int SInt32' > COSXClipboard.cpp: In member function 'virtual bool COSXClipboard::empty()': > COSXClipboard.cpp:44: error: 'ClearScrap' was not declared in this scope > COSXClipboard.cpp:56: error: 'PutScrapFlavor' was not declared in this scope > COSXClipboard.cpp: In member function 'virtual void > COSXClipboard::add(IClipboard::EFormat, const CString&)': > COSXClipboard.cpp:85: error: 'PutScrapFlavor' was not declared in this scope > COSXClipboard.cpp: In member function 'virtual bool > COSXClipboard::open(UInt32) const': > COSXClipboard.cpp:95: error: 'GetCurrentScrap' was not declared in this scope > COSXClipboard.cpp: In member function 'virtual bool > COSXClipboard::has(IClipboard::EFormat) const': > COSXClipboard.cpp:124: error: 'GetScrapFlavorFlags' was not declared in this > scope > COSXClipboard.cpp: In member function 'virtual CString > COSXClipboard::get(IClipboard::EFormat) const': > COSXClipboard.cpp:148: error: 'GetScrapFlavorFlags' was not declared in this > scope > COSXClipboard.cpp:164: error: 'GetScrapFlavorSize' was not declared in this > scope > COSXClipboard.cpp:175: error: 'GetScrapFlavorData' was not declared in this > scope > COSXClipboard.cpp: In static member function 'static bool > COSXClipboard::isOwnedBySynergy()': > COSXClipboard.cpp:209: error: 'GetCurrentScrap' was not declared in this scope > COSXClipboard.cpp:211: error: 'GetScrapFlavorFlags' was not declared in this > scope > make[3]: *** [COSXClipboard.o] Error 1 > make[2]: *** [all-recursive] Error 1 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 > ### execution of make failed, exit code 2 > Removing runtime build-lock... > Removing build-lock package... > /sw/bin/dpkg-lockwait -r fink-buildlock-synergy-1.3.1-1 > (Reading database ... 35504 files and directories currently installed.) > Removing fink-buildlock-synergy-1.3.1-1 ... > Failed: phase compiling: synergy-1.3.1-1 failed > > Before reporting any errors, please run "fink selfupdate" and > try again. If you continue to have issues, please check to see if the > FAQ on fink's website solves the problem. If not, ask on the fink-users > or fink-beginners mailing lists, with a carbon copy to the maintainer: > > Steve Huff <[email protected]> > > Note that this is preferable to emailing the maintainer directly, since > most fink package maintainers do not have access to all possible > hardware and software configurations. > >
What would be helpful is for you to say whether you're using 32-bit or 64-bit Fink, since the package uses Carbon, which doesn't work at all with 64-bit stuff: fink -V | head -n2 | cut -d, -f3 - -- Alexander Hansen Fink User Liaison -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkubvIsACgkQB8UpO3rKjQ87OgCfdDzQeT4kM1lqj8VSNxR6D/QJ T9QAn0XNyVnUdDmfhY3QDogVLRVRXYzF =+sR1 -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
