Assuming line 46 is this one:
Code:
element = list_entry (ptr, struct roll_struct, list);
you can't put a typename (struct roll_struct) there. You must use the name of a variable. You have the same error on the other two lines.