Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jun 2018 09:23:02 +0900 (JST)
From:      Mori Hiroki <yamori813@yahoo.co.jp>
To:        "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org>
Subject:   build error on libpmc
Message-ID:  <834502.81660.qm@web101703.mail.ssk.yahoo.co.jp>

index | next in thread | raw e-mail

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


home | help

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