Simple linear system in Maxima



Hi,

I am having trouble with solving a simple linear system in Maxima:

E(a,b):=integrate((f(x)-(a*g(x)+b))^2,x,0,1);

e1(a,b):=diff(E(a,b),a,1);

e2(a,b):=diff(E(a,b),b,1);

linsolve([e1(a,b)=0, e2(a,b)=0], [a,b]);

returns []. I also tried algsys (shouldn't be needed, but just in
case..) and the output is the same. Is there any workaround for this?
Thanks,

Best Regards,

Sergio