HI David, have you tried to configure and buld SIP without the -n flag, like:
python configure.py --arch=i386 -s MacOSX10.6.sdk make I've compiled both packages with the latest Xcode 3.2.3 under Snow Leopard 10.6.4. What about your system ? On 25 June 2010 14:20, David Quinn <[email protected]> wrote: > Thanks for the instructions Daniele. > > I am still getting the same error message which I included. Does it > matter where these files are stored in my computer? I made a folder in > my user documents and have SIP and PyQT stored there. > > > david$ make > c++ -headerpad_max_install_names -arch i386 > -Wl,-syslibroot,/Developer/SDKs/MacOSX10.6.sdk -o sip main.o > transform.o gencode.o export.o heap.o parser.o lexer.o > ld: warning: in gencode.o, file is not of required architecture > ld: warning: in export.o, file is not of required architecture > ld: warning: in heap.o, file is not of required architecture > ld: warning: in parser.o, file is not of required architecture > ld: warning: in lexer.o, file is not of required architecture > Undefined symbols: > "_parse", referenced from: > _main in main.o > "_isIntReturnSlot", referenced from: > _transformScopeOverloads in transform.o > "_sipStrdup", referenced from: > _main in main.o > _getBaseType in transform.o > "_appendTypeStrings", referenced from: > _getBaseType in transform.o > "_allocMappedType", referenced from: > _getBaseType in transform.o > "_prOverloadName", referenced from: > _transform in transform.o > _transform in transform.o > _transform in transform.o > "_freeScopedName", referenced from: > _getBaseType in transform.o > _getBaseType in transform.o > _getBaseType in transform.o > _getBaseType in transform.o > "_scopedNameTail", referenced from: > _transform in transform.o > "_copyScopedName", referenced from: > _scopeDefaultValue in transform.o > _getBaseType in transform.o > _getBaseType in transform.o > "_isVoidReturnSlot", referenced from: > _transformScopeOverloads in transform.o > "_isRichCompareSlot", referenced from: > _transform in transform.o > _transform in transform.o > _transform in transform.o > "_generateXML", referenced from: > _main in main.o > "_sipMalloc", referenced from: > _appendString in main.o > _main in main.o > _main in main.o > _main in main.o > _appendToMRO in transform.o > _scopeDefaultValue in transform.o > _setAllImports in transform.o > _setAllImports in transform.o > _addComplementarySlot in transform.o > _addComplementarySlot in transform.o > _getBaseType in transform.o > _getBaseType in transform.o > _transform in transform.o > _transform in transform.o > _transform in transform.o > _transform in transform.o > _transform in transform.o > _transform in transform.o > _transform in transform.o > _transform in transform.o > _transform in transform.o > _transform in transform.o > _transform in transform.o > "_isLongReturnSlot", referenced from: > _transformScopeOverloads in transform.o > "_cacheName", referenced from: > _addComplementarySlot in transform.o > "_generateAPI", referenced from: > _main in main.o > "_sipCalloc", referenced from: > _transform in transform.o > "_appendScopedName", referenced from: > _scopeDefaultValue in transform.o > _getBaseType in transform.o > "_pluginPyQt3", referenced from: > _transform in transform.o > "_encodedTemplateName", referenced from: > _getBaseType in transform.o > "_appendToClassList", referenced from: > _setHierarchy in transform.o > "_sameTemplateSignature", referenced from: > _getBaseType in transform.o > "_addToUsedList", referenced from: > _ifaceFileIsUsed in transform.o > _ifaceFileIsUsed in transform.o > _ifaceFilesAreUsedByOverload in transform.o > _setHierarchy in transform.o > _transform in transform.o > "_generateCode", referenced from: > _main in main.o > "_findIfaceFile", referenced from: > _getBaseType in transform.o > "_templateCode", referenced from: > _getBaseType in transform.o > _getBaseType in transform.o > _getBaseType in transform.o > "_appendCodeBlock", referenced from: > _getBaseType in transform.o > ld: symbol(s) not found > collect2: ld returned 1 exit status > make[1]: *** [sip] Error 1 > make: *** [all] Error 2 > > > > On Fri, Jun 25, 2010 at 5:41 AM, Daniele Esposti <[email protected]> wrote: >> I wrote some instructions to compile SIP and PyQt4 under Mac OS X Snow >> Leopard, here the link >> http://www.expobrain.net/2010/06/22/install-pyqt4-in-snow-leopard . >> >> I hope these are good for you >> >> On 25 June 2010 02:39, David Quinn <[email protected]> wrote: >>> Hello, >>> >>> I'm having difficulty compiling SIP-4.10.2 on Snow Leopard. I get the >>> following message: >>> >>> ld: warning: in gencode.o, file is not of required architecture >>> ld: warning: in export.o, file is not of required architecture >>> ld: warning: in heap.o, file is not of required architecture >>> ld: warning: in parser.o, file is not of required architecture >>> ld: warning: in lexer.o, file is not of required architecture >>> ..... >>> ld: symbol(s) not found >>> collect2: ld returned 1 exit status >>> make[1]: *** [sip] Error 1 >>> make: *** [all] Error 2 >>> >>> Is there an easier way that compiling the files to install it? I've >>> tried most of the different options that I found via google, without >>> success. I'm also not very sure what I'm doing aside from following >>> instructions. >>> >>> Thanks, >>> David >>> _______________________________________________ >>> PyQt mailing list [email protected] >>> http://www.riverbankcomputing.com/mailman/listinfo/pyqt >>> >> >> >> >> -- >> Daniele Esposti >> _______________________________________________ >> PyQt mailing list [email protected] >> http://www.riverbankcomputing.com/mailman/listinfo/pyqt >> > -- Daniele Esposti _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
