A biocompatible material from which solid structures such as for example screws or plates can be manufactured, which are used for fixing bone fractures or damage and display an adequate mechanical stability. A mixture of apatite and a magnesium alloy, in the form of chips or powder, is ground in a ball mill until a homogeneous mixture forms. The homogeneous mixture is consolidated in a second step. This can be carried out by extrusion or forging. The desired shape can then be extracted from the obtained solid material by machining.