Age has nothing to do with getting along with people.
You can have plenty of things in common that dont involve age. Sports,VIDEO GAMES,music,tv shows.
Sounds like to me you dont want to try and be friends with them because they are not the same age as you. Just because someones 40 doesnt mean they only listen to opera and watch the news as is someone who is 15 doesnt mean they just care about dolls and linken logs.