Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Oct 2015 11:11:53 +0200
From:      Mattia Rossi <mattia.rossi.mailinglists@gmail.com>
To:        Svatopluk Kraus <onwahe@gmail.com>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: Panic running nsd-4.1.5
Message-ID:  <561784D9.90805@gmail.com>
In-Reply-To: <CAFHCsPXB36TLdwGG-gnYm2BMDddCMGuKpuLLydasqr-9WX-J7Q@mail.gmail.com>
References:  <5614D7B8.3040604@gmail.com> <CAFHCsPXB36TLdwGG-gnYm2BMDddCMGuKpuLLydasqr-9WX-J7Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> Can you please try this: https://reviews.freebsd.org/D3617
> Just download raw diff, apply, build new kernel, and run.
>
>
Just came around trying the patch, and it's not compiling.
I tried to find the issue here, as it doesn't make much sense, given 
that cp15_ats1cpr_set has not been changed in the patch:

In file included from /usr/devel/dreamplug/sys/arm/arm/cpuinfo.c:35:
./machine/cpu-v6.h:542:2: error: implicit declaration of function
       'cp15_ats1cpr_set' is invalid in C99
       [-Werror,-Wimplicit-function-declaration]
         cp15_ats1cpr_set(addr);
         ^
./machine/cpu-v6.h:542:2: note: did you mean 'cp15_ats1cpr_check'?
./machine/cpu-v6.h:537:1: note: 'cp15_ats1cpr_check' declared here
cp15_ats1cpr_check(vm_offset_t addr)
^
./machine/cpu-v6.h:544:8: error: implicit declaration of function 
'cp15_par_get'
       is invalid in C99 [-Werror,-Wimplicit-function-declaration]
         par = cp15_par_get();
               ^
./machine/cpu-v6.h:556:2: error: implicit declaration of function
       'cp15_ats1cpw_set' is invalid in C99
       [-Werror,-Wimplicit-function-declaration]
         cp15_ats1cpw_set(addr);
         ^
./machine/cpu-v6.h:556:2: note: did you mean 'cp15_ats1cpr_set'?
./machine/cpu-v6.h:542:2: note: 'cp15_ats1cpr_set' declared here
         cp15_ats1cpr_set(addr);
         ^
3 errors generated.
*** Error code 1

Stop.
make[2]: stopped in /usr/obj/arm.arm/usr/devel/dreamplug/sys/DREAMPLUG-1001
*** Error code 1

Stop.
make[1]: stopped in /usr/devel/dreamplug
*** Error code 1

Stop.
make: stopped in /usr/devel/dreamplug




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?561784D9.90805>