AnsweredAssumed Answered

Why doesn't nfs-utils build in LTIB?

Question asked by Brad Stewart Employee on Jun 25, 2013
Latest reply on Aug 30, 2013 by Wigros Sun

I am unable to build the nfs-utils when I select this option in the package list.

This is for the iMX6Q SDB, SDK L3.0.35_4.0.0.

I have enabled both NFS client and server in the kernel.

Below is the error.

Any suggestions?




/home/brad/freescale/imx6/ltib/rpm/BUILD/nfs-utils-1.1.0/utils/exportfs/exportfs.c:397: undefined reference to `S_ISDIR'

/home/brad/freescale/imx6/ltib/rpm/BUILD/nfs-utils-1.1.0/utils/exportfs/exportfs.c:397: undefined reference to `S_ISREG'

collect2: ld returned 1 exit status

make[2]: *** [exportfs] Error 1

make[2]: Leaving directory `/home/brad/freescale/imx6/ltib/rpm/BUILD/nfs-utils-1.1.0/utils/exportfs'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/home/brad/freescale/imx6/ltib/rpm/BUILD/nfs-utils-1.1.0/utils'

make: *** [all-recursive] Error 1

error: Bad exit status from /home/brad/freescale/imx6/ltib/tmp/rpm-tmp.11482 (%build)