Unfortunately, Machoke doesn't evolve by leveling up. You have to trade it to evolve it into Machamp, and there's no alternative in-game method.
To trade, you and a friend each need a Game Boy Advance and a link cable to connect the two systems. An Action Replay with a cheat could also get you a Machamp directly, but otherwise trading is the way to go. I know it's a hassle, but that's how it works.