DragonFly BSD
DragonFly bugs List (threaded) for 2005-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: kernel build issue


From: walt <wa1ter@xxxxxxxxxxxxx>
Date: Wed, 27 Apr 2005 16:28:33 -0700


On Wed, 27 Apr 2005, Jeroen Ruigrok/asmodai wrote:

> 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

Hm.  Symmetry has its revenge ;o)  I just did a make kernel and had no problems
of any kind.  I notice that /usr/bin/awk is linked to libc.5.so ... which makes
me wonder about the recent libc updates.




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]