Mackell is a completely different name from Campbell.
The endings of Latin nouns change depending on what they are doing in a sentence. Maria (= Mary) can appear as Maria, Mariam or Mariae. In the same way Jacobus (= James) can appear as Jacobus, Jacobum, Jacobi or Jacobo.