kernel build issue

Jeroen Ruigrok/asmodai asmodai at wxs.nl
Wed Apr 27 14:04:06 PDT 2005


Anyone seeing this as well:

# make
sh ../../conf/newvers.sh PURGATORY 
awk: can't open file ../../conf/newvers.sh/../sys/param.h
 source line number 1
cc -c -O -pipe -g -mtune=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -ansi -g -nostdinc -I. -I../.. -I../../../include -I../../contrib/dev/acpica -I../../contrib/ipfilter  -D_KERNEL -include opt_global.h  -mpreferred-stack-boundary=2 -fno-common -ffreestanding vers.c
vers.c:33: error: syntax error before ';' token
*** Error code 1

newvers.sh:

if [ "X${PARAMFILE}" != "X" ]; then
        RELDATE=$(awk '/__DragonFly_version.*propagated to newvers/ {print $3}' \
                ${PARAMFILE})
else
        RELDATE=$(awk '/__DragonFly_version.*propagated to newvers/ {print $3}' \
                $(dirname $0)/../sys/param.h)
fi

# sh -x ../../conf/newvers.sh PURGATORY
[snip]
+ dirname ../../conf/newvers.sh
+ awk /__DragonFly_version.*propagated to newvers/ {print $3} ../../conf/newvers.sh/../sys/param.h
awk: can't open file ../../conf/newvers.sh/../sys/param.h
 source line number 1


-- 
Jeroen Ruigrok van der Werven <asmodai(at)wxs.nl> / asmodai / kita no mono
Free Tibet! http://www.savetibet.org/ | http://ashemedai.deviantart.com/
http://www.tendra.org/   | http://www.in-nomine.org/
Keep your face to the sun and you will never see the shadows...





More information about the Bugs mailing list