On Apr 24, 2008, at 7:20 PM, Alexander Hansen wrote:
On Mar 10, 2008, at 5:43 AM, Dominique Dhumieres wrote:On Intel OSX 10.5.2 installing wxmac-2.6.3-1002rc1 failed with: ... ./bk-deps g++ -c -o basedll_filefn.o -I.pch/wxprec_basedll - D__WXMAC__ -DwxUSE_GUI=0 -DWXMAKINGDLL_BASE - DwxUSE_BASE=1 -dynamic -fPIC -DPIC -DWX_PRECOMP -DNO_GCC_PRAGMA - Ilib/wx/include/mac-ansi-release-2.6 -I./include -I/sw/include - D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -fpascal-strings -I./src/mac/ carbon/morefilex -I/Developer/Headers/FlatCarbon -O2 -fno-strict- aliasing -Wall -Wundef -Wno-ctor-dtor-privacy -fno-common ./src/ common/filefn.cpp ./src/mac/carbon/morefilex/MoreFilesX.h:1488: error: declaration of C function 'OSErr FSVolumeMount(const void*, FSVolumeRefNum*)' conflicts with /System/Library/Frameworks/CoreServices.framework/Frameworks/ CarbonCore.framework/Headers/Files.h:7299: error: previous declaration 'OSStatus FSVolumeMount(UInt8*, FSVolumeRefNum*)' here ./src/common/filefn.cpp: In function 'wxString wxMacFSSpec2MacFilename(const FSSpec*)': ./src/common/filefn.cpp:907: warning: 'FSpMakeFSRef' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/ Frameworks/CarbonCore.framework/Headers/Files.h:7477) ./src/common/filefn.cpp:907: warning: 'FSpMakeFSRef' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/ Frameworks/CarbonCore.framework/Headers/Files.h:7477) make: *** [basedll_filefn.o] Error 1 ### execution of make failed, exit code 2 Removing runtime build-lock... Removing build-lock package... /sw/bin/dpkg-lockwait -r fink-buildlock-wxmac-2.6.3-1002rc1 (Reading database ... 344944 files and directories currently installed.) Removing fink-buildlock-wxmac-2.6.3-1002rc1 ... Failed: phase compiling: wxmac-2.6.3-1002rc1 failed TIA DominiqueI can replicate this on PowerPC/10.5.2. I have posted a build log and build directory under http://akhmac.blogdns.net/~hansen/finklogs/wxmac-2.6.3-1003rc1
FSVolumeMount was added to the Carbon File Manager in 10.5. See: http://developer.apple.com/documentation/Carbon/Reference/File_Manager/Reference/reference.html#/ /apple_ref/c/func/FSVolumeMount
Looks like wxmac is using a function with the same name but incompatible types. Maybe rename the internal function to something else?
Daniel
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
