The second parameter to getline is a pointer to a variable of type size_t. So, you have to make it an address:
size_t len = MAX_STRING_LEN;
...
while(!(getline(l, &len, f)))
Also, it is wrong to pass char array (memory is not allocated through malloc or calloc) as the first parameter because getline may call realloc if char buffer length is not enough.