Eloy Duran
eloy.****@gmail*****
Wed Dec 13 23:32:06 JST 2006
> Mmh this is weird, I guess that these warnings come from the execution > of the generated binary to collect CFType encodings (where we > instantiate each CFType in order to get the name of its ObjC bridged > class). > > Do you have the same warnings when generating CoreFoundation.xml? Nope, all the others pass without errors... The warnings were only during the setup phase. Which are: cc -dynamic -bundle -undefined suppress -flat_namespace -F../../framework/build/Default -framework RubyCocoa -undefined suppress -flat_namespace -lxml2 -L../../misc/libffi -L../misc/libffi -lffi -L"/opt/local/lib" -o rubycocoa.bundle rubycocoa.o -lruby -lpthread -ldl -lobjc /usr/bin/ld: warning -L: directory name (../misc/libffi) does not exist /usr/bin/ld: warning multiple definitions of symbol _setregid /opt/local/lib/libruby.dylib(process.o) definition of _setregid /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libpthread.dylib(setregid.So) definition of _setregid /usr/bin/ld: warning multiple definitions of symbol _setreuid /opt/local/lib/libruby.dylib(process.o) definition of _setreuid /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libpthread.dylib(setreuid.So) definition of _setreuid > Also, could you `grep cftype framework/bridge-support/ > CoreGraphics.xml' and paste me the results? <cftype name='CGColorRef' encoding='^{CGColor=}' gettypeid_func='CGColorGetTypeID'/> <cftype name='CGColorSpaceRef' encoding='^{CGColorSpace=}' gettypeid_func='CGColorSpaceGetTypeID'/> <cftype name='CGContextRef' encoding='^{CGContext=}' gettypeid_func='CGContextGetTypeID'/> <cftype name='CGDataConsumerRef' encoding='^{CGDataConsumer=}' gettypeid_func='CGDataConsumerGetTypeID'/> <cftype name='CGDataProviderRef' encoding='^{CGDataProvider=}' gettypeid_func='CGDataProviderGetTypeID'/> <cftype name='CGEventRef' encoding='^{__CGEvent=}' gettypeid_func='CGEventGetTypeID'/> <cftype name='CGEventSourceRef' encoding='^{__CGEventSource=}' gettypeid_func='CGEventSourceGetTypeID'/> <cftype name='CGFontRef' encoding='^{CGFont=}' gettypeid_func='CGFontGetTypeID'/> <cftype name='CGFunctionRef' encoding='^{CGFunction=}' gettypeid_func='CGFunctionGetTypeID'/> <cftype name='CGImageRef' encoding='^{CGImage=}' gettypeid_func='CGImageGetTypeID'/> <cftype name='CGLayerRef' encoding='^{CGLayer=}' gettypeid_func='CGLayerGetTypeID'/> <cftype name='CGMutablePathRef' encoding='^{CGPath=}' gettypeid_func='CGPathGetTypeID'/> <cftype name='CGPDFDocumentRef' encoding='^{CGPDFDocument=}' gettypeid_func='CGPDFDocumentGetTypeID'/> <cftype name='CGPDFPageRef' encoding='^{CGPDFPage=}' gettypeid_func='CGPDFPageGetTypeID'/> <cftype name='CGPSConverterRef' encoding='^{CGPSConverter=}' gettypeid_func='CGPSConverterGetTypeID'/> <cftype name='CGPathRef' encoding='^{CGPath=}' gettypeid_func='CGPathGetTypeID'/> <cftype name='CGPatternRef' encoding='^{CGPattern=}' gettypeid_func='CGPatternGetTypeID'/> <cftype name='CGShadingRef' encoding='^{CGShading=}' gettypeid_func='CGShadingGetTypeID'/>