Though that was a fairly sophisticated approach...
The Okiek (a forest living hunter gatherer community on the Mau escarpment and around Mt Elgon) had a system not unlike the log traps used by the Ewoks at the end of Return of the Jedi to smash the armoured walkers.
The forest elephants used predictable trails through the dense forest. The hunters reinforced these desire lines by adding branches and felled logs to keep the elephants predictably on the trail. They then felled large trees, and hoisted the logs up above the trail, held in place with a trip wire mechanism. Elephant tipped the mechanism, log fell and (ideally) broke its back.
They had no way to extract the carcass, or store the meat, so the whole community descended on the kill site and ate and partied for days.