A diene compound represented by the following general formula ##STR245## wherein m is an integer of 1 to 20 each of r and p is an integer of 2 to 5, and R1 is ##STR246## R2 being ##STR247## R3 being ##STR248## each of R4 and R5 being --CH3 or a halogen atom, each of a and d being an integer of 0 to 10, b being an integer of 0 or 1, with the proviso that d is not 0 when R5 is --CH3.