You can't use another lens in your L900 other than the ones it was tested for - you find the serial numbers on the focus variator.
If you want to use another lens you need to reset the autofocus mechanism by modifying the setup of the cam plates. It can be done, but it's a pain and you need to know where to look for.