1 |
I'm getting repeated "calling 2" messages in the bash shell that came with |
2 |
http://distfiles.gentoo.org/experimental/prefix/x86-interix/current/ |
3 |
|
4 |
It's causing such problems as: |
5 |
|
6 |
i586-pc-interix6.0-gcc -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include |
7 |
-I../lib -I. -DNO_MAIN_ENV_ARG -DBROKEN_DIRENT_D_INO -D_POSIX_SOURCE |
8 |
-D_ALL_SOURCE -D_REENTRANT |
9 |
-DDEFAULT_PATH_VALUE='"/opt/gentoo/usr/sbin:/opt/gentoo/usr/bin:/opt/gentoo/sbin:/opt/gentoo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"' |
10 |
-DSTANDARD_UTILS_PATH='"/opt/gentoo/bin:/opt/gentoo/usr/bin:/opt/gentoo/sbin:/opt/gentoo/usr/sbin:/bin:/usr/bin:/sbin:/usr/sbin"' |
11 |
-DSYS_BASHRC='"/opt/gentoo/etc/bash/bashrc"' |
12 |
-DSYS_BASH_LOGOUT='"/opt/gentoo/etc/bash/bash_logout"' |
13 |
-DNON_INTERACTIVE_LOGIN_SHELLS -DSSH_SOURCE_BASHRC -D_ALL_SOURCE |
14 |
-D_REENTRANT -o psize.aux ./psize.c |
15 |
calling 2 |
16 |
calling 2 |
17 |
calling 2 |
18 |
calling 2 |
19 |
calling 2 |
20 |
calling 2 |
21 |
calling 2 |
22 |
calling 2 |
23 |
calling 2 |
24 |
/opt/gentoo/bin/bash ./psize.sh > pipesize.h |
25 |
calling 2 |
26 |
calling 2 |
27 |
calling 2 |
28 |
calling 2 |
29 |
calling 2 |
30 |
rm -f ulimit.o |
31 |
calling 2 |
32 |
calling 2 |
33 |
./mkbuiltins -D . ulimit.def |
34 |
calling 2 |
35 |
calling 2 |
36 |
i586-pc-interix6.0-gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. |
37 |
-I../include -I../lib -I. -DNO_MAIN_ENV_ARG -DBROKEN_DIRENT_D_INO |
38 |
-D_POSIX_SOURCE -D_ALL_SOURCE -D_REENTRANT |
39 |
-DDEFAULT_PATH_VALUE='"/opt/gentoo/usr/sbin:/opt/gentoo/usr/bin:/opt/gentoo/sbin:/opt/gentoo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"' |
40 |
-DSTANDARD_UTILS_PATH='"/opt/gentoo/bin:/opt/gentoo/usr/bin:/opt/gentoo/sbin:/opt/gentoo/usr/sbin:/bin:/usr/bin:/sbin:/usr/sbin"' |
41 |
-DSYS_BASHRC='"/opt/gentoo/etc/bash/bashrc"' |
42 |
-DSYS_BASH_LOGOUT='"/opt/gentoo/etc/bash/bash_logout"' |
43 |
-DNON_INTERACTIVE_LOGIN_SHELLS -DSSH_SOURCE_BASHRC -D_ALL_SOURCE |
44 |
-D_REENTRANT ulimit.c || ( rm -f ulimit.c ; exit 1 ) |
45 |
calling 2 |
46 |
calling 2 |
47 |
calling 2 |
48 |
calling 2 |
49 |
In file included from ./ulimit.def:89: |
50 |
pipesize.h:9: error: expected identifier or '(' before numeric constant |
51 |
./ulimit.def: In function 'ulimit_internal': |
52 |
./ulimit.def:448: error: 'posixly_correct' undeclared (first use in this |
53 |
function) |
54 |
./ulimit.def:448: error: (Each undeclared identifier is reported only once |
55 |
./ulimit.def:448: error: for each function it appears in.) |
56 |
./ulimit.def:453: warning: passing argument 2 of 'sh_erange' discards |
57 |
qualifiers from pointer target type |
58 |
./ulimit.def: In function 'printone': |
59 |
./ulimit.def:712: error: 'posixly_correct' undeclared (first use in this |
60 |
function) |
61 |
calling 2 |
62 |
|
63 |
And upon inspection of pipesize.h: |
64 |
|
65 |
/* |
66 |
* pipesize.h |
67 |
* |
68 |
* This file is automatically generated by psize.sh |
69 |
* Do not edit! |
70 |
*/ |
71 |
|
72 |
#define PIPESIZE calling 2 |
73 |
5120 |
74 |
|
75 |
Oops. |
76 |
-- |
77 |
View this message in context: http://old.nabble.com/Odd-behaviour-in-bash-under-Interix-6.1-tp27796376p27796376.html |
78 |
Sent from the gentoo-alt mailing list archive at Nabble.com. |