views:

101

answers:

1

I basically followed apple "TheElements" sample and changed "PeriodicElements" .h & .m to my own "SortedItems" .h & .m

During compile I get this error:

"Undefined symbols:
"_OBJC_CLASS_$_SortedItems", referenced from: __objc_classrefs__DATA@0 in SortedByNameTableDataSource.o ld: symbol(s) not found collect2: ld returned 1 exit status "

How do i figure this out? hehe

A: 

That's a linker error. Most likely you forgot to add SortedItems.m to your project so it's not compiling and linking the implementation of SortedItems.

The other possibility is that you misspelled SortedItems in your @implementation statement.

JeremyP
well after a bunch of goofing around and restarting my computer i seem to have eliminated that error but now i get this one...arm-apple-darwin10-gcc-4.2.1: conflicting code gen style switches are usedCommand /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1any ideas on that one?
mrburns05