Skip to contentSkip to conversation

configure script bug..

PATCH john cooper 2 participants 4 messages May 30, 2009 – Jun 1, 2009 KVM

lore
Share & tools
lore
#0 lore raw

Hit this yesterday when configure hung attempting
to pull the version from a kernel's ".config".

configure +1 -1
index 493c178..1fd133c 100755
@@ -126,7 +126,7 @@ if [ -n "$no_uname" ]; then
     elif [ -e "$kerneldir/include/config/kernel.release" ]; then
             depmod_version=`cat "$kerneldir/include/config/kernel.release"`
     elif [ -e "$kerneldir/.config" ]; then
-	depmod_version=$(awk '/Linux kernel version:/ { print $NF }'
+	depmod_version=$(awk '/Linux kernel version:/ { print $NF }' \
 			 "$kerneldir/.config")
     else
         echo
Signature · 1 line
[email protected]
#1 lore raw
Quoted 4 lines · john cooper

Hit this yesterday when configure hung attempting
to pull the version from a kernel's ".config".

Looks right, but missing a signoff.

Signature · 1 line
error compiling committee.c: too many arguments to function
#2 lore raw
Quoted 7 lines · Avi Kivity
Quoted 4 lines · john cooper

Hit this yesterday when configure hung attempting
to pull the version from a kernel's ".config".

Looks right, but missing a signoff.

configure +1 -1
index 493c178..1fd133c 100755
@@ -126,7 +126,7 @@ if [ -n "$no_uname" ]; then
     elif [ -e "$kerneldir/include/config/kernel.release" ]; then
             depmod_version=`cat "$kerneldir/include/config/kernel.release"`
     elif [ -e "$kerneldir/.config" ]; then
-	depmod_version=$(awk '/Linux kernel version:/ { print $NF }'
+	depmod_version=$(awk '/Linux kernel version:/ { print $NF }' \
 			 "$kerneldir/.config")
     else
         echo
Signature · 1 line
[email protected]
#3 lore raw
Quoted 21 lines · john cooper
Quoted 9 lines · Avi Kivity
Quoted 5 lines · john cooper

Hit this yesterday when configure hung attempting
to pull the version from a kernel's ".config".

Looks right, but missing a signoff.

configure +0 -0
index 493c178..1fd133c 100755

configure if [ -n "$no_uname" ]; then · line 132

Quoted 8 lines
configure +1 -1
@@ -126,7 +126,7 @@ if [ -n "$no_uname" ]; then
     elif [ -e "$kerneldir/include/config/kernel.release" ]; then
             depmod_version=`cat "$kerneldir/include/config/kernel.release"`
     elif [ -e "$kerneldir/.config" ]; then
-	depmod_version=$(awk '/Linux kernel version:/ { print $NF }'
+	depmod_version=$(awk '/Linux kernel version:/ { print $NF }' \
 			 "$kerneldir/.config")
     else
         echo

What repo and branch are you looking at exactly? my ./configure has this backslash.

Signature · 1 line
error compiling committee.c: too many arguments to function