nfs-kernel-server build gotcha
Posted: Sun Aug 19, 2018 8:39 am
I kept running into compile issues with nfs-kernel-server and it was obscure enough so that I want to leave a note which someone can pick up with google.
The problem was that I was getting undefined errors in constants. What happened was that I had a broken environment in which gcc was running but cpp wasn't. rpcgen failed but produced a compilable header file that caused issues later in the build.
Also, I'm trying to upgrade nfs-kernel-server to the latest version to pick up ipv6 functionality. I copied in the latest nfs-kernel-server and libtirpc from openwrt, but I'm getting errors at the packaging stage about nfs-kernel-server missing libraries.
The problem was that I was getting undefined errors in constants. What happened was that I had a broken environment in which gcc was running but cpp wasn't. rpcgen failed but produced a compilable header file that caused issues later in the build.
Also, I'm trying to upgrade nfs-kernel-server to the latest version to pick up ipv6 functionality. I copied in the latest nfs-kernel-server and libtirpc from openwrt, but I'm getting errors at the packaging stage about nfs-kernel-server missing libraries.