build error on libpmc
Mori Hiroki
yamori813 at yahoo.co.jp
Tue Jun 12 00:26:23 UTC 2018
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
More information about the freebsd-mips
mailing list