[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
enable-minimal-config compilation problem
From: |
Bratislav ILIC |
Subject: |
enable-minimal-config compilation problem |
Date: |
Thu, 29 Dec 2005 11:13:05 +0100 |
Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/\
usr/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I.
-I./include -I./lib -Wall -O2 -march=i486 -mtune=pentium4
-fomit-frame-pointer
uname output: Linux darkstar 2.4.32 #4 SMP Wed Dec 7 18:33:45 CET 2005
i686 unknown unknown GNU/Linux
Machine Type: i686-pc-linux-gnu
Bash Version: 3.1
Patch Level: 0
Release Status: release
Description:
If compiling with --enable-minimal-config you get errors:
=BO
text===================================================================
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"i686"'
-DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"i686-pc-linux-gnu"'
-DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"'
-DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include
-I./lib -Wall -O2 -march=i486 -mtune=pentium4 -fomit-frame-pointer -c
variables.c
variables.c: In function `initialize_shell_variables':
variables.c:283: warning: suggest parentheses around assignment used as
truth value
variables.c:320: warning: suggest parentheses around assignment used as
truth value
variables.c: In function `sh_set_lines_and_columns':
variables.c:864: error: `winsize_assignment' undeclared (first use in
this function)
variables.c:864: error: (Each undeclared identifier is reported only
once
variables.c:864: error: for each function it appears in.)
variables.c: In function `var_lookup':
variables.c:1514: warning: suggest parentheses around assignment used as
truth value
variables.c: In function `bind_int_variable':
variables.c:2032: warning: unused variable `t'
variables.c: In function `makunbound':
variables.c:2389: warning: suggest parentheses around assignment used as
truth value
variables.c: In function `make_env_array_from_var_list':
variables.c:3072: warning: suggest parentheses around assignment used as
truth value
variables.c: In function `pop_var_context':
variables.c:3484: warning: suggest parentheses around assignment used as
truth value
variables.c: At top level:
variables.c:1061: warning: 'get_self' defined but not used
make: *** [variables.o] Error 1
=EO
text===================================================================
Repeat-By:
./configure --enable-minimal-config
make
Fix:
=BO
diff===================================================================
diff -c variables.c.old variables.c.new
*** variables.c.old 2005-11-13 03:22:37.000000000 +0100
--- variables.c.new 2005-12-29 10:45:44.000000000 +0100
***************
*** 860,868 ****
--- 860,870 ----
{
char val[INT_STRLEN_BOUND(int) + 1], *v;
+ #if defined (READLINE)
/* If we are currently assigning to LINES or COLUMNS, don't do
anything. */
if (winsize_assignment)
return;
+ #endif /* READLINE */
v = inttostr (lines, val, sizeof (val));
bind_variable ("LINES", v, 0);
=EO
diff===================================================================
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- enable-minimal-config compilation problem,
Bratislav ILIC <=