I just solved the issue:, it was obvious
File names are case sensitive in linux. In device.h the file included is ATMega168.h but the actual file is named ATmega168.h
I fixed the typo, as well as another one in _uart_common.h
Do you want me to send you a patch? I can also check in my change on CVS if you want.
I now have link issues (undefined reference to configure_ports), but I'm think I know why.