GAH. GCC error. Halpz!

Discussion in 'iOS Programming' started by toloratedmeat, Feb 17, 2010.

  1. toloratedmeat macrumors member

    Joined:
    Apr 29, 2008
    #1
    Hello I got the GCC Exit Code 1 error.

    Code:
    ld: duplicate symbol .objc_class_name_NextViewController in /Users/bartonip/Downloads/SimpleTable/build/Server Control Panel.build/Debug-iphonesimulator/Server Control Panel.build/Objects-normal/i386/NextViewController.o and /Users/bartonip/Downloads/SimpleTable/build/Server Control Panel.build/Debug-iphonesimulator/Server Control Panel.build/Objects-normal/i386/SimpleTableViewController.o
    collect2: ld returned 1 exit status
    Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1
    Thanks!
     
  2. jnic macrumors 6502a

    Joined:
    Oct 24, 2008
    Location:
    Cambridge
    #2
    You have two conflicting classes named NextViewController. You need to rename one of them so as not to confuse the linker.
     

Share This Page