Given:
unsigned long rd_key[4 *(AES_MAXNR + 1)]
with AES_MAXNR equal to 14 and assuming unsigned long is 32 bits, that's 32 * 4 * (14 + 1) = 1920 bits.
But the fact is that you're looking for a 256 bit key from your string which is what I showed you how to do. You haven't specified how you'd like to stuff those bytes into the rd_key array.