expected unqualified-id before '.' token
You declare an object of type DHT and name dht. Then you try to call a method of DHT.read11().

Instead, you should be using the object name, dht.read11(), or as @Gerben points out, change the way you declare the object:  DHT dht;.