pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libfetch / libnbcompat fails to build on Linux



Hi!

On a freshly upgraded Fedora Linux system, building libfetch fails within libnbcompat:

cc -DHAVE_NBCOMPAT_H=1 -I/home/bsiegert/pkgsrc/net/libfetch/work/libnbcompat -I. -I.  -O2 -DHAVE_CONFIG_H -c lchflags.c
lchflags.c: In function 'lchflags':
lchflags.c:49:17: error: implicit declaration of function 'chflags'; did you mean 'lchflags'? [-Wimplicit-function-declaration]
   49 |         return (chflags(path, flags));
      |                 ^~~~~~~
      |                 lchflags
*** [lchflags.o] Error code 1

I don't think there is a chflags function on Linux. Any ideas why it is trying to use this unconditionally?

--
Benny


Home | Main Index | Thread Index | Old Index