tech-pkg archive

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

Re: paths.h and Opensolaris?



Hubert Feyrer wrote:

On Mon, 24 Nov 2008, Carl Brewer wrote:
daemon.c:42:19: paths.h: No such file or directory
daemon.c: In function `daemon':
daemon.c:66: error: `_PATH_DEVNULL' undeclared (first use in this function)
daemon.c:66: error: (Each undeclared identifier is reported only once

At least the Solaris 10 that I have here[1] neither has paths.h nor _PATH_DEVNULL defined. As such, the software assuming such existance should be fixed.

Sure, but paths.h is defined in pkgsrc a bit :

find /usr -name paths.h
/usr/pkg/include/nbcompat/paths.h
/usr/pkgsrc/pkgtools/pkg_install/work/libnbcompat/nbcompat/paths.h
/usr/pkgsrc/pkgtools/libnbcompat/files/nbcompat/paths.h
/usr/pkgsrc/pkgtools/libnbcompat/work/libnbcompat-20081029/nbcompat/paths.h
/usr/pkgsrc/bootstrap/work/wrk/devel/bmake/work/libnbcompat/nbcompat/paths.h
/usr/pkgsrc/bootstrap/work/wrk/textproc/nbsed/work/libnbcompat/nbcompat/paths.h
/usr/pkgsrc/bootstrap/work/wrk/archivers/pax/work/libnbcompat/nbcompat/paths.h
/usr/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libnbcompat/nbcompat/paths.h
/usr/pkgsrc/bootstrap/work/libnbcompat/nbcompat/paths.h


So I presume it's there for a reason!

uname -a
SunOS wattage 5.11 snv_101a i86pc i386 i86pc








Home | Main Index | Thread Index | Old Index