FreeBSD device drivers

Now I reading the greatest book “FreeBSD device drivers” by Joseph Kong. The book covers FreeBSD version 8, but now versions 12.1, 12.0 and 11.3 are actual (I use the version 12.1) and some code aren’t compile. For example, the pointless driver (section “Implementing sysctls, Part 1”, chapter 3 on page 41). Because I testing... » read more

pkg-config and OpenMotif

Hi all! I’m now learning how to develop Unix GUI applications using Motif Widget Toolkit. Later I’ll write a series of posts on this theme. But I noticed that in my OS (I use FreeBSD 12.1) don’t exists the pkg-config .pc file for this toolkit. So I wrote it using xt.pc as an example and... » read more