Hi to all!
I'm having problems compiling pkg 1.8.3 in one of the servers. The OS is 9.1-RELEASE FreeBSD 9.1-RELEASE, I know is old, we are planning to upgrade really soon. As usual I've updated the ports tree and the from within a jail I try to make the pkg port.
The error I have is:
I've tried on another jail and the problem is the same.
Any help would be appreciated (and sorry for my English
).
I'm having problems compiling pkg 1.8.3 in one of the servers. The OS is 9.1-RELEASE FreeBSD 9.1-RELEASE, I know is old, we are planning to upgrade really soon. As usual I've updated the ports tree and the from within a jail I try to make the pkg port.
The error I have is:
Code:
CC libpkg_la-pkg_cudf.lo
pkg_add.c: In function 'set_attrs':
pkg_add.c:214: warning: passing argument 1 of 'getcwd' from incompatible pointer type
pkg_add.c:237: warning: passing argument 1 of 'chdir' from incompatible pointer type
CC libpkg_static_la-pkg_cudf.lo
CC libpkg_la-pkg_create.lo
pkg_add.c: In function 'set_attrs':
pkg_add.c:214: warning: passing argument 1 of 'getcwd' from incompatible pointer type
pkg_add.c:237: warning: passing argument 1 of 'chdir' from incompatible pointer type
CC libpkg_static_la-pkg_create.lo
pkg.c: In function 'pkg_open_root_fd':
pkg.c:1796: error: 'F_DUPFD_CLOEXEC' undeclared (first use in this function)
pkg.c:1796: error: (Each undeclared identifier is reported only once
pkg.c:1796: error: for each function it appears in.)
pkg.c: In function 'pkg_open_root_fd':
pkg.c:1796: error: 'F_DUPFD_CLOEXEC' undeclared (first use in this function)
pkg.c:1796: error: (Each undeclared identifier is reported only once
pkg.c:1796: error: for each function it appears in.)
*** [libpkg_la-pkg.lo] Error code 1
*** [libpkg_static_la-pkg.lo] Error code 1
2 errors
*** [all-recursive] Error code 1
1 error
*** [all-recursive] Error code 1
1 error
*** [all] Error code 2
1 error
I've tried on another jail and the problem is the same.
Any help would be appreciated (and sorry for my English
