build error on libpmc

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

build error on libpmc

Mori Hiroki
Hi

I build today's current for atheros by gcc. I have build error.

cc -isystem /storage/home/hiroki/obj/storage/home/hiroki/zrouter/tmp/storage/hom
e/hiroki/freebsd/mips.mips/tmp/usr/include -L/storage/home/hiroki/obj/storage/ho
me/hiroki/zrouter/tmp/storage/home/hiroki/freebsd/mips.mips/tmp/usr/lib -B/stora
ge/home/hiroki/obj/storage/home/hiroki/zrouter/tmp/storage/home/hiroki/freebsd/m
ips.mips/tmp/usr/lib --sysroot=/storage/home/hiroki/obj/storage/home/hiroki/zrou
ter/tmp/storage/home/hiroki/freebsd/mips.mips/tmp -B/storage/home/hiroki/obj/sto
rage/home/hiroki/zrouter/tmp/storage/home/hiroki/freebsd/mips.mips/tmp/usr/bin  
-O -pipe -I/storage/home/hiroki/freebsd/lib/libpmc -G0 -EB -mabi=32 -msoft-float
   -DNDEBUG -g -MD  -MF.depend.libpmc_pmu_util.o -MTlibpmc_pmu_util.o -std=gnu99
 -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-protot
ypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-stri
ngs -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline
 -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wn
o-shadow    -c /storage/home/hiroki/freebsd/lib/libpmc/libpmc_pmu_util.c -o libp
mc_pmu_util.o
/storage/home/hiroki/freebsd/lib/libpmc/libpmc_pmu_util.c: In function 'pmc_pmu_
sample_rate_get':
/storage/home/hiroki/freebsd/lib/libpmc/libpmc_pmu_util.c:435: error: 'DEFAULT_S
AMPLE_COUNT' undeclared (first use in this function)
/storage/home/hiroki/freebsd/lib/libpmc/libpmc_pmu_util.c:435: error: (Each unde
clared identifier is reported only once
/storage/home/hiroki/freebsd/lib/libpmc/libpmc_pmu_util.c:435: error: for each f
unction it appears in.)
*** Error code 1
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-mips
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Solved] Re: build error on libpmc

Mori Hiroki
Hi

May be This is my missing operation.

Sorry.

Hiroki Mori


----- Original Message -----

> From: Mori Hiroki <[hidden email]>
> To: "[hidden email]" <[hidden email]>
> Cc:
> Date: 2018/6/12, Tue 09:23
> Subject: build error on libpmc
>
> Hi
>
> I build today's current for atheros by gcc. I have build error.
>
> cc -isystem /storage/home/hiroki/obj/storage/home/hiroki/zrouter/tmp/storage/hom
> e/hiroki/freebsd/mips.mips/tmp/usr/include -L/storage/home/hiroki/obj/storage/ho
> me/hiroki/zrouter/tmp/storage/home/hiroki/freebsd/mips.mips/tmp/usr/lib -B/stora
> ge/home/hiroki/obj/storage/home/hiroki/zrouter/tmp/storage/home/hiroki/freebsd/m
> ips.mips/tmp/usr/lib --sysroot=/storage/home/hiroki/obj/storage/home/hiroki/zrou
> ter/tmp/storage/home/hiroki/freebsd/mips.mips/tmp -B/storage/home/hiroki/obj/sto
> rage/home/hiroki/zrouter/tmp/storage/home/hiroki/freebsd/mips.mips/tmp/usr/bin  
> -O -pipe -I/storage/home/hiroki/freebsd/lib/libpmc -G0 -EB -mabi=32 -msoft-float
>    -DNDEBUG -g -MD  -MF.depend.libpmc_pmu_util.o -MTlibpmc_pmu_util.o -std=gnu99
>  -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-protot
> ypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-stri
> ngs -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline
>  -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wn
> o-shadow    -c /storage/home/hiroki/freebsd/lib/libpmc/libpmc_pmu_util.c -o libp
> mc_pmu_util.o
> /storage/home/hiroki/freebsd/lib/libpmc/libpmc_pmu_util.c: In function
> 'pmc_pmu_
> sample_rate_get':
> /storage/home/hiroki/freebsd/lib/libpmc/libpmc_pmu_util.c:435: error:
> 'DEFAULT_S
> AMPLE_COUNT' undeclared (first use in this function)
> /storage/home/hiroki/freebsd/lib/libpmc/libpmc_pmu_util.c:435: error: (Each unde
> clared identifier is reported only once
> /storage/home/hiroki/freebsd/lib/libpmc/libpmc_pmu_util.c:435: error: for each f
> unction it appears in.)
> *** Error code 1
> _______________________________________________
> [hidden email] mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-mips
> To unsubscribe, send any mail to
> "[hidden email]"
>
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-mips
To unsubscribe, send any mail to "[hidden email]"