http://www.keil.com/forum/61693/
This is still a current issue after a ~year? Are you a teacher?
Duplicate symbol? Means you've defined the SAME THING TWICE, decide which one is valid and which one is extraneous.
Show the actual example, illustrate why both system_lpc17xx and p1code need to have SystemInit() in them, or why both files are needed.