› Foros › PC › Software libre
canonicalize.c:68: error: `EINVAL' undeclared (first use in this function)
canonicalize.c:75: error: `ENOENT' undeclared (first use in this function)
canonicalize.c:133: error: `ENAMETOOLONG' undeclared (first use in this function)
make: *** [libsandbox.o] Error 1
!!! ERROR: sys-apps/portage-2.0.50-r6 failed.
!!! Function src_compile, Line 43, Exitcode 2
!!! (no error message)
# emerge portage
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/portage-2.0.50-r6 to /
>>> md5 src_uri ;-) portage-2.0.50-r6.tar.bz2
>>> Unpacking source...
>>> Unpacking portage-2.0.50-r6.tar.bz2 to /var/tmp/portage/portage-2.0.50-r6/work
>>> Source unpacked.
In file included from /usr/include/errno.h:36,
from tbz2tool.c:7:
/usr/include/bits/errno.h:25:26: linux/errno.h: No such file or directory
./create-localdecls
Checking truncate argument type... off_t
Checking libc version... libc.so.6
Checking glibc subversion... 2.3
gcc -march=i386 -O1 -pipe -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT -Wall -c libsandbox.c
In file included from /usr/include/bits/posix1_lim.h:130,
from /usr/include/dirent.h:221,
from libsandbox.c:52:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: No such file or directory
In file included from /usr/include/errno.h:36,
from libsandbox.c:54:
/usr/include/bits/errno.h:25:26: linux/errno.h: No such file or directory
In file included from libsandbox.c:63:
/usr/include/sys/param.h:23:26: linux/limits.h: No such file or directory
/usr/include/sys/param.h:24:25: linux/param.h: No such file or directory
In file included from libsandbox.c:78:
localdecls.h:21:3: #error PATH_MAX not defined!
libsandbox.c: In function `canonicalize':
libsandbox.c:288: error: `EINVAL' undeclared (first use in this function)
libsandbox.c:288: error: (Each undeclared identifier is reported only once
libsandbox.c:288: error: for each function it appears in.)
libsandbox.c:305: error: `ENAMETOOLONG' undeclared (first use in this function)
libsandbox.c:308: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:318: error: `ENOENT' undeclared (first use in this function)
libsandbox.c: In function `chmod':
libsandbox.c:366: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:366: warning: unused variable `canonic'
libsandbox.c: In function `chown':
libsandbox.c:383: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:383: warning: unused variable `canonic'
libsandbox.c: In function `creat':
libsandbox.c:401: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:401: warning: unused variable `canonic'
libsandbox.c: In function `fopen':
libsandbox.c:418: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:418: warning: unused variable `canonic'
libsandbox.c: In function `lchown':
libsandbox.c:436: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:436: warning: unused variable `canonic'
libsandbox.c: In function `link':
libsandbox.c:453: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:453: warning: unused variable `old_canonic'
libsandbox.c:453: warning: unused variable `new_canonic'
libsandbox.c: In function `mkdir':
libsandbox.c:472: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:479: error: `EEXIST' undeclared (first use in this function)
libsandbox.c:472: warning: unused variable `canonic'
libsandbox.c: In function `opendir':
libsandbox.c:497: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:497: warning: unused variable `canonic'
libsandbox.c: In function `open':
libsandbox.c:538: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:538: warning: unused variable `canonic'
libsandbox.c: In function `rename':
libsandbox.c:564: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:564: warning: unused variable `old_canonic'
libsandbox.c:564: warning: unused variable `new_canonic'
libsandbox.c: In function `rmdir':
libsandbox.c:582: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:582: warning: unused variable `canonic'
libsandbox.c: In function `symlink':
libsandbox.c:599: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:599: warning: unused variable `old_canonic'
libsandbox.c:599: warning: unused variable `new_canonic'
libsandbox.c: In function `truncate':
libsandbox.c:617: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:617: warning: unused variable `canonic'
libsandbox.c: In function `unlink':
libsandbox.c:634: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:634: warning: unused variable `canonic'
libsandbox.c: In function `creat64':
libsandbox.c:654: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:654: warning: unused variable `canonic'
libsandbox.c: In function `fopen64':
libsandbox.c:671: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:671: warning: unused variable `canonic'
libsandbox.c: In function `open64':
libsandbox.c:691: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:691: warning: unused variable `canonic'
libsandbox.c: In function `truncate64':
libsandbox.c:714: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:714: warning: unused variable `canonic'
libsandbox.c: In function `execve':
libsandbox.c:740: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c:764: error: `ENOMEM' undeclared (first use in this function)
libsandbox.c:740: warning: unused variable `canonic'
libsandbox.c: In function `filter_path':
libsandbox.c:992: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c: In function `check_syscall':
libsandbox.c:1182: error: `SB_PATH_MAX' undeclared (first use in this function)
libsandbox.c: In function `before_syscall':
libsandbox.c:1309: error: `ENOENT' undeclared (first use in this function)
libsandbox.c:1336: error: `EACCES' undeclared (first use in this function)
In file included from libsandbox.c:1363:
getcwd.c: In function `__egetcwd':
getcwd.c:296: error: `EINVAL' undeclared (first use in this function)
getcwd.c:300: error: `SB_PATH_MAX' undeclared (first use in this function)
getcwd.c:415: error: `ENOENT' undeclared (first use in this function)
getcwd.c:424: error: `ERANGE' undeclared (first use in this function)
getcwd.c:434: error: `ENOMEM' undeclared (first use in this function)
In file included from libsandbox.c:1363:
getcwd.c: In function `egetcwd':
getcwd.c:501: error: `ENOENT' undeclared (first use in this function)
In file included from libsandbox.c:1364:
canonicalize.c: In function `erealpath':
canonicalize.c:68: error: `EINVAL' undeclared (first use in this function)
canonicalize.c:75: error: `ENOENT' undeclared (first use in this function)
canonicalize.c:133: error: `ENAMETOOLONG' undeclared (first use in this function)
make: *** [libsandbox.o] Error 1
!!! ERROR: sys-apps/portage-2.0.50-r6 failed.
!!! Function src_compile, Line 43, Exitcode 2
!!! (no error message)