Hello all,
I had an error warning that you guys helped me resolve (See Xcode Digest Vol. 4: 453/454) about prebinding, and just recently my program has started getting this error:
/usr/bin/g++-4.0 -o "/Users/atg/Desktop/Projects/Xcode Projects/Deployment/Basic_SDLOGL_001.app/Contents/MacOS/Basic_SDLOGL_001" "-L/Users/atg/Desktop/Projects/Xcode Projects/Deployment" "-F/Users/atg/Desktop/Projects/Xcode Projects/Deployment" "-F/Library/Frameworks" -filelist "/Users/atg/Desktop/Projects/Xcode Projects/Basic_SDLOGL_001.build/Deployment/Basic_SDLOGL_001.build/Objects-normal/LinkFileList" "-arch" "ppc" "-Wl,-no_arch_warnings" "-framework" "SDL" "-framework" "GLUT" "-framework" "Foundation" "-framework" "AppKit" "-framework" "OpenGL" "-framework" "Cocoa" /usr/bin/ld: Undefined symbols: _curr_piece _arr_tetris_screen _next_piece collect2: ld returned 1 exit status
So then I went and looked up what the Xcode help had to say about the subject:
When a program is built, the static linker replaces references to external symbols with the addresses of the symbols in the referenced libraries (this is called prebinding), or tells the dynamic linker to resolve the references when a program is loaded or when a symbol is referenced. Having the dynamic linker resolve references to external symbols at runtime provides the most flexibility, because a program can link with new versions of the symbols as they become available.
What I got out of that is that I need to turn on prebinding... but you guys said that I don't need it since I'm 10.4.x! So what do I do here?
All help is appreciated and thanks in advance.
~ < [ / Adam-o \ ] > ~
Mac OS 10.4.10 Powerbook G4
|